Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 20 Dec 2008 11:17:21 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/20/t1229797100elcmaev4uul3z9x.htm/, Retrieved Sun, 19 May 2024 09:22:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35430, Retrieved Sun, 19 May 2024 09:22:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact240
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Voedingsmiddelen] [2008-12-20 18:17:21] [8e1dd6a8d7300d49f515697199ea9e73] [Current]
Feedback Forum

Post a new message
Dataseries X:
100,29	0
101,12	0
102,65	0
102,71	0
103,39	0
102,8	0
102,07	0
102,15	0
101,21	0
101,27	0
101,86	0
101,65	0
101,94	0
102,62	0
102,71	0
103,39	0
104,51	0
104,09	0
104,29	0
104,57	0
105,39	0
105,15	0
106,13	0
105,46	0
106,47	0
106,62	0
106,52	0
108,04	0
107,15	0
107,32	0
107,76	0
107,26	0
107,89	0
109,08	0
110,4	0
111,03	0
112,05	0
112,28	0
112,8	0
114,17	0
114,92	0
114,65	0
115,49	0
114,67	1
114,71	1
115,15	1
115,03	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Voedingsmiddelen[t] = + 106.170232558140 + 8.71976744186046Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Voedingsmiddelen[t] =  +  106.170232558140 +  8.71976744186046Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Voedingsmiddelen[t] =  +  106.170232558140 +  8.71976744186046Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Estimated Regression Equation
Voedingsmiddelen[t] = + 106.170232558140 + 8.71976744186046Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)106.1702325581400.62994168.540200
Dummy8.719767441860462.1593264.03820.0002070.000104

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 106.170232558140 & 0.62994 & 168.5402 & 0 & 0 \tabularnewline
Dummy & 8.71976744186046 & 2.159326 & 4.0382 & 0.000207 & 0.000104 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]106.170232558140[/C][C]0.62994[/C][C]168.5402[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]8.71976744186046[/C][C]2.159326[/C][C]4.0382[/C][C]0.000207[/C][C]0.000104[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)106.1702325581400.62994168.540200
Dummy8.719767441860462.1593264.03820.0002070.000104







