Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationTue, 08 Dec 2015 11:30:27 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2015/Dec/08/t1449574292o1cckv0wshdyuo1.htm/, Retrieved Thu, 16 May 2024 17:34:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=285473, Retrieved Thu, 16 May 2024 17:34:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact130
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Supporters t.o.v....] [2015-12-08 11:30:27] [7f15ad2b324a02cb27046274e327e025] [Current]
Feedback Forum

Post a new message
Dataseries X:
8945 0.36
7764 0.39
8704 0.34
7546 0.51
7694 0.52
10499 0.25
7614 0.58
8248 0.53
8158 0.6
8174 0.55
8097 0.59
9154 0.41
10287 0.34
7972 0.51
7518 0.56
9492 0.53
8317 0.56
8158 0.59
9174 0.39
8262 0.47
10533 0.23
10434 0.24
8047 0.42
7831 0.42
8062 0.55
8834 0.36
8957 0.46
8753 0.43
7663 0.56
8290 0.63
8435 0.48
10802 0.34
9391 0.48
10280 0.25
8461 0.59
9152 0.5
8380 0.51
8171 0.56
8386 0.54
8212 0.57
9103 0.61
8461 0.72
8443 0.66
9253 0.51
8220 0.57
10435 0.21
8627 0.31
8196 0.4
9431 0.23
7917 0.39
8186 0.25




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\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 & 6 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&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]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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 time6 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
10589[t] = + 10657.5 -4261.76`0,32`[t] + e[t]
Warning: you did not specify the column number of the endogenous series! The first column was selected by default.

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
10589[t] =  +  10657.5 -4261.76`0,32`[t]  + e[t] \tabularnewline
Warning: you did not specify the column number of the endogenous series! The first column was selected by default. \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]10589[t] =  +  10657.5 -4261.76`0,32`[t]  + e[t][/C][/ROW]
[ROW][C]Warning: you did not specify the column number of the endogenous series! The first column was selected by default.[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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
10589[t] = + 10657.5 -4261.76`0,32`[t] + e[t]
Warning: you did not specify the column number of the endogenous series! The first column was selected by default.







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)+1.066e+04 366.3+2.9100e+01 1.41e-32 7.051e-33
`0,32`-4262 764.7-5.5730e+00 1.057e-06 5.287e-07

\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) & +1.066e+04 &  366.3 & +2.9100e+01 &  1.41e-32 &  7.051e-33 \tabularnewline
`0,32` & -4262 &  764.7 & -5.5730e+00 &  1.057e-06 &  5.287e-07 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&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]+1.066e+04[/C][C] 366.3[/C][C]+2.9100e+01[/C][C] 1.41e-32[/C][C] 7.051e-33[/C][/ROW]
[ROW][C]`0,32`[/C][C]-4262[/C][C] 764.7[/C][C]-5.5730e+00[/C][C] 1.057e-06[/C][C] 5.287e-07[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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)+1.066e+04 366.3+2.9100e+01 1.41e-32 7.051e-33
`0,32`-4262 764.7-5.5730e+00 1.057e-06 5.287e-07







