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 computationMon, 13 Dec 2010 22:27:10 +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/2010/Dec/13/t1292279213skw3lkn4t8odtym.htm/, Retrieved Mon, 06 May 2024 19:29:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109230, Retrieved Mon, 06 May 2024 19:29:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [MULTIPLE REGRESSI...] [2010-12-13 10:51:12] [dc30d19c3bc2be07fe595ad36c2cf923]
-   PD    [Multiple Regression] [Multiple Regressi...] [2010-12-13 22:27:10] [1638ccfec791c539017705f3e680eb33] [Current]
Feedback Forum

Post a new message
Dataseries X:
6.3	3	3,00
2.1	4	6,41
9.1	4	4,02
15.8	1	-1,64
5.2	4	5,20
10.9	1	3,52
8.3	1	4,72
11.0	4	-0,37
3.2	5	5,67
7.6	2	-0,26
6.3	1	-1,12
8.6	2	3,48
6.6	2	-0,11
9.5	2	-0,70
4.8	1	3,15
12.0	1	4,78
3.3	5	4,44
11.0	2	-0,92
4.7	1	4,93
10.4	3	-1,00
7.4	4	3,02
2.1	5	5,72
7.7	4	-2,30
17.9	1	-2,00
6.1	1	4,79
8.2	1	-0,91
8.4	3	3,13
11.9	3	-1,64
10.8	3	-1,32
13.8	1	3,23
14.3	1	3,54
15.2	2	-0,32
10.0	4	4,00
11.9	2	3,21
6.5	4	5,28
7.5	5	3,40
10.6	3	-0,55
7.4	1	3,63
8.4	2	3,83
5.7	2	-0,12
4.9	3	3,56
3.2	5	4,74
8.1	2	-1,22
11.0	2	-0,05
4.9	3	3,30
13.2	2	-0,98
9.7	4	3,62
12.8	1	3,54




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
SWS[t] = + 12.4251114781805 -0.989392470494664D[t] -0.576434196011274Wb[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
SWS[t] =  +  12.4251114781805 -0.989392470494664D[t] -0.576434196011274Wb[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]SWS[t] =  +  12.4251114781805 -0.989392470494664D[t] -0.576434196011274Wb[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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
SWS[t] = + 12.4251114781805 -0.989392470494664D[t] -0.576434196011274Wb[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12.42511147818050.91350313.601600
D-0.9893924704946640.325235-3.04210.0039120.001956
Wb-0.5764341960112740.169892-3.39290.0014510.000726

\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) & 12.4251114781805 & 0.913503 & 13.6016 & 0 & 0 \tabularnewline
D & -0.989392470494664 & 0.325235 & -3.0421 & 0.003912 & 0.001956 \tabularnewline
Wb & -0.576434196011274 & 0.169892 & -3.3929 & 0.001451 & 0.000726 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&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]12.4251114781805[/C][C]0.913503[/C][C]13.6016[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]D[/C][C]-0.989392470494664[/C][C]0.325235[/C][C]-3.0421[/C][C]0.003912[/C][C]0.001956[/C][/ROW]
[ROW][C]Wb[/C][C]-0.576434196011274[/C][C]0.169892[/C][C]-3.3929[/C][C]0.001451[/C][C]0.000726[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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)12.42511147818050.91350313.601600
D-0.9893924704946640.325235-3.04210.0039120.001956
Wb-0.5764341960112740.169892-3.39290.0014510.000726







Multiple Linear Regression - Regression Statistics
Multiple R0.624604784762453
R-squared0.390131137148151
Adjusted R-squared0.363025854354735
F-TEST (value)14.3931771574404
F-TEST (DF numerator)2
F-TEST (DF denominator)45
p-value1.47170365422111e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.92621928443409
Sum Squared Residuals385.324168526728

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.624604784762453 \tabularnewline
R-squared & 0.390131137148151 \tabularnewline
Adjusted R-squared & 0.363025854354735 \tabularnewline
F-TEST (value) & 14.3931771574404 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 1.47170365422111e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.92621928443409 \tabularnewline
Sum Squared Residuals & 385.324168526728 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.624604784762453[/C][/ROW]
[ROW][C]R-squared[/C][C]0.390131137148151[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.363025854354735[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]14.3931771574404[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]1.47170365422111e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.92621928443409[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]385.324168526728[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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.624604784762453
R-squared0.390131137148151
Adjusted R-squared0.363025854354735
F-TEST (value)14.3931771574404
F-TEST (DF numerator)2
F-TEST (DF denominator)45
p-value1.47170365422111e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.92621928443409
Sum Squared Residuals385.324168526728







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
16.37.72763147866273-1.42763147866273
22.14.77259839976962-2.67259839976962
39.16.150276128236562.94972387176344
415.812.38107108914443.41892891085563
55.25.47008377694326-0.270083776943262
610.99.40667063772621.49332936227380
78.38.71494960251267-0.414949602512666
8118.680822248726062.31917775127394
93.24.2097672343233-1.0097672343233
107.610.5961994281541-2.99619942815415
116.312.0813253072185-5.7813253072185
128.68.440335535071980.159664464928018
136.610.5097342987525-3.90973429875246
149.510.8498304743991-1.34983047439911
154.89.61995129025037-4.81995129025037
16128.680363550751993.31963644924801
173.34.91878129541717-1.61878129541717
181110.97664599752160.0233540024784132
194.78.5938984213503-3.8938984213503
2010.410.03336826270780.366631737292176
217.46.726710324247840.673289675752161
222.14.18094552452274-2.08094552452274
237.79.79334024702782-2.09334024702782
2417.912.58858739970845.31141260029157
256.18.67459920879188-2.57459920879188
268.211.9602741260561-3.76027412605614
278.47.652695033181260.747304966818737
2811.910.40228614815501.49771385184496
2910.810.21782720543140.582172794568569
3013.89.573836554569464.22616344543054
3114.39.395141953805974.90485804619403
3215.210.63078547991484.56921452008518
33106.161804812156793.83819518784321
3411.98.595972767995033.30402723200497
356.55.423969041262361.07603095873764
367.55.518272859268891.98172714073111
3710.69.773972874502750.826027125497248
387.49.34326287616495-1.94326287616495
398.48.238583566468040.161416433531964
405.710.5154986407126-4.81549864071257
414.97.40482832889642-2.50482832889642
423.24.74585103661378-1.54585103661378
438.111.1495762563250-3.04957625632497
441110.47514824699180.524851753008222
454.97.55470121985935-2.65470121985935
4613.211.01123204928232.18876795071774
479.76.380849806641083.31915019335892
4812.89.395141953805973.40485804619403

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6.3 & 7.72763147866273 & -1.42763147866273 \tabularnewline
2 & 2.1 & 4.77259839976962 & -2.67259839976962 \tabularnewline
3 & 9.1 & 6.15027612823656 & 2.94972387176344 \tabularnewline
4 & 15.8 & 12.3810710891444 & 3.41892891085563 \tabularnewline
5 & 5.2 & 5.47008377694326 & -0.270083776943262 \tabularnewline
6 & 10.9 & 9.4066706377262 & 1.49332936227380 \tabularnewline
7 & 8.3 & 8.71494960251267 & -0.414949602512666 \tabularnewline
8 & 11 & 8.68082224872606 & 2.31917775127394 \tabularnewline
9 & 3.2 & 4.2097672343233 & -1.0097672343233 \tabularnewline
10 & 7.6 & 10.5961994281541 & -2.99619942815415 \tabularnewline
11 & 6.3 & 12.0813253072185 & -5.7813253072185 \tabularnewline
12 & 8.6 & 8.44033553507198 & 0.159664464928018 \tabularnewline
13 & 6.6 & 10.5097342987525 & -3.90973429875246 \tabularnewline
14 & 9.5 & 10.8498304743991 & -1.34983047439911 \tabularnewline
15 & 4.8 & 9.61995129025037 & -4.81995129025037 \tabularnewline
16 & 12 & 8.68036355075199 & 3.31963644924801 \tabularnewline
17 & 3.3 & 4.91878129541717 & -1.61878129541717 \tabularnewline
18 & 11 & 10.9766459975216 & 0.0233540024784132 \tabularnewline
19 & 4.7 & 8.5938984213503 & -3.8938984213503 \tabularnewline
20 & 10.4 & 10.0333682627078 & 0.366631737292176 \tabularnewline
21 & 7.4 & 6.72671032424784 & 0.673289675752161 \tabularnewline
22 & 2.1 & 4.18094552452274 & -2.08094552452274 \tabularnewline
23 & 7.7 & 9.79334024702782 & -2.09334024702782 \tabularnewline
24 & 17.9 & 12.5885873997084 & 5.31141260029157 \tabularnewline
25 & 6.1 & 8.67459920879188 & -2.57459920879188 \tabularnewline
26 & 8.2 & 11.9602741260561 & -3.76027412605614 \tabularnewline
27 & 8.4 & 7.65269503318126 & 0.747304966818737 \tabularnewline
28 & 11.9 & 10.4022861481550 & 1.49771385184496 \tabularnewline
29 & 10.8 & 10.2178272054314 & 0.582172794568569 \tabularnewline
30 & 13.8 & 9.57383655456946 & 4.22616344543054 \tabularnewline
31 & 14.3 & 9.39514195380597 & 4.90485804619403 \tabularnewline
32 & 15.2 & 10.6307854799148 & 4.56921452008518 \tabularnewline
33 & 10 & 6.16180481215679 & 3.83819518784321 \tabularnewline
34 & 11.9 & 8.59597276799503 & 3.30402723200497 \tabularnewline
35 & 6.5 & 5.42396904126236 & 1.07603095873764 \tabularnewline
36 & 7.5 & 5.51827285926889 & 1.98172714073111 \tabularnewline
37 & 10.6 & 9.77397287450275 & 0.826027125497248 \tabularnewline
38 & 7.4 & 9.34326287616495 & -1.94326287616495 \tabularnewline
39 & 8.4 & 8.23858356646804 & 0.161416433531964 \tabularnewline
40 & 5.7 & 10.5154986407126 & -4.81549864071257 \tabularnewline
41 & 4.9 & 7.40482832889642 & -2.50482832889642 \tabularnewline
42 & 3.2 & 4.74585103661378 & -1.54585103661378 \tabularnewline
43 & 8.1 & 11.1495762563250 & -3.04957625632497 \tabularnewline
44 & 11 & 10.4751482469918 & 0.524851753008222 \tabularnewline
45 & 4.9 & 7.55470121985935 & -2.65470121985935 \tabularnewline
46 & 13.2 & 11.0112320492823 & 2.18876795071774 \tabularnewline
47 & 9.7 & 6.38084980664108 & 3.31915019335892 \tabularnewline
48 & 12.8 & 9.39514195380597 & 3.40485804619403 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&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]6.3[/C][C]7.72763147866273[/C][C]-1.42763147866273[/C][/ROW]
[ROW][C]2[/C][C]2.1[/C][C]4.77259839976962[/C][C]-2.67259839976962[/C][/ROW]
[ROW][C]3[/C][C]9.1[/C][C]6.15027612823656[/C][C]2.94972387176344[/C][/ROW]
[ROW][C]4[/C][C]15.8[/C][C]12.3810710891444[/C][C]3.41892891085563[/C][/ROW]
[ROW][C]5[/C][C]5.2[/C][C]5.47008377694326[/C][C]-0.270083776943262[/C][/ROW]
[ROW][C]6[/C][C]10.9[/C][C]9.4066706377262[/C][C]1.49332936227380[/C][/ROW]
[ROW][C]7[/C][C]8.3[/C][C]8.71494960251267[/C][C]-0.414949602512666[/C][/ROW]
[ROW][C]8[/C][C]11[/C][C]8.68082224872606[/C][C]2.31917775127394[/C][/ROW]
[ROW][C]9[/C][C]3.2[/C][C]4.2097672343233[/C][C]-1.0097672343233[/C][/ROW]
[ROW][C]10[/C][C]7.6[/C][C]10.5961994281541[/C][C]-2.99619942815415[/C][/ROW]
[ROW][C]11[/C][C]6.3[/C][C]12.0813253072185[/C][C]-5.7813253072185[/C][/ROW]
[ROW][C]12[/C][C]8.6[/C][C]8.44033553507198[/C][C]0.159664464928018[/C][/ROW]
[ROW][C]13[/C][C]6.6[/C][C]10.5097342987525[/C][C]-3.90973429875246[/C][/ROW]
[ROW][C]14[/C][C]9.5[/C][C]10.8498304743991[/C][C]-1.34983047439911[/C][/ROW]
[ROW][C]15[/C][C]4.8[/C][C]9.61995129025037[/C][C]-4.81995129025037[/C][/ROW]
[ROW][C]16[/C][C]12[/C][C]8.68036355075199[/C][C]3.31963644924801[/C][/ROW]
[ROW][C]17[/C][C]3.3[/C][C]4.91878129541717[/C][C]-1.61878129541717[/C][/ROW]
[ROW][C]18[/C][C]11[/C][C]10.9766459975216[/C][C]0.0233540024784132[/C][/ROW]
[ROW][C]19[/C][C]4.7[/C][C]8.5938984213503[/C][C]-3.8938984213503[/C][/ROW]
[ROW][C]20[/C][C]10.4[/C][C]10.0333682627078[/C][C]0.366631737292176[/C][/ROW]
[ROW][C]21[/C][C]7.4[/C][C]6.72671032424784[/C][C]0.673289675752161[/C][/ROW]
[ROW][C]22[/C][C]2.1[/C][C]4.18094552452274[/C][C]-2.08094552452274[/C][/ROW]
[ROW][C]23[/C][C]7.7[/C][C]9.79334024702782[/C][C]-2.09334024702782[/C][/ROW]
[ROW][C]24[/C][C]17.9[/C][C]12.5885873997084[/C][C]5.31141260029157[/C][/ROW]
[ROW][C]25[/C][C]6.1[/C][C]8.67459920879188[/C][C]-2.57459920879188[/C][/ROW]
[ROW][C]26[/C][C]8.2[/C][C]11.9602741260561[/C][C]-3.76027412605614[/C][/ROW]
[ROW][C]27[/C][C]8.4[/C][C]7.65269503318126[/C][C]0.747304966818737[/C][/ROW]
[ROW][C]28[/C][C]11.9[/C][C]10.4022861481550[/C][C]1.49771385184496[/C][/ROW]
[ROW][C]29[/C][C]10.8[/C][C]10.2178272054314[/C][C]0.582172794568569[/C][/ROW]
[ROW][C]30[/C][C]13.8[/C][C]9.57383655456946[/C][C]4.22616344543054[/C][/ROW]
[ROW][C]31[/C][C]14.3[/C][C]9.39514195380597[/C][C]4.90485804619403[/C][/ROW]
[ROW][C]32[/C][C]15.2[/C][C]10.6307854799148[/C][C]4.56921452008518[/C][/ROW]
[ROW][C]33[/C][C]10[/C][C]6.16180481215679[/C][C]3.83819518784321[/C][/ROW]
[ROW][C]34[/C][C]11.9[/C][C]8.59597276799503[/C][C]3.30402723200497[/C][/ROW]
[ROW][C]35[/C][C]6.5[/C][C]5.42396904126236[/C][C]1.07603095873764[/C][/ROW]
[ROW][C]36[/C][C]7.5[/C][C]5.51827285926889[/C][C]1.98172714073111[/C][/ROW]
[ROW][C]37[/C][C]10.6[/C][C]9.77397287450275[/C][C]0.826027125497248[/C][/ROW]
[ROW][C]38[/C][C]7.4[/C][C]9.34326287616495[/C][C]-1.94326287616495[/C][/ROW]
[ROW][C]39[/C][C]8.4[/C][C]8.23858356646804[/C][C]0.161416433531964[/C][/ROW]
[ROW][C]40[/C][C]5.7[/C][C]10.5154986407126[/C][C]-4.81549864071257[/C][/ROW]
[ROW][C]41[/C][C]4.9[/C][C]7.40482832889642[/C][C]-2.50482832889642[/C][/ROW]
[ROW][C]42[/C][C]3.2[/C][C]4.74585103661378[/C][C]-1.54585103661378[/C][/ROW]
[ROW][C]43[/C][C]8.1[/C][C]11.1495762563250[/C][C]-3.04957625632497[/C][/ROW]
[ROW][C]44[/C][C]11[/C][C]10.4751482469918[/C][C]0.524851753008222[/C][/ROW]
[ROW][C]45[/C][C]4.9[/C][C]7.55470121985935[/C][C]-2.65470121985935[/C][/ROW]
[ROW][C]46[/C][C]13.2[/C][C]11.0112320492823[/C][C]2.18876795071774[/C][/ROW]
[ROW][C]47[/C][C]9.7[/C][C]6.38084980664108[/C][C]3.31915019335892[/C][/ROW]
[ROW][C]48[/C][C]12.8[/C][C]9.39514195380597[/C][C]3.40485804619403[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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
16.37.72763147866273-1.42763147866273
22.14.77259839976962-2.67259839976962
39.16.150276128236562.94972387176344
415.812.38107108914443.41892891085563
55.25.47008377694326-0.270083776943262
610.99.40667063772621.49332936227380
78.38.71494960251267-0.414949602512666
8118.680822248726062.31917775127394
93.24.2097672343233-1.0097672343233
107.610.5961994281541-2.99619942815415
116.312.0813253072185-5.7813253072185
128.68.440335535071980.159664464928018
136.610.5097342987525-3.90973429875246
149.510.8498304743991-1.34983047439911
154.89.61995129025037-4.81995129025037
16128.680363550751993.31963644924801
173.34.91878129541717-1.61878129541717
181110.97664599752160.0233540024784132
194.78.5938984213503-3.8938984213503
2010.410.03336826270780.366631737292176
217.46.726710324247840.673289675752161
222.14.18094552452274-2.08094552452274
237.79.79334024702782-2.09334024702782
2417.912.58858739970845.31141260029157
256.18.67459920879188-2.57459920879188
268.211.9602741260561-3.76027412605614
278.47.652695033181260.747304966818737
2811.910.40228614815501.49771385184496
2910.810.21782720543140.582172794568569
3013.89.573836554569464.22616344543054
3114.39.395141953805974.90485804619403
3215.210.63078547991484.56921452008518
33106.161804812156793.83819518784321
3411.98.595972767995033.30402723200497
356.55.423969041262361.07603095873764
367.55.518272859268891.98172714073111
3710.69.773972874502750.826027125497248
387.49.34326287616495-1.94326287616495
398.48.238583566468040.161416433531964
405.710.5154986407126-4.81549864071257
414.97.40482832889642-2.50482832889642
423.24.74585103661378-1.54585103661378
438.111.1495762563250-3.04957625632497
441110.47514824699180.524851753008222
454.97.55470121985935-2.65470121985935
4613.211.01123204928232.18876795071774
479.76.380849806641083.31915019335892
4812.89.395141953805973.40485804619403







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.3692080340248080.7384160680496160.630791965975192
70.2106527936768210.4213055873536410.78934720632318
80.1158711011468620.2317422022937240.884128898853138
90.05678271218121130.1135654243624230.943217287818789
100.2406610013771370.4813220027542750.759338998622863
110.6048501773473960.7902996453052070.395149822652604
120.4996869523522110.9993739047044220.500313047647789
130.5334751182332210.9330497635335580.466524881766779
140.4393692312018650.878738462403730.560630768798135
150.5244058789634670.9511882420730660.475594121036533
160.5996505723860720.8006988552278560.400349427613928
170.5274597900291670.9450804199416650.472540209970833
180.4437052687111390.8874105374222770.556294731288861
190.4963620924250170.9927241848500350.503637907574983
200.4123154330804510.8246308661609020.587684566919549
210.3338318266197010.6676636532394020.666168173380299
220.2938892665138380.5877785330276770.706110733486162
230.251688716259240.503377432518480.74831128374076
240.4581171894597330.9162343789194660.541882810540267
250.4606359507138790.9212719014277580.539364049286121
260.5242631228304340.9514737543391330.475736877169566
270.4466279058517470.8932558117034930.553372094148253
280.3866923599261140.7733847198522290.613307640073886
290.3093776996538780.6187553993077560.690622300346122
300.3644438873837480.7288877747674960.635556112616252
310.473312611969610.946625223939220.52668738803039
320.612812602574680.7743747948506410.387187397425321
330.6455820666962690.7088358666074620.354417933303731
340.6675374368916930.6649251262166130.332462563108307
350.574803256576990.850393486846020.42519674342301
360.5185092028275560.9629815943448880.481490797172444
370.4446256902189490.8892513804378980.555374309781051
380.4063502813631430.8127005627262860.593649718636857
390.2965509204573270.5931018409146540.703449079542673
400.4078968189197780.8157936378395560.592103181080222
410.3890179030548940.7780358061097880.610982096945106
420.2717022437032830.5434044874065670.728297756296717

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.369208034024808 & 0.738416068049616 & 0.630791965975192 \tabularnewline
7 & 0.210652793676821 & 0.421305587353641 & 0.78934720632318 \tabularnewline
8 & 0.115871101146862 & 0.231742202293724 & 0.884128898853138 \tabularnewline
9 & 0.0567827121812113 & 0.113565424362423 & 0.943217287818789 \tabularnewline
10 & 0.240661001377137 & 0.481322002754275 & 0.759338998622863 \tabularnewline
11 & 0.604850177347396 & 0.790299645305207 & 0.395149822652604 \tabularnewline
12 & 0.499686952352211 & 0.999373904704422 & 0.500313047647789 \tabularnewline
13 & 0.533475118233221 & 0.933049763533558 & 0.466524881766779 \tabularnewline
14 & 0.439369231201865 & 0.87873846240373 & 0.560630768798135 \tabularnewline
15 & 0.524405878963467 & 0.951188242073066 & 0.475594121036533 \tabularnewline
16 & 0.599650572386072 & 0.800698855227856 & 0.400349427613928 \tabularnewline
17 & 0.527459790029167 & 0.945080419941665 & 0.472540209970833 \tabularnewline
18 & 0.443705268711139 & 0.887410537422277 & 0.556294731288861 \tabularnewline
19 & 0.496362092425017 & 0.992724184850035 & 0.503637907574983 \tabularnewline
20 & 0.412315433080451 & 0.824630866160902 & 0.587684566919549 \tabularnewline
21 & 0.333831826619701 & 0.667663653239402 & 0.666168173380299 \tabularnewline
22 & 0.293889266513838 & 0.587778533027677 & 0.706110733486162 \tabularnewline
23 & 0.25168871625924 & 0.50337743251848 & 0.74831128374076 \tabularnewline
24 & 0.458117189459733 & 0.916234378919466 & 0.541882810540267 \tabularnewline
25 & 0.460635950713879 & 0.921271901427758 & 0.539364049286121 \tabularnewline
26 & 0.524263122830434 & 0.951473754339133 & 0.475736877169566 \tabularnewline
27 & 0.446627905851747 & 0.893255811703493 & 0.553372094148253 \tabularnewline
28 & 0.386692359926114 & 0.773384719852229 & 0.613307640073886 \tabularnewline
29 & 0.309377699653878 & 0.618755399307756 & 0.690622300346122 \tabularnewline
30 & 0.364443887383748 & 0.728887774767496 & 0.635556112616252 \tabularnewline
31 & 0.47331261196961 & 0.94662522393922 & 0.52668738803039 \tabularnewline
32 & 0.61281260257468 & 0.774374794850641 & 0.387187397425321 \tabularnewline
33 & 0.645582066696269 & 0.708835866607462 & 0.354417933303731 \tabularnewline
34 & 0.667537436891693 & 0.664925126216613 & 0.332462563108307 \tabularnewline
35 & 0.57480325657699 & 0.85039348684602 & 0.42519674342301 \tabularnewline
36 & 0.518509202827556 & 0.962981594344888 & 0.481490797172444 \tabularnewline
37 & 0.444625690218949 & 0.889251380437898 & 0.555374309781051 \tabularnewline
38 & 0.406350281363143 & 0.812700562726286 & 0.593649718636857 \tabularnewline
39 & 0.296550920457327 & 0.593101840914654 & 0.703449079542673 \tabularnewline
40 & 0.407896818919778 & 0.815793637839556 & 0.592103181080222 \tabularnewline
41 & 0.389017903054894 & 0.778035806109788 & 0.610982096945106 \tabularnewline
42 & 0.271702243703283 & 0.543404487406567 & 0.728297756296717 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109230&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]6[/C][C]0.369208034024808[/C][C]0.738416068049616[/C][C]0.630791965975192[/C][/ROW]
[ROW][C]7[/C][C]0.210652793676821[/C][C]0.421305587353641[/C][C]0.78934720632318[/C][/ROW]
[ROW][C]8[/C][C]0.115871101146862[/C][C]0.231742202293724[/C][C]0.884128898853138[/C][/ROW]
[ROW][C]9[/C][C]0.0567827121812113[/C][C]0.113565424362423[/C][C]0.943217287818789[/C][/ROW]
[ROW][C]10[/C][C]0.240661001377137[/C][C]0.481322002754275[/C][C]0.759338998622863[/C][/ROW]
[ROW][C]11[/C][C]0.604850177347396[/C][C]0.790299645305207[/C][C]0.395149822652604[/C][/ROW]
[ROW][C]12[/C][C]0.499686952352211[/C][C]0.999373904704422[/C][C]0.500313047647789[/C][/ROW]
[ROW][C]13[/C][C]0.533475118233221[/C][C]0.933049763533558[/C][C]0.466524881766779[/C][/ROW]
[ROW][C]14[/C][C]0.439369231201865[/C][C]0.87873846240373[/C][C]0.560630768798135[/C][/ROW]
[ROW][C]15[/C][C]0.524405878963467[/C][C]0.951188242073066[/C][C]0.475594121036533[/C][/ROW]
[ROW][C]16[/C][C]0.599650572386072[/C][C]0.800698855227856[/C][C]0.400349427613928[/C][/ROW]
[ROW][C]17[/C][C]0.527459790029167[/C][C]0.945080419941665[/C][C]0.472540209970833[/C][/ROW]
[ROW][C]18[/C][C]0.443705268711139[/C][C]0.887410537422277[/C][C]0.556294731288861[/C][/ROW]
[ROW][C]19[/C][C]0.496362092425017[/C][C]0.992724184850035[/C][C]0.503637907574983[/C][/ROW]
[ROW][C]20[/C][C]0.412315433080451[/C][C]0.824630866160902[/C][C]0.587684566919549[/C][/ROW]
[ROW][C]21[/C][C]0.333831826619701[/C][C]0.667663653239402[/C][C]0.666168173380299[/C][/ROW]
[ROW][C]22[/C][C]0.293889266513838[/C][C]0.587778533027677[/C][C]0.706110733486162[/C][/ROW]
[ROW][C]23[/C][C]0.25168871625924[/C][C]0.50337743251848[/C][C]0.74831128374076[/C][/ROW]
[ROW][C]24[/C][C]0.458117189459733[/C][C]0.916234378919466[/C][C]0.541882810540267[/C][/ROW]
[ROW][C]25[/C][C]0.460635950713879[/C][C]0.921271901427758[/C][C]0.539364049286121[/C][/ROW]
[ROW][C]26[/C][C]0.524263122830434[/C][C]0.951473754339133[/C][C]0.475736877169566[/C][/ROW]
[ROW][C]27[/C][C]0.446627905851747[/C][C]0.893255811703493[/C][C]0.553372094148253[/C][/ROW]
[ROW][C]28[/C][C]0.386692359926114[/C][C]0.773384719852229[/C][C]0.613307640073886[/C][/ROW]
[ROW][C]29[/C][C]0.309377699653878[/C][C]0.618755399307756[/C][C]0.690622300346122[/C][/ROW]
[ROW][C]30[/C][C]0.364443887383748[/C][C]0.728887774767496[/C][C]0.635556112616252[/C][/ROW]
[ROW][C]31[/C][C]0.47331261196961[/C][C]0.94662522393922[/C][C]0.52668738803039[/C][/ROW]
[ROW][C]32[/C][C]0.61281260257468[/C][C]0.774374794850641[/C][C]0.387187397425321[/C][/ROW]
[ROW][C]33[/C][C]0.645582066696269[/C][C]0.708835866607462[/C][C]0.354417933303731[/C][/ROW]
[ROW][C]34[/C][C]0.667537436891693[/C][C]0.664925126216613[/C][C]0.332462563108307[/C][/ROW]
[ROW][C]35[/C][C]0.57480325657699[/C][C]0.85039348684602[/C][C]0.42519674342301[/C][/ROW]
[ROW][C]36[/C][C]0.518509202827556[/C][C]0.962981594344888[/C][C]0.481490797172444[/C][/ROW]
[ROW][C]37[/C][C]0.444625690218949[/C][C]0.889251380437898[/C][C]0.555374309781051[/C][/ROW]
[ROW][C]38[/C][C]0.406350281363143[/C][C]0.812700562726286[/C][C]0.593649718636857[/C][/ROW]
[ROW][C]39[/C][C]0.296550920457327[/C][C]0.593101840914654[/C][C]0.703449079542673[/C][/ROW]
[ROW][C]40[/C][C]0.407896818919778[/C][C]0.815793637839556[/C][C]0.592103181080222[/C][/ROW]
[ROW][C]41[/C][C]0.389017903054894[/C][C]0.778035806109788[/C][C]0.610982096945106[/C][/ROW]
[ROW][C]42[/C][C]0.271702243703283[/C][C]0.543404487406567[/C][C]0.728297756296717[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109230&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109230&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
60.3692080340248080.7384160680496160.630791965975192
70.2106527936768210.4213055873536410.78934720632318
80.1158711011468620.2317422022937240.884128898853138
90.05678271218121130.1135654243624230.943217287818789
100.2406610013771370.4813220027542750.759338998622863
110.6048501773473960.7902996453052070.395149822652604
120.4996869523522110.9993739047044220.500313047647789
130.5334751182332210.9330497635335580.466524881766779
140.4393692312018650.878738462403730.560630768798135
150.5244058789634670.9511882420730660.475594121036533
160.5996505723860720.8006988552278560.400349427613928
170.5274597900291670.9450804199416650.472540209970833
180.4437052687111390.8874105374222770.556294731288861
190.4963620924250170.9927241848500350.503637907574983
200.4123154330804510.8246308661609020.587684566919549
210.3338318266197010.6676636532394020.666168173380299
220.2938892665138380.5877785330276770.706110733486162
230.251688716259240.503377432518480.74831128374076
240.4581171894597330.9162343789194660.541882810540267
250.4606359507138790.9212719014277580.539364049286121
260.5242631228304340.9514737543391330.475736877169566
270.4466279058517470.8932558117034930.553372094148253
280.3866923599261140.7733847198522290.613307640073886
290.3093776996538780.6187553993077560.690622300346122
300.3644438873837480.7288877747674960.635556112616252
310.473312611969610.946625223939220.52668738803039
320.612812602574680.7743747948506410.387187397425321
330.6455820666962690.7088358666074620.354417933303731
340.6675374368916930.6649251262166130.332462563108307
350.574803256576990.850393486846020.42519674342301
360.5185092028275560.9629815943448880.481490797172444
370.4446256902189490.8892513804378980.555374309781051
380.4063502813631430.8127005627262860.593649718636857
390.2965509204573270.5931018409146540.703449079542673
400.4078968189197780.8157936378395560.592103181080222
410.3890179030548940.7780358061097880.610982096945106
420.2717022437032830.5434044874065670.728297756296717







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
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=109230&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=109230&T=6

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



Parameters (Session):
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')
}