Multiple Linear Regression - Regression Statistics
Multiple R0.515741072160679
R-squared0.265988853513447
Adjusted R-squared0.249677494702635
F-TEST (value)16.3069709028246
F-TEST (DF numerator)1
F-TEST (DF denominator)45
p-value0.000207090572747259
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.13079410626097
Sum Squared Residuals767.855697674418

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.515741072160679 \tabularnewline
R-squared & 0.265988853513447 \tabularnewline
Adjusted R-squared & 0.249677494702635 \tabularnewline
F-TEST (value) & 16.3069709028246 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0.000207090572747259 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 4.13079410626097 \tabularnewline
Sum Squared Residuals & 767.855697674418 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.515741072160679[/C][/ROW]
[ROW][C]R-squared[/C][C]0.265988853513447[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.249677494702635[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.3069709028246[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]0.000207090572747259[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]4.13079410626097[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]767.855697674418[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Regression Statistics
Multiple R0.515741072160679
R-squared0.265988853513447
Adjusted R-squared0.249677494702635
F-TEST (value)16.3069709028246
F-TEST (DF numerator)1
F-TEST (DF denominator)45
p-value0.000207090572747259
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation4.13079410626097
Sum Squared Residuals767.855697674418







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1100.29106.170232558139-5.88023255813947
2101.12106.170232558140-5.05023255813953
3102.65106.170232558140-3.52023255813953
4102.71106.170232558140-3.46023255813954
5103.39106.170232558140-2.78023255813954
6102.8106.170232558140-3.37023255813954
7102.07106.170232558140-4.10023255813954
8102.15106.170232558140-4.02023255813953
9101.21106.170232558140-4.96023255813954
10101.27106.170232558140-4.90023255813954
11101.86106.170232558140-4.31023255813954
12101.65106.170232558140-4.52023255813953
13101.94106.170232558140-4.23023255813954
14102.62106.170232558140-3.55023255813953
15102.71106.170232558140-3.46023255813954
16103.39106.170232558140-2.78023255813954
17104.51106.170232558140-1.66023255813953
18104.09106.170232558140-2.08023255813953
19104.29106.170232558140-1.88023255813953
20104.57106.170232558140-1.60023255813954
21105.39106.170232558140-0.780232558139536
22105.15106.170232558140-1.02023255813953
23106.13106.170232558140-0.0402325581395413
24105.46106.170232558140-0.710232558139543
25106.47106.1702325581400.299767441860462
26106.62106.1702325581400.449767441860468
27106.52106.1702325581400.349767441860459
28108.04106.1702325581401.86976744186047
29107.15106.1702325581400.979767441860469
30107.32106.1702325581401.14976744186046
31107.76106.1702325581401.58976744186047
32107.26106.1702325581401.08976744186047
33107.89106.1702325581401.71976744186046
34109.08106.1702325581402.90976744186046
35110.4106.1702325581404.22976744186047
36111.03106.1702325581404.85976744186046
37112.05106.1702325581405.87976744186046
38112.28106.1702325581406.10976744186046
39112.8106.1702325581406.62976744186046
40114.17106.1702325581407.99976744186046
41114.92106.1702325581408.74976744186046
42114.65106.1702325581408.47976744186047
43115.49106.1702325581409.31976744186046
44114.67114.89-0.219999999999998
45114.71114.89-0.180000000000006
46115.15114.890.260000000000006
47115.03114.890.140000000000001

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 100.29 & 106.170232558139 & -5.88023255813947 \tabularnewline
2 & 101.12 & 106.170232558140 & -5.05023255813953 \tabularnewline
3 & 102.65 & 106.170232558140 & -3.52023255813953 \tabularnewline
4 & 102.71 & 106.170232558140 & -3.46023255813954 \tabularnewline
5 & 103.39 & 106.170232558140 & -2.78023255813954 \tabularnewline
6 & 102.8 & 106.170232558140 & -3.37023255813954 \tabularnewline
7 & 102.07 & 106.170232558140 & -4.10023255813954 \tabularnewline
8 & 102.15 & 106.170232558140 & -4.02023255813953 \tabularnewline
9 & 101.21 & 106.170232558140 & -4.96023255813954 \tabularnewline
10 & 101.27 & 106.170232558140 & -4.90023255813954 \tabularnewline
11 & 101.86 & 106.170232558140 & -4.31023255813954 \tabularnewline
12 & 101.65 & 106.170232558140 & -4.52023255813953 \tabularnewline
13 & 101.94 & 106.170232558140 & -4.23023255813954 \tabularnewline
14 & 102.62 & 106.170232558140 & -3.55023255813953 \tabularnewline
15 & 102.71 & 106.170232558140 & -3.46023255813954 \tabularnewline
16 & 103.39 & 106.170232558140 & -2.78023255813954 \tabularnewline
17 & 104.51 & 106.170232558140 & -1.66023255813953 \tabularnewline
18 & 104.09 & 106.170232558140 & -2.08023255813953 \tabularnewline
19 & 104.29 & 106.170232558140 & -1.88023255813953 \tabularnewline
20 & 104.57 & 106.170232558140 & -1.60023255813954 \tabularnewline
21 & 105.39 & 106.170232558140 & -0.780232558139536 \tabularnewline
22 & 105.15 & 106.170232558140 & -1.02023255813953 \tabularnewline
23 & 106.13 & 106.170232558140 & -0.0402325581395413 \tabularnewline
24 & 105.46 & 106.170232558140 & -0.710232558139543 \tabularnewline
25 & 106.47 & 106.170232558140 & 0.299767441860462 \tabularnewline
26 & 106.62 & 106.170232558140 & 0.449767441860468 \tabularnewline
27 & 106.52 & 106.170232558140 & 0.349767441860459 \tabularnewline
28 & 108.04 & 106.170232558140 & 1.86976744186047 \tabularnewline
29 & 107.15 & 106.170232558140 & 0.979767441860469 \tabularnewline
30 & 107.32 & 106.170232558140 & 1.14976744186046 \tabularnewline
31 & 107.76 & 106.170232558140 & 1.58976744186047 \tabularnewline
32 & 107.26 & 106.170232558140 & 1.08976744186047 \tabularnewline
33 & 107.89 & 106.170232558140 & 1.71976744186046 \tabularnewline
34 & 109.08 & 106.170232558140 & 2.90976744186046 \tabularnewline
35 & 110.4 & 106.170232558140 & 4.22976744186047 \tabularnewline
36 & 111.03 & 106.170232558140 & 4.85976744186046 \tabularnewline
37 & 112.05 & 106.170232558140 & 5.87976744186046 \tabularnewline
38 & 112.28 & 106.170232558140 & 6.10976744186046 \tabularnewline
39 & 112.8 & 106.170232558140 & 6.62976744186046 \tabularnewline
40 & 114.17 & 106.170232558140 & 7.99976744186046 \tabularnewline
41 & 114.92 & 106.170232558140 & 8.74976744186046 \tabularnewline
42 & 114.65 & 106.170232558140 & 8.47976744186047 \tabularnewline
43 & 115.49 & 106.170232558140 & 9.31976744186046 \tabularnewline
44 & 114.67 & 114.89 & -0.219999999999998 \tabularnewline
45 & 114.71 & 114.89 & -0.180000000000006 \tabularnewline
46 & 115.15 & 114.89 & 0.260000000000006 \tabularnewline
47 & 115.03 & 114.89 & 0.140000000000001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]100.29[/C][C]106.170232558139[/C][C]-5.88023255813947[/C][/ROW]
[ROW][C]2[/C][C]101.12[/C][C]106.170232558140[/C][C]-5.05023255813953[/C][/ROW]
[ROW][C]3[/C][C]102.65[/C][C]106.170232558140[/C][C]-3.52023255813953[/C][/ROW]
[ROW][C]4[/C][C]102.71[/C][C]106.170232558140[/C][C]-3.46023255813954[/C][/ROW]
[ROW][C]5[/C][C]103.39[/C][C]106.170232558140[/C][C]-2.78023255813954[/C][/ROW]
[ROW][C]6[/C][C]102.8[/C][C]106.170232558140[/C][C]-3.37023255813954[/C][/ROW]
[ROW][C]7[/C][C]102.07[/C][C]106.170232558140[/C][C]-4.10023255813954[/C][/ROW]
[ROW][C]8[/C][C]102.15[/C][C]106.170232558140[/C][C]-4.02023255813953[/C][/ROW]
[ROW][C]9[/C][C]101.21[/C][C]106.170232558140[/C][C]-4.96023255813954[/C][/ROW]
[ROW][C]10[/C][C]101.27[/C][C]106.170232558140[/C][C]-4.90023255813954[/C][/ROW]
[ROW][C]11[/C][C]101.86[/C][C]106.170232558140[/C][C]-4.31023255813954[/C][/ROW]
[ROW][C]12[/C][C]101.65[/C][C]106.170232558140[/C][C]-4.52023255813953[/C][/ROW]
[ROW][C]13[/C][C]101.94[/C][C]106.170232558140[/C][C]-4.23023255813954[/C][/ROW]
[ROW][C]14[/C][C]102.62[/C][C]106.170232558140[/C][C]-3.55023255813953[/C][/ROW]
[ROW][C]15[/C][C]102.71[/C][C]106.170232558140[/C][C]-3.46023255813954[/C][/ROW]
[ROW][C]16[/C][C]103.39[/C][C]106.170232558140[/C][C]-2.78023255813954[/C][/ROW]
[ROW][C]17[/C][C]104.51[/C][C]106.170232558140[/C][C]-1.66023255813953[/C][/ROW]
[ROW][C]18[/C][C]104.09[/C][C]106.170232558140[/C][C]-2.08023255813953[/C][/ROW]
[ROW][C]19[/C][C]104.29[/C][C]106.170232558140[/C][C]-1.88023255813953[/C][/ROW]
[ROW][C]20[/C][C]104.57[/C][C]106.170232558140[/C][C]-1.60023255813954[/C][/ROW]
[ROW][C]21[/C][C]105.39[/C][C]106.170232558140[/C][C]-0.780232558139536[/C][/ROW]
[ROW][C]22[/C][C]105.15[/C][C]106.170232558140[/C][C]-1.02023255813953[/C][/ROW]
[ROW][C]23[/C][C]106.13[/C][C]106.170232558140[/C][C]-0.0402325581395413[/C][/ROW]
[ROW][C]24[/C][C]105.46[/C][C]106.170232558140[/C][C]-0.710232558139543[/C][/ROW]
[ROW][C]25[/C][C]106.47[/C][C]106.170232558140[/C][C]0.299767441860462[/C][/ROW]
[ROW][C]26[/C][C]106.62[/C][C]106.170232558140[/C][C]0.449767441860468[/C][/ROW]
[ROW][C]27[/C][C]106.52[/C][C]106.170232558140[/C][C]0.349767441860459[/C][/ROW]
[ROW][C]28[/C][C]108.04[/C][C]106.170232558140[/C][C]1.86976744186047[/C][/ROW]
[ROW][C]29[/C][C]107.15[/C][C]106.170232558140[/C][C]0.979767441860469[/C][/ROW]
[ROW][C]30[/C][C]107.32[/C][C]106.170232558140[/C][C]1.14976744186046[/C][/ROW]
[ROW][C]31[/C][C]107.76[/C][C]106.170232558140[/C][C]1.58976744186047[/C][/ROW]
[ROW][C]32[/C][C]107.26[/C][C]106.170232558140[/C][C]1.08976744186047[/C][/ROW]
[ROW][C]33[/C][C]107.89[/C][C]106.170232558140[/C][C]1.71976744186046[/C][/ROW]
[ROW][C]34[/C][C]109.08[/C][C]106.170232558140[/C][C]2.90976744186046[/C][/ROW]
[ROW][C]35[/C][C]110.4[/C][C]106.170232558140[/C][C]4.22976744186047[/C][/ROW]
[ROW][C]36[/C][C]111.03[/C][C]106.170232558140[/C][C]4.85976744186046[/C][/ROW]
[ROW][C]37[/C][C]112.05[/C][C]106.170232558140[/C][C]5.87976744186046[/C][/ROW]
[ROW][C]38[/C][C]112.28[/C][C]106.170232558140[/C][C]6.10976744186046[/C][/ROW]
[ROW][C]39[/C][C]112.8[/C][C]106.170232558140[/C][C]6.62976744186046[/C][/ROW]
[ROW][C]40[/C][C]114.17[/C][C]106.170232558140[/C][C]7.99976744186046[/C][/ROW]
[ROW][C]41[/C][C]114.92[/C][C]106.170232558140[/C][C]8.74976744186046[/C][/ROW]
[ROW][C]42[/C][C]114.65[/C][C]106.170232558140[/C][C]8.47976744186047[/C][/ROW]
[ROW][C]43[/C][C]115.49[/C][C]106.170232558140[/C][C]9.31976744186046[/C][/ROW]
[ROW][C]44[/C][C]114.67[/C][C]114.89[/C][C]-0.219999999999998[/C][/ROW]
[ROW][C]45[/C][C]114.71[/C][C]114.89[/C][C]-0.180000000000006[/C][/ROW]
[ROW][C]46[/C][C]115.15[/C][C]114.89[/C][C]0.260000000000006[/C][/ROW]
[ROW][C]47[/C][C]115.03[/C][C]114.89[/C][C]0.140000000000001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1100.29106.170232558139-5.88023255813947
2101.12106.170232558140-5.05023255813953
3102.65106.170232558140-3.52023255813953
4102.71106.170232558140-3.46023255813954
5103.39106.170232558140-2.78023255813954
6102.8106.170232558140-3.37023255813954
7102.07106.170232558140-4.10023255813954
8102.15106.170232558140-4.02023255813953
9101.21106.170232558140-4.96023255813954
10101.27106.170232558140-4.90023255813954
11101.86106.170232558140-4.31023255813954
12101.65106.170232558140-4.52023255813953
13101.94106.170232558140-4.23023255813954
14102.62106.170232558140-3.55023255813953
15102.71106.170232558140-3.46023255813954
16103.39106.170232558140-2.78023255813954
17104.51106.170232558140-1.66023255813953
18104.09106.170232558140-2.08023255813953
19104.29106.170232558140-1.88023255813953
20104.57106.170232558140-1.60023255813954
21105.39106.170232558140-0.780232558139536
22105.15106.170232558140-1.02023255813953
23106.13106.170232558140-0.0402325581395413
24105.46106.170232558140-0.710232558139543
25106.47106.1702325581400.299767441860462
26106.62106.1702325581400.449767441860468
27106.52106.1702325581400.349767441860459
28108.04106.1702325581401.86976744186047
29107.15106.1702325581400.979767441860469
30107.32106.1702325581401.14976744186046
31107.76106.1702325581401.58976744186047
32107.26106.1702325581401.08976744186047
33107.89106.1702325581401.71976744186046
34109.08106.1702325581402.90976744186046
35110.4106.1702325581404.22976744186047
36111.03106.1702325581404.85976744186046
37112.05106.1702325581405.87976744186046
38112.28106.1702325581406.10976744186046
39112.8106.1702325581406.62976744186046
40114.17106.1702325581407.99976744186046
41114.92106.1702325581408.74976744186046
42114.65106.1702325581408.47976744186047
43115.49106.1702325581409.31976744186046
44114.67114.89-0.219999999999998
45114.71114.89-0.180000000000006
46115.15114.890.260000000000006
47115.03114.890.140000000000001







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05921649216758360.1184329843351670.940783507832416
60.02021309137498860.04042618274997710.979786908625011
70.005922187043759940.01184437408751990.99407781295624
80.001644614421901820.003289228843803640.998355385578098
90.0006635145947325190.001327029189465040.999336485405267
100.0002579941361246440.0005159882722492890.999742005863875
117.92384212672867e-050.0001584768425345730.999920761578733
122.70720610437563e-055.41441220875127e-050.999972927938956
139.15799223096346e-061.83159844619269e-050.999990842007769
144.03381447059698e-068.06762894119396e-060.99999596618553
152.03823548198118e-064.07647096396237e-060.999997961764518
162.20699550698509e-064.41399101397018e-060.999997793004493
171.08785508309043e-052.17571016618086e-050.99998912144917
181.74575037065491e-053.49150074130982e-050.999982542496293
193.06578278306625e-056.1315655661325e-050.99996934217217
206.26038891063421e-050.0001252077782126840.999937396110894
210.0002162675070599920.0004325350141199840.99978373249294
220.0004799705949939440.0009599411899878880.999520029405006
230.001607637650904610.003215275301809220.998392362349095
240.003241967052513690.006483934105027370.996758032947486
250.008356151892183880.01671230378436780.991643848107816
260.01865784272131650.03731568544263310.981342157278683
270.03738594838322130.07477189676644250.962614051616779
280.08033134916375680.1606626983275140.919668650836243
290.1351757871333090.2703515742666180.864824212866691
300.2222070291367560.4444140582735120.777792970863244
310.3464863298061250.692972659612250.653513670193875
320.5725983839930660.8548032320138670.427401616006934
330.822220895315090.3555582093698180.177779104684909
340.9517270146666480.09654597066670430.0482729853333521
350.986626371375660.02674725724867910.0133736286243395
360.9968537544091120.006292491181777060.00314624559088853
370.998676922031930.002646155936140690.00132307796807035
380.9996565980876180.000686803824763310.000343401912381655
390.999982325097113.53498057787717e-051.76749028893858e-05
400.9999820804130453.58391739104836e-051.79195869552418e-05
410.9998518566822720.0002962866354549720.000148143317727486
420.9997339761714680.000532047657064150.000266023828532075

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0592164921675836 & 0.118432984335167 & 0.940783507832416 \tabularnewline
6 & 0.0202130913749886 & 0.0404261827499771 & 0.979786908625011 \tabularnewline
7 & 0.00592218704375994 & 0.0118443740875199 & 0.99407781295624 \tabularnewline
8 & 0.00164461442190182 & 0.00328922884380364 & 0.998355385578098 \tabularnewline
9 & 0.000663514594732519 & 0.00132702918946504 & 0.999336485405267 \tabularnewline
10 & 0.000257994136124644 & 0.000515988272249289 & 0.999742005863875 \tabularnewline
11 & 7.92384212672867e-05 & 0.000158476842534573 & 0.999920761578733 \tabularnewline
12 & 2.70720610437563e-05 & 5.41441220875127e-05 & 0.999972927938956 \tabularnewline
13 & 9.15799223096346e-06 & 1.83159844619269e-05 & 0.999990842007769 \tabularnewline
14 & 4.03381447059698e-06 & 8.06762894119396e-06 & 0.99999596618553 \tabularnewline
15 & 2.03823548198118e-06 & 4.07647096396237e-06 & 0.999997961764518 \tabularnewline
16 & 2.20699550698509e-06 & 4.41399101397018e-06 & 0.999997793004493 \tabularnewline
17 & 1.08785508309043e-05 & 2.17571016618086e-05 & 0.99998912144917 \tabularnewline
18 & 1.74575037065491e-05 & 3.49150074130982e-05 & 0.999982542496293 \tabularnewline
19 & 3.06578278306625e-05 & 6.1315655661325e-05 & 0.99996934217217 \tabularnewline
20 & 6.26038891063421e-05 & 0.000125207778212684 & 0.999937396110894 \tabularnewline
21 & 0.000216267507059992 & 0.000432535014119984 & 0.99978373249294 \tabularnewline
22 & 0.000479970594993944 & 0.000959941189987888 & 0.999520029405006 \tabularnewline
23 & 0.00160763765090461 & 0.00321527530180922 & 0.998392362349095 \tabularnewline
24 & 0.00324196705251369 & 0.00648393410502737 & 0.996758032947486 \tabularnewline
25 & 0.00835615189218388 & 0.0167123037843678 & 0.991643848107816 \tabularnewline
26 & 0.0186578427213165 & 0.0373156854426331 & 0.981342157278683 \tabularnewline
27 & 0.0373859483832213 & 0.0747718967664425 & 0.962614051616779 \tabularnewline
28 & 0.0803313491637568 & 0.160662698327514 & 0.919668650836243 \tabularnewline
29 & 0.135175787133309 & 0.270351574266618 & 0.864824212866691 \tabularnewline
30 & 0.222207029136756 & 0.444414058273512 & 0.777792970863244 \tabularnewline
31 & 0.346486329806125 & 0.69297265961225 & 0.653513670193875 \tabularnewline
32 & 0.572598383993066 & 0.854803232013867 & 0.427401616006934 \tabularnewline
33 & 0.82222089531509 & 0.355558209369818 & 0.177779104684909 \tabularnewline
34 & 0.951727014666648 & 0.0965459706667043 & 0.0482729853333521 \tabularnewline
35 & 0.98662637137566 & 0.0267472572486791 & 0.0133736286243395 \tabularnewline
36 & 0.996853754409112 & 0.00629249118177706 & 0.00314624559088853 \tabularnewline
37 & 0.99867692203193 & 0.00264615593614069 & 0.00132307796807035 \tabularnewline
38 & 0.999656598087618 & 0.00068680382476331 & 0.000343401912381655 \tabularnewline
39 & 0.99998232509711 & 3.53498057787717e-05 & 1.76749028893858e-05 \tabularnewline
40 & 0.999982080413045 & 3.58391739104836e-05 & 1.79195869552418e-05 \tabularnewline
41 & 0.999851856682272 & 0.000296286635454972 & 0.000148143317727486 \tabularnewline
42 & 0.999733976171468 & 0.00053204765706415 & 0.000266023828532075 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]5[/C][C]0.0592164921675836[/C][C]0.118432984335167[/C][C]0.940783507832416[/C][/ROW]
[ROW][C]6[/C][C]0.0202130913749886[/C][C]0.0404261827499771[/C][C]0.979786908625011[/C][/ROW]
[ROW][C]7[/C][C]0.00592218704375994[/C][C]0.0118443740875199[/C][C]0.99407781295624[/C][/ROW]
[ROW][C]8[/C][C]0.00164461442190182[/C][C]0.00328922884380364[/C][C]0.998355385578098[/C][/ROW]
[ROW][C]9[/C][C]0.000663514594732519[/C][C]0.00132702918946504[/C][C]0.999336485405267[/C][/ROW]
[ROW][C]10[/C][C]0.000257994136124644[/C][C]0.000515988272249289[/C][C]0.999742005863875[/C][/ROW]
[ROW][C]11[/C][C]7.92384212672867e-05[/C][C]0.000158476842534573[/C][C]0.999920761578733[/C][/ROW]
[ROW][C]12[/C][C]2.70720610437563e-05[/C][C]5.41441220875127e-05[/C][C]0.999972927938956[/C][/ROW]
[ROW][C]13[/C][C]9.15799223096346e-06[/C][C]1.83159844619269e-05[/C][C]0.999990842007769[/C][/ROW]
[ROW][C]14[/C][C]4.03381447059698e-06[/C][C]8.06762894119396e-06[/C][C]0.99999596618553[/C][/ROW]
[ROW][C]15[/C][C]2.03823548198118e-06[/C][C]4.07647096396237e-06[/C][C]0.999997961764518[/C][/ROW]
[ROW][C]16[/C][C]2.20699550698509e-06[/C][C]4.41399101397018e-06[/C][C]0.999997793004493[/C][/ROW]
[ROW][C]17[/C][C]1.08785508309043e-05[/C][C]2.17571016618086e-05[/C][C]0.99998912144917[/C][/ROW]
[ROW][C]18[/C][C]1.74575037065491e-05[/C][C]3.49150074130982e-05[/C][C]0.999982542496293[/C][/ROW]
[ROW][C]19[/C][C]3.06578278306625e-05[/C][C]6.1315655661325e-05[/C][C]0.99996934217217[/C][/ROW]
[ROW][C]20[/C][C]6.26038891063421e-05[/C][C]0.000125207778212684[/C][C]0.999937396110894[/C][/ROW]
[ROW][C]21[/C][C]0.000216267507059992[/C][C]0.000432535014119984[/C][C]0.99978373249294[/C][/ROW]
[ROW][C]22[/C][C]0.000479970594993944[/C][C]0.000959941189987888[/C][C]0.999520029405006[/C][/ROW]
[ROW][C]23[/C][C]0.00160763765090461[/C][C]0.00321527530180922[/C][C]0.998392362349095[/C][/ROW]
[ROW][C]24[/C][C]0.00324196705251369[/C][C]0.00648393410502737[/C][C]0.996758032947486[/C][/ROW]
[ROW][C]25[/C][C]0.00835615189218388[/C][C]0.0167123037843678[/C][C]0.991643848107816[/C][/ROW]
[ROW][C]26[/C][C]0.0186578427213165[/C][C]0.0373156854426331[/C][C]0.981342157278683[/C][/ROW]
[ROW][C]27[/C][C]0.0373859483832213[/C][C]0.0747718967664425[/C][C]0.962614051616779[/C][/ROW]
[ROW][C]28[/C][C]0.0803313491637568[/C][C]0.160662698327514[/C][C]0.919668650836243[/C][/ROW]
[ROW][C]29[/C][C]0.135175787133309[/C][C]0.270351574266618[/C][C]0.864824212866691[/C][/ROW]
[ROW][C]30[/C][C]0.222207029136756[/C][C]0.444414058273512[/C][C]0.777792970863244[/C][/ROW]
[ROW][C]31[/C][C]0.346486329806125[/C][C]0.69297265961225[/C][C]0.653513670193875[/C][/ROW]
[ROW][C]32[/C][C]0.572598383993066[/C][C]0.854803232013867[/C][C]0.427401616006934[/C][/ROW]
[ROW][C]33[/C][C]0.82222089531509[/C][C]0.355558209369818[/C][C]0.177779104684909[/C][/ROW]
[ROW][C]34[/C][C]0.951727014666648[/C][C]0.0965459706667043[/C][C]0.0482729853333521[/C][/ROW]
[ROW][C]35[/C][C]0.98662637137566[/C][C]0.0267472572486791[/C][C]0.0133736286243395[/C][/ROW]
[ROW][C]36[/C][C]0.996853754409112[/C][C]0.00629249118177706[/C][C]0.00314624559088853[/C][/ROW]
[ROW][C]37[/C][C]0.99867692203193[/C][C]0.00264615593614069[/C][C]0.00132307796807035[/C][/ROW]
[ROW][C]38[/C][C]0.999656598087618[/C][C]0.00068680382476331[/C][C]0.000343401912381655[/C][/ROW]
[ROW][C]39[/C][C]0.99998232509711[/C][C]3.53498057787717e-05[/C][C]1.76749028893858e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999982080413045[/C][C]3.58391739104836e-05[/C][C]1.79195869552418e-05[/C][/ROW]
[ROW][C]41[/C][C]0.999851856682272[/C][C]0.000296286635454972[/C][C]0.000148143317727486[/C][/ROW]
[ROW][C]42[/C][C]0.999733976171468[/C][C]0.00053204765706415[/C][C]0.000266023828532075[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=5

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.05921649216758360.1184329843351670.940783507832416
60.02021309137498860.04042618274997710.979786908625011
70.005922187043759940.01184437408751990.99407781295624
80.001644614421901820.003289228843803640.998355385578098
90.0006635145947325190.001327029189465040.999336485405267
100.0002579941361246440.0005159882722492890.999742005863875
117.92384212672867e-050.0001584768425345730.999920761578733
122.70720610437563e-055.41441220875127e-050.999972927938956
139.15799223096346e-061.83159844619269e-050.999990842007769
144.03381447059698e-068.06762894119396e-060.99999596618553
152.03823548198118e-064.07647096396237e-060.999997961764518
162.20699550698509e-064.41399101397018e-060.999997793004493
171.08785508309043e-052.17571016618086e-050.99998912144917
181.74575037065491e-053.49150074130982e-050.999982542496293
193.06578278306625e-056.1315655661325e-050.99996934217217
206.26038891063421e-050.0001252077782126840.999937396110894
210.0002162675070599920.0004325350141199840.99978373249294
220.0004799705949939440.0009599411899878880.999520029405006
230.001607637650904610.003215275301809220.998392362349095
240.003241967052513690.006483934105027370.996758032947486
250.008356151892183880.01671230378436780.991643848107816
260.01865784272131650.03731568544263310.981342157278683
270.03738594838322130.07477189676644250.962614051616779
280.08033134916375680.1606626983275140.919668650836243
290.1351757871333090.2703515742666180.864824212866691
300.2222070291367560.4444140582735120.777792970863244
310.3464863298061250.692972659612250.653513670193875
320.5725983839930660.8548032320138670.427401616006934
330.822220895315090.3555582093698180.177779104684909
340.9517270146666480.09654597066670430.0482729853333521
350.986626371375660.02674725724867910.0133736286243395
360.9968537544091120.006292491181777060.00314624559088853
370.998676922031930.002646155936140690.00132307796807035
380.9996565980876180.000686803824763310.000343401912381655
390.999982325097113.53498057787717e-051.76749028893858e-05
400.9999820804130453.58391739104836e-051.79195869552418e-05
410.9998518566822720.0002962866354549720.000148143317727486
420.9997339761714680.000532047657064150.000266023828532075







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.631578947368421NOK
5% type I error level290.763157894736842NOK
10% type I error level310.81578947368421NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 24 & 0.631578947368421 & NOK \tabularnewline
5% type I error level & 29 & 0.763157894736842 & NOK \tabularnewline
10% type I error level & 31 & 0.81578947368421 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35430&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]24[/C][C]0.631578947368421[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]29[/C][C]0.763157894736842[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]31[/C][C]0.81578947368421[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35430&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35430&T=6

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.631578947368421NOK
5% type I error level290.763157894736842NOK
10% type I error level310.81578947368421NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}