Multiple Linear Regression - Regression Statistics
Multiple R 0.6228
R-squared 0.3879
Adjusted R-squared 0.3754
F-TEST (value) 31.06
F-TEST (DF numerator)1
F-TEST (DF denominator)49
p-value 1.057e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 690.7
Sum Squared Residuals 2.338e+07

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R &  0.6228 \tabularnewline
R-squared &  0.3879 \tabularnewline
Adjusted R-squared &  0.3754 \tabularnewline
F-TEST (value) &  31.06 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 49 \tabularnewline
p-value &  1.057e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation &  690.7 \tabularnewline
Sum Squared Residuals &  2.338e+07 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C] 0.6228[/C][/ROW]
[ROW][C]R-squared[/C][C] 0.3879[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C] 0.3754[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C] 31.06[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]49[/C][/ROW]
[ROW][C]p-value[/C][C] 1.057e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C] 690.7[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C] 2.338e+07[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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 R 0.6228
R-squared 0.3879
Adjusted R-squared 0.3754
F-TEST (value) 31.06
F-TEST (DF numerator)1
F-TEST (DF denominator)49
p-value 1.057e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation 690.7
Sum Squared Residuals 2.338e+07







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1 8945 9123-178.2
2 7764 8995-1231
3 8704 9208-504.5
4 7546 8484-938
5 7694 8441-747.3
6 1.05e+04 9592 907
7 7614 8186-571.6
8 8248 8399-150.7
9 8158 8100 57.6
10 8174 8313-139.5
11 8097 8143-46.01
12 9154 8910 243.9
13 1.029e+04 9208 1079
14 7972 8484-512
15 7518 8271-752.9
16 9492 8399 1093
17 8317 8271 46.13
18 8158 8143 14.99
19 9174 8995 178.6
20 8262 8654-392.4
21 1.053e+04 9677 855.8
22 1.043e+04 9635 799.4
23 8047 8868-820.5
24 7831 8868-1037
25 8062 8313-251.5
26 8834 9123-289.2
27 8957 8697 260
28 8753 8825-71.9
29 7663 8271-607.9
30 8290 7973 317.5
31 8435 8612-176.8
32 1.08e+04 9208 1594
33 9391 8612 779.2
34 1.028e+04 9592 688
35 8461 8143 318
36 9152 8527 625.4
37 8380 8484-104
38 8171 8271-99.87
39 8386 8356 29.9
40 8212 8228-16.25
41 9103 8058 1045
42 8461 7589 872
43 8443 7845 598.3
44 9253 8484 769
45 8220 8228-8.249
46 1.044e+04 9762 672.5
47 8627 9336-709.3
48 8196 8953-756.7
49 9431 9677-246.2
50 7917 8995-1078
51 8186 9592-1406

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 &  8945 &  9123 & -178.2 \tabularnewline
2 &  7764 &  8995 & -1231 \tabularnewline
3 &  8704 &  9208 & -504.5 \tabularnewline
4 &  7546 &  8484 & -938 \tabularnewline
5 &  7694 &  8441 & -747.3 \tabularnewline
6 &  1.05e+04 &  9592 &  907 \tabularnewline
7 &  7614 &  8186 & -571.6 \tabularnewline
8 &  8248 &  8399 & -150.7 \tabularnewline
9 &  8158 &  8100 &  57.6 \tabularnewline
10 &  8174 &  8313 & -139.5 \tabularnewline
11 &  8097 &  8143 & -46.01 \tabularnewline
12 &  9154 &  8910 &  243.9 \tabularnewline
13 &  1.029e+04 &  9208 &  1079 \tabularnewline
14 &  7972 &  8484 & -512 \tabularnewline
15 &  7518 &  8271 & -752.9 \tabularnewline
16 &  9492 &  8399 &  1093 \tabularnewline
17 &  8317 &  8271 &  46.13 \tabularnewline
18 &  8158 &  8143 &  14.99 \tabularnewline
19 &  9174 &  8995 &  178.6 \tabularnewline
20 &  8262 &  8654 & -392.4 \tabularnewline
21 &  1.053e+04 &  9677 &  855.8 \tabularnewline
22 &  1.043e+04 &  9635 &  799.4 \tabularnewline
23 &  8047 &  8868 & -820.5 \tabularnewline
24 &  7831 &  8868 & -1037 \tabularnewline
25 &  8062 &  8313 & -251.5 \tabularnewline
26 &  8834 &  9123 & -289.2 \tabularnewline
27 &  8957 &  8697 &  260 \tabularnewline
28 &  8753 &  8825 & -71.9 \tabularnewline
29 &  7663 &  8271 & -607.9 \tabularnewline
30 &  8290 &  7973 &  317.5 \tabularnewline
31 &  8435 &  8612 & -176.8 \tabularnewline
32 &  1.08e+04 &  9208 &  1594 \tabularnewline
33 &  9391 &  8612 &  779.2 \tabularnewline
34 &  1.028e+04 &  9592 &  688 \tabularnewline
35 &  8461 &  8143 &  318 \tabularnewline
36 &  9152 &  8527 &  625.4 \tabularnewline
37 &  8380 &  8484 & -104 \tabularnewline
38 &  8171 &  8271 & -99.87 \tabularnewline
39 &  8386 &  8356 &  29.9 \tabularnewline
40 &  8212 &  8228 & -16.25 \tabularnewline
41 &  9103 &  8058 &  1045 \tabularnewline
42 &  8461 &  7589 &  872 \tabularnewline
43 &  8443 &  7845 &  598.3 \tabularnewline
44 &  9253 &  8484 &  769 \tabularnewline
45 &  8220 &  8228 & -8.249 \tabularnewline
46 &  1.044e+04 &  9762 &  672.5 \tabularnewline
47 &  8627 &  9336 & -709.3 \tabularnewline
48 &  8196 &  8953 & -756.7 \tabularnewline
49 &  9431 &  9677 & -246.2 \tabularnewline
50 &  7917 &  8995 & -1078 \tabularnewline
51 &  8186 &  9592 & -1406 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&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] 8945[/C][C] 9123[/C][C]-178.2[/C][/ROW]
[ROW][C]2[/C][C] 7764[/C][C] 8995[/C][C]-1231[/C][/ROW]
[ROW][C]3[/C][C] 8704[/C][C] 9208[/C][C]-504.5[/C][/ROW]
[ROW][C]4[/C][C] 7546[/C][C] 8484[/C][C]-938[/C][/ROW]
[ROW][C]5[/C][C] 7694[/C][C] 8441[/C][C]-747.3[/C][/ROW]
[ROW][C]6[/C][C] 1.05e+04[/C][C] 9592[/C][C] 907[/C][/ROW]
[ROW][C]7[/C][C] 7614[/C][C] 8186[/C][C]-571.6[/C][/ROW]
[ROW][C]8[/C][C] 8248[/C][C] 8399[/C][C]-150.7[/C][/ROW]
[ROW][C]9[/C][C] 8158[/C][C] 8100[/C][C] 57.6[/C][/ROW]
[ROW][C]10[/C][C] 8174[/C][C] 8313[/C][C]-139.5[/C][/ROW]
[ROW][C]11[/C][C] 8097[/C][C] 8143[/C][C]-46.01[/C][/ROW]
[ROW][C]12[/C][C] 9154[/C][C] 8910[/C][C] 243.9[/C][/ROW]
[ROW][C]13[/C][C] 1.029e+04[/C][C] 9208[/C][C] 1079[/C][/ROW]
[ROW][C]14[/C][C] 7972[/C][C] 8484[/C][C]-512[/C][/ROW]
[ROW][C]15[/C][C] 7518[/C][C] 8271[/C][C]-752.9[/C][/ROW]
[ROW][C]16[/C][C] 9492[/C][C] 8399[/C][C] 1093[/C][/ROW]
[ROW][C]17[/C][C] 8317[/C][C] 8271[/C][C] 46.13[/C][/ROW]
[ROW][C]18[/C][C] 8158[/C][C] 8143[/C][C] 14.99[/C][/ROW]
[ROW][C]19[/C][C] 9174[/C][C] 8995[/C][C] 178.6[/C][/ROW]
[ROW][C]20[/C][C] 8262[/C][C] 8654[/C][C]-392.4[/C][/ROW]
[ROW][C]21[/C][C] 1.053e+04[/C][C] 9677[/C][C] 855.8[/C][/ROW]
[ROW][C]22[/C][C] 1.043e+04[/C][C] 9635[/C][C] 799.4[/C][/ROW]
[ROW][C]23[/C][C] 8047[/C][C] 8868[/C][C]-820.5[/C][/ROW]
[ROW][C]24[/C][C] 7831[/C][C] 8868[/C][C]-1037[/C][/ROW]
[ROW][C]25[/C][C] 8062[/C][C] 8313[/C][C]-251.5[/C][/ROW]
[ROW][C]26[/C][C] 8834[/C][C] 9123[/C][C]-289.2[/C][/ROW]
[ROW][C]27[/C][C] 8957[/C][C] 8697[/C][C] 260[/C][/ROW]
[ROW][C]28[/C][C] 8753[/C][C] 8825[/C][C]-71.9[/C][/ROW]
[ROW][C]29[/C][C] 7663[/C][C] 8271[/C][C]-607.9[/C][/ROW]
[ROW][C]30[/C][C] 8290[/C][C] 7973[/C][C] 317.5[/C][/ROW]
[ROW][C]31[/C][C] 8435[/C][C] 8612[/C][C]-176.8[/C][/ROW]
[ROW][C]32[/C][C] 1.08e+04[/C][C] 9208[/C][C] 1594[/C][/ROW]
[ROW][C]33[/C][C] 9391[/C][C] 8612[/C][C] 779.2[/C][/ROW]
[ROW][C]34[/C][C] 1.028e+04[/C][C] 9592[/C][C] 688[/C][/ROW]
[ROW][C]35[/C][C] 8461[/C][C] 8143[/C][C] 318[/C][/ROW]
[ROW][C]36[/C][C] 9152[/C][C] 8527[/C][C] 625.4[/C][/ROW]
[ROW][C]37[/C][C] 8380[/C][C] 8484[/C][C]-104[/C][/ROW]
[ROW][C]38[/C][C] 8171[/C][C] 8271[/C][C]-99.87[/C][/ROW]
[ROW][C]39[/C][C] 8386[/C][C] 8356[/C][C] 29.9[/C][/ROW]
[ROW][C]40[/C][C] 8212[/C][C] 8228[/C][C]-16.25[/C][/ROW]
[ROW][C]41[/C][C] 9103[/C][C] 8058[/C][C] 1045[/C][/ROW]
[ROW][C]42[/C][C] 8461[/C][C] 7589[/C][C] 872[/C][/ROW]
[ROW][C]43[/C][C] 8443[/C][C] 7845[/C][C] 598.3[/C][/ROW]
[ROW][C]44[/C][C] 9253[/C][C] 8484[/C][C] 769[/C][/ROW]
[ROW][C]45[/C][C] 8220[/C][C] 8228[/C][C]-8.249[/C][/ROW]
[ROW][C]46[/C][C] 1.044e+04[/C][C] 9762[/C][C] 672.5[/C][/ROW]
[ROW][C]47[/C][C] 8627[/C][C] 9336[/C][C]-709.3[/C][/ROW]
[ROW][C]48[/C][C] 8196[/C][C] 8953[/C][C]-756.7[/C][/ROW]
[ROW][C]49[/C][C] 9431[/C][C] 9677[/C][C]-246.2[/C][/ROW]
[ROW][C]50[/C][C] 7917[/C][C] 8995[/C][C]-1078[/C][/ROW]
[ROW][C]51[/C][C] 8186[/C][C] 9592[/C][C]-1406[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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
1 8945 9123-178.2
2 7764 8995-1231
3 8704 9208-504.5
4 7546 8484-938
5 7694 8441-747.3
6 1.05e+04 9592 907
7 7614 8186-571.6
8 8248 8399-150.7
9 8158 8100 57.6
10 8174 8313-139.5
11 8097 8143-46.01
12 9154 8910 243.9
13 1.029e+04 9208 1079
14 7972 8484-512
15 7518 8271-752.9
16 9492 8399 1093
17 8317 8271 46.13
18 8158 8143 14.99
19 9174 8995 178.6
20 8262 8654-392.4
21 1.053e+04 9677 855.8
22 1.043e+04 9635 799.4
23 8047 8868-820.5
24 7831 8868-1037
25 8062 8313-251.5
26 8834 9123-289.2
27 8957 8697 260
28 8753 8825-71.9
29 7663 8271-607.9
30 8290 7973 317.5
31 8435 8612-176.8
32 1.08e+04 9208 1594
33 9391 8612 779.2
34 1.028e+04 9592 688
35 8461 8143 318
36 9152 8527 625.4
37 8380 8484-104
38 8171 8271-99.87
39 8386 8356 29.9
40 8212 8228-16.25
41 9103 8058 1045
42 8461 7589 872
43 8443 7845 598.3
44 9253 8484 769
45 8220 8228-8.249
46 1.044e+04 9762 672.5
47 8627 9336-709.3
48 8196 8953-756.7
49 9431 9677-246.2
50 7917 8995-1078
51 8186 9592-1406







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
5 0.2448 0.4896 0.7552
6 0.4139 0.8277 0.5861
7 0.4189 0.8378 0.5811
8 0.4034 0.8069 0.5966
9 0.4494 0.8989 0.5506
10 0.3666 0.7333 0.6334
11 0.3047 0.6094 0.6953
12 0.2536 0.5071 0.7464
13 0.4049 0.8098 0.5951
14 0.3342 0.6684 0.6658
15 0.2983 0.5966 0.7017
16 0.5466 0.9069 0.4534
17 0.4718 0.9436 0.5282
18 0.3985 0.7971 0.6015
19 0.3195 0.639 0.6805
20 0.2649 0.5299 0.7351
21 0.2684 0.5367 0.7316
22 0.2707 0.5414 0.7293
23 0.3133 0.6267 0.6867
24 0.426 0.8519 0.574
25 0.3639 0.7279 0.6361
26 0.3062 0.6124 0.6938
27 0.2505 0.5011 0.7495
28 0.1899 0.3798 0.8101
29 0.186 0.3719 0.814
30 0.1698 0.3395 0.8302
31 0.1284 0.2569 0.8716
32 0.4447 0.8895 0.5553
33 0.4707 0.9415 0.5293
34 0.5793 0.8413 0.4207
35 0.5146 0.9708 0.4854
36 0.5037 0.9926 0.4963
37 0.4148 0.8296 0.5852
38 0.3406 0.6812 0.6594
39 0.2602 0.5205 0.7398
40 0.1986 0.3971 0.8014
41 0.2371 0.4742 0.7629
42 0.2145 0.429 0.7855
43 0.1664 0.3328 0.8336
44 0.2532 0.5064 0.7468
45 0.349 0.6981 0.651
46 0.6247 0.7507 0.3753

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 &  0.2448 &  0.4896 &  0.7552 \tabularnewline
6 &  0.4139 &  0.8277 &  0.5861 \tabularnewline
7 &  0.4189 &  0.8378 &  0.5811 \tabularnewline
8 &  0.4034 &  0.8069 &  0.5966 \tabularnewline
9 &  0.4494 &  0.8989 &  0.5506 \tabularnewline
10 &  0.3666 &  0.7333 &  0.6334 \tabularnewline
11 &  0.3047 &  0.6094 &  0.6953 \tabularnewline
12 &  0.2536 &  0.5071 &  0.7464 \tabularnewline
13 &  0.4049 &  0.8098 &  0.5951 \tabularnewline
14 &  0.3342 &  0.6684 &  0.6658 \tabularnewline
15 &  0.2983 &  0.5966 &  0.7017 \tabularnewline
16 &  0.5466 &  0.9069 &  0.4534 \tabularnewline
17 &  0.4718 &  0.9436 &  0.5282 \tabularnewline
18 &  0.3985 &  0.7971 &  0.6015 \tabularnewline
19 &  0.3195 &  0.639 &  0.6805 \tabularnewline
20 &  0.2649 &  0.5299 &  0.7351 \tabularnewline
21 &  0.2684 &  0.5367 &  0.7316 \tabularnewline
22 &  0.2707 &  0.5414 &  0.7293 \tabularnewline
23 &  0.3133 &  0.6267 &  0.6867 \tabularnewline
24 &  0.426 &  0.8519 &  0.574 \tabularnewline
25 &  0.3639 &  0.7279 &  0.6361 \tabularnewline
26 &  0.3062 &  0.6124 &  0.6938 \tabularnewline
27 &  0.2505 &  0.5011 &  0.7495 \tabularnewline
28 &  0.1899 &  0.3798 &  0.8101 \tabularnewline
29 &  0.186 &  0.3719 &  0.814 \tabularnewline
30 &  0.1698 &  0.3395 &  0.8302 \tabularnewline
31 &  0.1284 &  0.2569 &  0.8716 \tabularnewline
32 &  0.4447 &  0.8895 &  0.5553 \tabularnewline
33 &  0.4707 &  0.9415 &  0.5293 \tabularnewline
34 &  0.5793 &  0.8413 &  0.4207 \tabularnewline
35 &  0.5146 &  0.9708 &  0.4854 \tabularnewline
36 &  0.5037 &  0.9926 &  0.4963 \tabularnewline
37 &  0.4148 &  0.8296 &  0.5852 \tabularnewline
38 &  0.3406 &  0.6812 &  0.6594 \tabularnewline
39 &  0.2602 &  0.5205 &  0.7398 \tabularnewline
40 &  0.1986 &  0.3971 &  0.8014 \tabularnewline
41 &  0.2371 &  0.4742 &  0.7629 \tabularnewline
42 &  0.2145 &  0.429 &  0.7855 \tabularnewline
43 &  0.1664 &  0.3328 &  0.8336 \tabularnewline
44 &  0.2532 &  0.5064 &  0.7468 \tabularnewline
45 &  0.349 &  0.6981 &  0.651 \tabularnewline
46 &  0.6247 &  0.7507 &  0.3753 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&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.2448[/C][C] 0.4896[/C][C] 0.7552[/C][/ROW]
[ROW][C]6[/C][C] 0.4139[/C][C] 0.8277[/C][C] 0.5861[/C][/ROW]
[ROW][C]7[/C][C] 0.4189[/C][C] 0.8378[/C][C] 0.5811[/C][/ROW]
[ROW][C]8[/C][C] 0.4034[/C][C] 0.8069[/C][C] 0.5966[/C][/ROW]
[ROW][C]9[/C][C] 0.4494[/C][C] 0.8989[/C][C] 0.5506[/C][/ROW]
[ROW][C]10[/C][C] 0.3666[/C][C] 0.7333[/C][C] 0.6334[/C][/ROW]
[ROW][C]11[/C][C] 0.3047[/C][C] 0.6094[/C][C] 0.6953[/C][/ROW]
[ROW][C]12[/C][C] 0.2536[/C][C] 0.5071[/C][C] 0.7464[/C][/ROW]
[ROW][C]13[/C][C] 0.4049[/C][C] 0.8098[/C][C] 0.5951[/C][/ROW]
[ROW][C]14[/C][C] 0.3342[/C][C] 0.6684[/C][C] 0.6658[/C][/ROW]
[ROW][C]15[/C][C] 0.2983[/C][C] 0.5966[/C][C] 0.7017[/C][/ROW]
[ROW][C]16[/C][C] 0.5466[/C][C] 0.9069[/C][C] 0.4534[/C][/ROW]
[ROW][C]17[/C][C] 0.4718[/C][C] 0.9436[/C][C] 0.5282[/C][/ROW]
[ROW][C]18[/C][C] 0.3985[/C][C] 0.7971[/C][C] 0.6015[/C][/ROW]
[ROW][C]19[/C][C] 0.3195[/C][C] 0.639[/C][C] 0.6805[/C][/ROW]
[ROW][C]20[/C][C] 0.2649[/C][C] 0.5299[/C][C] 0.7351[/C][/ROW]
[ROW][C]21[/C][C] 0.2684[/C][C] 0.5367[/C][C] 0.7316[/C][/ROW]
[ROW][C]22[/C][C] 0.2707[/C][C] 0.5414[/C][C] 0.7293[/C][/ROW]
[ROW][C]23[/C][C] 0.3133[/C][C] 0.6267[/C][C] 0.6867[/C][/ROW]
[ROW][C]24[/C][C] 0.426[/C][C] 0.8519[/C][C] 0.574[/C][/ROW]
[ROW][C]25[/C][C] 0.3639[/C][C] 0.7279[/C][C] 0.6361[/C][/ROW]
[ROW][C]26[/C][C] 0.3062[/C][C] 0.6124[/C][C] 0.6938[/C][/ROW]
[ROW][C]27[/C][C] 0.2505[/C][C] 0.5011[/C][C] 0.7495[/C][/ROW]
[ROW][C]28[/C][C] 0.1899[/C][C] 0.3798[/C][C] 0.8101[/C][/ROW]
[ROW][C]29[/C][C] 0.186[/C][C] 0.3719[/C][C] 0.814[/C][/ROW]
[ROW][C]30[/C][C] 0.1698[/C][C] 0.3395[/C][C] 0.8302[/C][/ROW]
[ROW][C]31[/C][C] 0.1284[/C][C] 0.2569[/C][C] 0.8716[/C][/ROW]
[ROW][C]32[/C][C] 0.4447[/C][C] 0.8895[/C][C] 0.5553[/C][/ROW]
[ROW][C]33[/C][C] 0.4707[/C][C] 0.9415[/C][C] 0.5293[/C][/ROW]
[ROW][C]34[/C][C] 0.5793[/C][C] 0.8413[/C][C] 0.4207[/C][/ROW]
[ROW][C]35[/C][C] 0.5146[/C][C] 0.9708[/C][C] 0.4854[/C][/ROW]
[ROW][C]36[/C][C] 0.5037[/C][C] 0.9926[/C][C] 0.4963[/C][/ROW]
[ROW][C]37[/C][C] 0.4148[/C][C] 0.8296[/C][C] 0.5852[/C][/ROW]
[ROW][C]38[/C][C] 0.3406[/C][C] 0.6812[/C][C] 0.6594[/C][/ROW]
[ROW][C]39[/C][C] 0.2602[/C][C] 0.5205[/C][C] 0.7398[/C][/ROW]
[ROW][C]40[/C][C] 0.1986[/C][C] 0.3971[/C][C] 0.8014[/C][/ROW]
[ROW][C]41[/C][C] 0.2371[/C][C] 0.4742[/C][C] 0.7629[/C][/ROW]
[ROW][C]42[/C][C] 0.2145[/C][C] 0.429[/C][C] 0.7855[/C][/ROW]
[ROW][C]43[/C][C] 0.1664[/C][C] 0.3328[/C][C] 0.8336[/C][/ROW]
[ROW][C]44[/C][C] 0.2532[/C][C] 0.5064[/C][C] 0.7468[/C][/ROW]
[ROW][C]45[/C][C] 0.349[/C][C] 0.6981[/C][C] 0.651[/C][/ROW]
[ROW][C]46[/C][C] 0.6247[/C][C] 0.7507[/C][C] 0.3753[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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
5 0.2448 0.4896 0.7552
6 0.4139 0.8277 0.5861
7 0.4189 0.8378 0.5811
8 0.4034 0.8069 0.5966
9 0.4494 0.8989 0.5506
10 0.3666 0.7333 0.6334
11 0.3047 0.6094 0.6953
12 0.2536 0.5071 0.7464
13 0.4049 0.8098 0.5951
14 0.3342 0.6684 0.6658
15 0.2983 0.5966 0.7017
16 0.5466 0.9069 0.4534
17 0.4718 0.9436 0.5282
18 0.3985 0.7971 0.6015
19 0.3195 0.639 0.6805
20 0.2649 0.5299 0.7351
21 0.2684 0.5367 0.7316
22 0.2707 0.5414 0.7293
23 0.3133 0.6267 0.6867
24 0.426 0.8519 0.574
25 0.3639 0.7279 0.6361
26 0.3062 0.6124 0.6938
27 0.2505 0.5011 0.7495
28 0.1899 0.3798 0.8101
29 0.186 0.3719 0.814
30 0.1698 0.3395 0.8302
31 0.1284 0.2569 0.8716
32 0.4447 0.8895 0.5553
33 0.4707 0.9415 0.5293
34 0.5793 0.8413 0.4207
35 0.5146 0.9708 0.4854
36 0.5037 0.9926 0.4963
37 0.4148 0.8296 0.5852
38 0.3406 0.6812 0.6594
39 0.2602 0.5205 0.7398
40 0.1986 0.3971 0.8014
41 0.2371 0.4742 0.7629
42 0.2145 0.429 0.7855
43 0.1664 0.3328 0.8336
44 0.2532 0.5064 0.7468
45 0.349 0.6981 0.651
46 0.6247 0.7507 0.3753







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level0 0OK
5% type I error level00OK
10% type I error level00OK

\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 & 0 &  0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=285473&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]0[/C][C] 0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=285473&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=285473&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 level0 0OK
5% type I error level00OK
10% type I error level00OK



Parameters (Session):
par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ; par4 = ; par5 = ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
mywarning <- ''
par1 <- as.numeric(par1)
if(is.na(par1)) {
par1 <- 1
mywarning = 'Warning: you did not specify the column number of the endogenous series! The first column was selected by default.'
}
if (par4=='') par4 <- 0
par4 <- as.numeric(par4)
if (par5=='') par5 <- 0
par5 <- as.numeric(par5)
x <- na.omit(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'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'Seasonal Differences (s=12)'){
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if (par3 == 'First and Seasonal Differences (s=12)'){
(n <- n -1)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
(n <- n - 12)
x2 <- array(0, dim=c(n,k), dimnames=list(1:n, paste('(1-B12)',colnames(x),sep='')))
for (i in 1:n) {
for (j in 1:k) {
x2[i,j] <- x[i+12,j] - x[i,j]
}
}
x <- x2
}
if(par4 > 0) {
x2 <- array(0, dim=c(n-par4,par4), dimnames=list(1:(n-par4), paste(colnames(x)[par1],'(t-',1:par4,')',sep='')))
for (i in 1:(n-par4)) {
for (j in 1:par4) {
x2[i,j] <- x[i+par4-j,par1]
}
}
x <- cbind(x[(par4+1):n,], x2)
n <- n - par4
}
if(par5 > 0) {
x2 <- array(0, dim=c(n-par5*12,par5), dimnames=list(1:(n-par5*12), paste(colnames(x)[par1],'(t-',1:par5,'s)',sep='')))
for (i in 1:(n-par5*12)) {
for (j in 1:par5) {
x2[i,j] <- x[i+par5*12-j*12,par1]
}
}
x <- cbind(x[(par5*12+1):n,], x2)
n <- n - par5*12
}
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[n,]))
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
(k <- length(x[n,]))
head(x)
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, signif(mysum$coefficients[i,1],6), 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.row.start(a)
a<-table.element(a, mywarning)
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,formatC(signif(mysum$coefficients[i,1],5),format='g',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,2],5),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,3],4),format='e',flag='+'))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4],4),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$coefficients[i,4]/2,4),format='g',flag=' '))
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,formatC(signif(sqrt(mysum$r.squared),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a,formatC(signif(mysum$adj.r.squared,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a,formatC(signif(mysum$fstatistic[1],6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a,formatC(signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6),format='g',flag=' '))
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,formatC(signif(mysum$sigma,6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a,formatC(signif(sum(myerror*myerror),6),format='g',flag=' '))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
if(n < 200) {
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,formatC(signif(x[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(x[i]-mysum$resid[i],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(mysum$resid[i],6),format='g',flag=' '))
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,formatC(signif(gqarr[mypoint-kp3+1,1],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,2],6),format='g',flag=' '))
a<-table.element(a,formatC(signif(gqarr[mypoint-kp3+1,3],6),format='g',flag=' '))
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,signif(numsignificant1,6))
a<-table.element(a,formatC(signif(numsignificant1/numgqtests,6),format='g',flag=' '))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}
}