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 computationThu, 02 Dec 2010 22:34:45 +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/02/t1291329258ug6da18n74pg9w8.htm/, Retrieved Sun, 05 May 2024 18:42:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104492, Retrieved Sun, 05 May 2024 18:42:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact106
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2010-12-02 22:34:45] [c7041fab4904771a5085f5eb0f28763f] [Current]
Feedback Forum

Post a new message
Dataseries X:
603.6	0	741.7	993.3	-820.8
-145.8	0	603.6	741.7	993.3
-35.1	0	-145.8	603.6	741.7
395.1	0	-35.1	-145.8	603.6
523.1	0	395.1	-35.1	-145.8
462.3	0	523.1	395.1	-35.1
183.4	0	462.3	523.1	395.1
791.5	0	183.4	462.3	523.1
344.8	0	791.5	183.4	462.3
-217.0	0	344.8	791.5	183.4
406.7	0	-217.0	344.8	791.5
228.6	0	406.7	-217.0	344.8
-580.1	0	228.6	406.7	-217.0
-1550.4	0	-580.1	228.6	406.7
-1447.5	0	-1550.4	-580.1	228.6
-40.1	0	-1447.5	-1550.4	-580.1
-1033.5	0	-40.1	-1447.5	-1550.4
-925.6	0	-1033.5	-40.1	-1447.5
-347.8	0	-925.6	-1033.5	-40.1
-447.7	0	-347.8	-925.6	-1033.5
-102.6	0	-447.7	-347.8	-925.6
-2062.2	0	-102.6	-447.7	-347.8
-929.7	1	-2062.2	-102.6	-447.7
-720.7	1	-929.7	-2062.2	-102.6
-1541.8	1	-720.7	-929.7	-2062.2
-1432.3	1	-1541.8	-720.7	-929.7
-1216.2	1	-1432.3	-1541.8	-720.7
-212.8	1	-1216.2	-1432.3	-1541.8
-378.2	1	-212.8	-1216.2	-1432.3
76.9	1	-378.2	-212.8	-1216.2
-101.3	1	76.9	-378.2	-212.8
220.4	1	-101.3	76.9	-378.2
495.6	1	220.4	-101.3	76.9
-1035.2	1	495.6	220.4	-101.3
61.8	1	-1035.2	495.6	220.4
-734.8	1	61.8	-1035.2	495.6
-6.9	1	-734.8	61.8	-1035.2
-1061.1	1	-6.9	-734.8	61.8
-854.6	1	-1061.1	-6.9	-734.8
-186.5	1	-854.6	-1061.1	-6.9
244.0	1	-186.5	-854.6	-1061.1
-992.6	1	244.0	-186.5	-854.6
-335.2	1	-992.6	244.0	-186.5
316.8	1	-335.2	-992.6	244.0
477.6	1	316.8	-335.2	-992.6
-572.1	1	477.6	316.8	-335.2
1115.2	1	-572.1	477.6	316.8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&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]5 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=104492&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = -12.6450584188877 + 275.169286301869Dummy[t] + 0.29523736946469vertraging1[t] + 0.456063770979032vertraging2[t] + 0.149937295128415vertraging3[t] -322.735387706527M1[t] -968.227700030195M2[t] -453.002567742199M3[t] + 722.890840676447M4[t] + 343.955904339616M5[t] -216.469081464292M6[t] -28.0228331351933M7[t] + 394.064402937318M8[t] + 309.907158270251M9[t] -1185.56832625582M10[t] + 166.465422769620M11[t] -2.80813744948333t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  -12.6450584188877 +  275.169286301869Dummy[t] +  0.29523736946469vertraging1[t] +  0.456063770979032vertraging2[t] +  0.149937295128415vertraging3[t] -322.735387706527M1[t] -968.227700030195M2[t] -453.002567742199M3[t] +  722.890840676447M4[t] +  343.955904339616M5[t] -216.469081464292M6[t] -28.0228331351933M7[t] +  394.064402937318M8[t] +  309.907158270251M9[t] -1185.56832625582M10[t] +  166.465422769620M11[t] -2.80813744948333t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  -12.6450584188877 +  275.169286301869Dummy[t] +  0.29523736946469vertraging1[t] +  0.456063770979032vertraging2[t] +  0.149937295128415vertraging3[t] -322.735387706527M1[t] -968.227700030195M2[t] -453.002567742199M3[t] +  722.890840676447M4[t] +  343.955904339616M5[t] -216.469081464292M6[t] -28.0228331351933M7[t] +  394.064402937318M8[t] +  309.907158270251M9[t] -1185.56832625582M10[t] +  166.465422769620M11[t] -2.80813744948333t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104492&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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
Totaal[t] = -12.6450584188877 + 275.169286301869Dummy[t] + 0.29523736946469vertraging1[t] + 0.456063770979032vertraging2[t] + 0.149937295128415vertraging3[t] -322.735387706527M1[t] -968.227700030195M2[t] -453.002567742199M3[t] + 722.890840676447M4[t] + 343.955904339616M5[t] -216.469081464292M6[t] -28.0228331351933M7[t] + 394.064402937318M8[t] + 309.907158270251M9[t] -1185.56832625582M10[t] + 166.465422769620M11[t] -2.80813744948333t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-12.6450584188877344.360516-0.03670.9709510.485476
Dummy275.169286301869281.7920390.97650.3366270.168313
vertraging10.295237369464690.1832241.61130.1175770.058788
vertraging20.4560637709790320.1737822.62430.0135230.006762
vertraging30.1499372951284150.1835950.81670.4205520.210276
M1-322.735387706527498.772024-0.64710.5225140.261257
M2-968.227700030195389.349342-2.48680.018680.00934
M3-453.002567742199415.49054-1.09030.2842680.142134
M4722.890840676447367.3786191.96770.0584080.029204
M5343.955904339616433.5831110.79330.433840.21692
M6-216.469081464292472.947964-0.45770.6504650.325232
M7-28.0228331351933395.255413-0.07090.9439490.471975
M8394.064402937318386.5217621.01950.3161110.158055
M9309.907158270251420.3228430.73730.4666630.233332
M10-1185.56832625582438.541996-2.70340.0111920.005596
M11166.465422769620478.1065330.34820.7301390.36507
t-2.8081374494833310.561076-0.26590.7921390.396069

\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.6450584188877 & 344.360516 & -0.0367 & 0.970951 & 0.485476 \tabularnewline
Dummy & 275.169286301869 & 281.792039 & 0.9765 & 0.336627 & 0.168313 \tabularnewline
vertraging1 & 0.29523736946469 & 0.183224 & 1.6113 & 0.117577 & 0.058788 \tabularnewline
vertraging2 & 0.456063770979032 & 0.173782 & 2.6243 & 0.013523 & 0.006762 \tabularnewline
vertraging3 & 0.149937295128415 & 0.183595 & 0.8167 & 0.420552 & 0.210276 \tabularnewline
M1 & -322.735387706527 & 498.772024 & -0.6471 & 0.522514 & 0.261257 \tabularnewline
M2 & -968.227700030195 & 389.349342 & -2.4868 & 0.01868 & 0.00934 \tabularnewline
M3 & -453.002567742199 & 415.49054 & -1.0903 & 0.284268 & 0.142134 \tabularnewline
M4 & 722.890840676447 & 367.378619 & 1.9677 & 0.058408 & 0.029204 \tabularnewline
M5 & 343.955904339616 & 433.583111 & 0.7933 & 0.43384 & 0.21692 \tabularnewline
M6 & -216.469081464292 & 472.947964 & -0.4577 & 0.650465 & 0.325232 \tabularnewline
M7 & -28.0228331351933 & 395.255413 & -0.0709 & 0.943949 & 0.471975 \tabularnewline
M8 & 394.064402937318 & 386.521762 & 1.0195 & 0.316111 & 0.158055 \tabularnewline
M9 & 309.907158270251 & 420.322843 & 0.7373 & 0.466663 & 0.233332 \tabularnewline
M10 & -1185.56832625582 & 438.541996 & -2.7034 & 0.011192 & 0.005596 \tabularnewline
M11 & 166.465422769620 & 478.106533 & 0.3482 & 0.730139 & 0.36507 \tabularnewline
t & -2.80813744948333 & 10.561076 & -0.2659 & 0.792139 & 0.396069 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&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.6450584188877[/C][C]344.360516[/C][C]-0.0367[/C][C]0.970951[/C][C]0.485476[/C][/ROW]
[ROW][C]Dummy[/C][C]275.169286301869[/C][C]281.792039[/C][C]0.9765[/C][C]0.336627[/C][C]0.168313[/C][/ROW]
[ROW][C]vertraging1[/C][C]0.29523736946469[/C][C]0.183224[/C][C]1.6113[/C][C]0.117577[/C][C]0.058788[/C][/ROW]
[ROW][C]vertraging2[/C][C]0.456063770979032[/C][C]0.173782[/C][C]2.6243[/C][C]0.013523[/C][C]0.006762[/C][/ROW]
[ROW][C]vertraging3[/C][C]0.149937295128415[/C][C]0.183595[/C][C]0.8167[/C][C]0.420552[/C][C]0.210276[/C][/ROW]
[ROW][C]M1[/C][C]-322.735387706527[/C][C]498.772024[/C][C]-0.6471[/C][C]0.522514[/C][C]0.261257[/C][/ROW]
[ROW][C]M2[/C][C]-968.227700030195[/C][C]389.349342[/C][C]-2.4868[/C][C]0.01868[/C][C]0.00934[/C][/ROW]
[ROW][C]M3[/C][C]-453.002567742199[/C][C]415.49054[/C][C]-1.0903[/C][C]0.284268[/C][C]0.142134[/C][/ROW]
[ROW][C]M4[/C][C]722.890840676447[/C][C]367.378619[/C][C]1.9677[/C][C]0.058408[/C][C]0.029204[/C][/ROW]
[ROW][C]M5[/C][C]343.955904339616[/C][C]433.583111[/C][C]0.7933[/C][C]0.43384[/C][C]0.21692[/C][/ROW]
[ROW][C]M6[/C][C]-216.469081464292[/C][C]472.947964[/C][C]-0.4577[/C][C]0.650465[/C][C]0.325232[/C][/ROW]
[ROW][C]M7[/C][C]-28.0228331351933[/C][C]395.255413[/C][C]-0.0709[/C][C]0.943949[/C][C]0.471975[/C][/ROW]
[ROW][C]M8[/C][C]394.064402937318[/C][C]386.521762[/C][C]1.0195[/C][C]0.316111[/C][C]0.158055[/C][/ROW]
[ROW][C]M9[/C][C]309.907158270251[/C][C]420.322843[/C][C]0.7373[/C][C]0.466663[/C][C]0.233332[/C][/ROW]
[ROW][C]M10[/C][C]-1185.56832625582[/C][C]438.541996[/C][C]-2.7034[/C][C]0.011192[/C][C]0.005596[/C][/ROW]
[ROW][C]M11[/C][C]166.465422769620[/C][C]478.106533[/C][C]0.3482[/C][C]0.730139[/C][C]0.36507[/C][/ROW]
[ROW][C]t[/C][C]-2.80813744948333[/C][C]10.561076[/C][C]-0.2659[/C][C]0.792139[/C][C]0.396069[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104492&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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.6450584188877344.360516-0.03670.9709510.485476
Dummy275.169286301869281.7920390.97650.3366270.168313
vertraging10.295237369464690.1832241.61130.1175770.058788
vertraging20.4560637709790320.1737822.62430.0135230.006762
vertraging30.1499372951284150.1835950.81670.4205520.210276
M1-322.735387706527498.772024-0.64710.5225140.261257
M2-968.227700030195389.349342-2.48680.018680.00934
M3-453.002567742199415.49054-1.09030.2842680.142134
M4722.890840676447367.3786191.96770.0584080.029204
M5343.955904339616433.5831110.79330.433840.21692
M6-216.469081464292472.947964-0.45770.6504650.325232
M7-28.0228331351933395.255413-0.07090.9439490.471975
M8394.064402937318386.5217621.01950.3161110.158055
M9309.907158270251420.3228430.73730.4666630.233332
M10-1185.56832625582438.541996-2.70340.0111920.005596
M11166.465422769620478.1065330.34820.7301390.36507
t-2.8081374494833310.561076-0.26590.7921390.396069







Multiple Linear Regression - Regression Statistics
Multiple R0.86614625861463
R-squared0.750209341312121
Adjusted R-squared0.616987656678586
F-TEST (value)5.63128550262511
F-TEST (DF numerator)16
F-TEST (DF denominator)30
p-value2.44282330922330e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation441.620383129706
Sum Squared Residuals5850856.88386886

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.86614625861463 \tabularnewline
R-squared & 0.750209341312121 \tabularnewline
Adjusted R-squared & 0.616987656678586 \tabularnewline
F-TEST (value) & 5.63128550262511 \tabularnewline
F-TEST (DF numerator) & 16 \tabularnewline
F-TEST (DF denominator) & 30 \tabularnewline
p-value & 2.44282330922330e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 441.620383129706 \tabularnewline
Sum Squared Residuals & 5850856.88386886 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.86614625861463[/C][/ROW]
[ROW][C]R-squared[/C][C]0.750209341312121[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.616987656678586[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.63128550262511[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]16[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]30[/C][/ROW]
[ROW][C]p-value[/C][C]2.44282330922330e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]441.620383129706[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5850856.88386886[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104492&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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.86614625861463
R-squared0.750209341312121
Adjusted R-squared0.616987656678586
F-TEST (value)5.63128550262511
F-TEST (DF numerator)16
F-TEST (DF denominator)30
p-value2.44282330922330e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation441.620383129706
Sum Squared Residuals5850856.88386886







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1603.6210.728585229132392.871414770868
2-145.8-321.088542952958175.288542952958
3-35.1-130.62906301779995.5290630177994
4395.1712.658454322183-317.558454322183
5523.1396.049747357724127.050252642276
6462.383.4037002417086378.896299758291
7183.4373.97056610743-190.57056610743
8791.5702.37125888766989.1287411123312
9344.8658.627347872737-313.827347872737
10-217-736.023939521666519.023939521666
11406.7334.79050056028971.9094994397113
12228.626.4628714064295202.137128593571
13-580.1-151.450227694763-428.649772305237
14-1550.4-1026.21820479378-524.181795206217
15-1447.5-1195.79263339997-251.707366600028
16-40.1-556.100404664197516.000404664197
17-1033.5-620.881600095266-412.618399904734
18-925.6-820.110827230277-105.489172769724
19-347.8-844.64860511226496.84860511226
20-447.7-354.519782504464-93.1802174955358
21-102.6-191.28749681449688.687496814496
22-2062.2-1546.6117041834-515.588295816601
23-929.7-358.355083927040-571.34491607296
24-720.7-1035.23152828908314.531528289077
25-1541.8-1076.39534612685-465.404653873146
26-1432.3-1701.99388509992269.693885099915
27-1216.2-1500.38546597406284.185465974064
28-212.8-336.673929571319123.873929571319
29-378.2-307.202312111633-70.9976878883672
3076.9-429.251858996873506.151858996873
31-101.3-34.2370870619575-67.0629129380425
32220.4515.185705880781-294.785705880781
33495.6510.164084545499-14.5640845454994
34-1035.2-786.873324221307-248.326675778693
3561.8284.146499794348-222.346499794348
36-734.8-218.131343117353-516.668656882647
37-6.9-508.083011407514501.183011407514
38-1061.1-1140.2993671533479.1993671533435
39-854.6-726.592837608164-128.007162391836
40-186.5135.815879913334-322.315879913334
41244-112.565835150826356.565835150826
42-992.6-213.041014014559-779.55898598544
43-335.2-95.9848739332123-239.215126066788
44316.817.9628177360146298.837182263985
45477.6237.896064396260239.703935603740
46-572.1-816.991032073629244.891032073629
471115.2393.418083572403721.781916427597

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 603.6 & 210.728585229132 & 392.871414770868 \tabularnewline
2 & -145.8 & -321.088542952958 & 175.288542952958 \tabularnewline
3 & -35.1 & -130.629063017799 & 95.5290630177994 \tabularnewline
4 & 395.1 & 712.658454322183 & -317.558454322183 \tabularnewline
5 & 523.1 & 396.049747357724 & 127.050252642276 \tabularnewline
6 & 462.3 & 83.4037002417086 & 378.896299758291 \tabularnewline
7 & 183.4 & 373.97056610743 & -190.57056610743 \tabularnewline
8 & 791.5 & 702.371258887669 & 89.1287411123312 \tabularnewline
9 & 344.8 & 658.627347872737 & -313.827347872737 \tabularnewline
10 & -217 & -736.023939521666 & 519.023939521666 \tabularnewline
11 & 406.7 & 334.790500560289 & 71.9094994397113 \tabularnewline
12 & 228.6 & 26.4628714064295 & 202.137128593571 \tabularnewline
13 & -580.1 & -151.450227694763 & -428.649772305237 \tabularnewline
14 & -1550.4 & -1026.21820479378 & -524.181795206217 \tabularnewline
15 & -1447.5 & -1195.79263339997 & -251.707366600028 \tabularnewline
16 & -40.1 & -556.100404664197 & 516.000404664197 \tabularnewline
17 & -1033.5 & -620.881600095266 & -412.618399904734 \tabularnewline
18 & -925.6 & -820.110827230277 & -105.489172769724 \tabularnewline
19 & -347.8 & -844.64860511226 & 496.84860511226 \tabularnewline
20 & -447.7 & -354.519782504464 & -93.1802174955358 \tabularnewline
21 & -102.6 & -191.287496814496 & 88.687496814496 \tabularnewline
22 & -2062.2 & -1546.6117041834 & -515.588295816601 \tabularnewline
23 & -929.7 & -358.355083927040 & -571.34491607296 \tabularnewline
24 & -720.7 & -1035.23152828908 & 314.531528289077 \tabularnewline
25 & -1541.8 & -1076.39534612685 & -465.404653873146 \tabularnewline
26 & -1432.3 & -1701.99388509992 & 269.693885099915 \tabularnewline
27 & -1216.2 & -1500.38546597406 & 284.185465974064 \tabularnewline
28 & -212.8 & -336.673929571319 & 123.873929571319 \tabularnewline
29 & -378.2 & -307.202312111633 & -70.9976878883672 \tabularnewline
30 & 76.9 & -429.251858996873 & 506.151858996873 \tabularnewline
31 & -101.3 & -34.2370870619575 & -67.0629129380425 \tabularnewline
32 & 220.4 & 515.185705880781 & -294.785705880781 \tabularnewline
33 & 495.6 & 510.164084545499 & -14.5640845454994 \tabularnewline
34 & -1035.2 & -786.873324221307 & -248.326675778693 \tabularnewline
35 & 61.8 & 284.146499794348 & -222.346499794348 \tabularnewline
36 & -734.8 & -218.131343117353 & -516.668656882647 \tabularnewline
37 & -6.9 & -508.083011407514 & 501.183011407514 \tabularnewline
38 & -1061.1 & -1140.29936715334 & 79.1993671533435 \tabularnewline
39 & -854.6 & -726.592837608164 & -128.007162391836 \tabularnewline
40 & -186.5 & 135.815879913334 & -322.315879913334 \tabularnewline
41 & 244 & -112.565835150826 & 356.565835150826 \tabularnewline
42 & -992.6 & -213.041014014559 & -779.55898598544 \tabularnewline
43 & -335.2 & -95.9848739332123 & -239.215126066788 \tabularnewline
44 & 316.8 & 17.9628177360146 & 298.837182263985 \tabularnewline
45 & 477.6 & 237.896064396260 & 239.703935603740 \tabularnewline
46 & -572.1 & -816.991032073629 & 244.891032073629 \tabularnewline
47 & 1115.2 & 393.418083572403 & 721.781916427597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&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]603.6[/C][C]210.728585229132[/C][C]392.871414770868[/C][/ROW]
[ROW][C]2[/C][C]-145.8[/C][C]-321.088542952958[/C][C]175.288542952958[/C][/ROW]
[ROW][C]3[/C][C]-35.1[/C][C]-130.629063017799[/C][C]95.5290630177994[/C][/ROW]
[ROW][C]4[/C][C]395.1[/C][C]712.658454322183[/C][C]-317.558454322183[/C][/ROW]
[ROW][C]5[/C][C]523.1[/C][C]396.049747357724[/C][C]127.050252642276[/C][/ROW]
[ROW][C]6[/C][C]462.3[/C][C]83.4037002417086[/C][C]378.896299758291[/C][/ROW]
[ROW][C]7[/C][C]183.4[/C][C]373.97056610743[/C][C]-190.57056610743[/C][/ROW]
[ROW][C]8[/C][C]791.5[/C][C]702.371258887669[/C][C]89.1287411123312[/C][/ROW]
[ROW][C]9[/C][C]344.8[/C][C]658.627347872737[/C][C]-313.827347872737[/C][/ROW]
[ROW][C]10[/C][C]-217[/C][C]-736.023939521666[/C][C]519.023939521666[/C][/ROW]
[ROW][C]11[/C][C]406.7[/C][C]334.790500560289[/C][C]71.9094994397113[/C][/ROW]
[ROW][C]12[/C][C]228.6[/C][C]26.4628714064295[/C][C]202.137128593571[/C][/ROW]
[ROW][C]13[/C][C]-580.1[/C][C]-151.450227694763[/C][C]-428.649772305237[/C][/ROW]
[ROW][C]14[/C][C]-1550.4[/C][C]-1026.21820479378[/C][C]-524.181795206217[/C][/ROW]
[ROW][C]15[/C][C]-1447.5[/C][C]-1195.79263339997[/C][C]-251.707366600028[/C][/ROW]
[ROW][C]16[/C][C]-40.1[/C][C]-556.100404664197[/C][C]516.000404664197[/C][/ROW]
[ROW][C]17[/C][C]-1033.5[/C][C]-620.881600095266[/C][C]-412.618399904734[/C][/ROW]
[ROW][C]18[/C][C]-925.6[/C][C]-820.110827230277[/C][C]-105.489172769724[/C][/ROW]
[ROW][C]19[/C][C]-347.8[/C][C]-844.64860511226[/C][C]496.84860511226[/C][/ROW]
[ROW][C]20[/C][C]-447.7[/C][C]-354.519782504464[/C][C]-93.1802174955358[/C][/ROW]
[ROW][C]21[/C][C]-102.6[/C][C]-191.287496814496[/C][C]88.687496814496[/C][/ROW]
[ROW][C]22[/C][C]-2062.2[/C][C]-1546.6117041834[/C][C]-515.588295816601[/C][/ROW]
[ROW][C]23[/C][C]-929.7[/C][C]-358.355083927040[/C][C]-571.34491607296[/C][/ROW]
[ROW][C]24[/C][C]-720.7[/C][C]-1035.23152828908[/C][C]314.531528289077[/C][/ROW]
[ROW][C]25[/C][C]-1541.8[/C][C]-1076.39534612685[/C][C]-465.404653873146[/C][/ROW]
[ROW][C]26[/C][C]-1432.3[/C][C]-1701.99388509992[/C][C]269.693885099915[/C][/ROW]
[ROW][C]27[/C][C]-1216.2[/C][C]-1500.38546597406[/C][C]284.185465974064[/C][/ROW]
[ROW][C]28[/C][C]-212.8[/C][C]-336.673929571319[/C][C]123.873929571319[/C][/ROW]
[ROW][C]29[/C][C]-378.2[/C][C]-307.202312111633[/C][C]-70.9976878883672[/C][/ROW]
[ROW][C]30[/C][C]76.9[/C][C]-429.251858996873[/C][C]506.151858996873[/C][/ROW]
[ROW][C]31[/C][C]-101.3[/C][C]-34.2370870619575[/C][C]-67.0629129380425[/C][/ROW]
[ROW][C]32[/C][C]220.4[/C][C]515.185705880781[/C][C]-294.785705880781[/C][/ROW]
[ROW][C]33[/C][C]495.6[/C][C]510.164084545499[/C][C]-14.5640845454994[/C][/ROW]
[ROW][C]34[/C][C]-1035.2[/C][C]-786.873324221307[/C][C]-248.326675778693[/C][/ROW]
[ROW][C]35[/C][C]61.8[/C][C]284.146499794348[/C][C]-222.346499794348[/C][/ROW]
[ROW][C]36[/C][C]-734.8[/C][C]-218.131343117353[/C][C]-516.668656882647[/C][/ROW]
[ROW][C]37[/C][C]-6.9[/C][C]-508.083011407514[/C][C]501.183011407514[/C][/ROW]
[ROW][C]38[/C][C]-1061.1[/C][C]-1140.29936715334[/C][C]79.1993671533435[/C][/ROW]
[ROW][C]39[/C][C]-854.6[/C][C]-726.592837608164[/C][C]-128.007162391836[/C][/ROW]
[ROW][C]40[/C][C]-186.5[/C][C]135.815879913334[/C][C]-322.315879913334[/C][/ROW]
[ROW][C]41[/C][C]244[/C][C]-112.565835150826[/C][C]356.565835150826[/C][/ROW]
[ROW][C]42[/C][C]-992.6[/C][C]-213.041014014559[/C][C]-779.55898598544[/C][/ROW]
[ROW][C]43[/C][C]-335.2[/C][C]-95.9848739332123[/C][C]-239.215126066788[/C][/ROW]
[ROW][C]44[/C][C]316.8[/C][C]17.9628177360146[/C][C]298.837182263985[/C][/ROW]
[ROW][C]45[/C][C]477.6[/C][C]237.896064396260[/C][C]239.703935603740[/C][/ROW]
[ROW][C]46[/C][C]-572.1[/C][C]-816.991032073629[/C][C]244.891032073629[/C][/ROW]
[ROW][C]47[/C][C]1115.2[/C][C]393.418083572403[/C][C]721.781916427597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104492&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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
1603.6210.728585229132392.871414770868
2-145.8-321.088542952958175.288542952958
3-35.1-130.62906301779995.5290630177994
4395.1712.658454322183-317.558454322183
5523.1396.049747357724127.050252642276
6462.383.4037002417086378.896299758291
7183.4373.97056610743-190.57056610743
8791.5702.37125888766989.1287411123312
9344.8658.627347872737-313.827347872737
10-217-736.023939521666519.023939521666
11406.7334.79050056028971.9094994397113
12228.626.4628714064295202.137128593571
13-580.1-151.450227694763-428.649772305237
14-1550.4-1026.21820479378-524.181795206217
15-1447.5-1195.79263339997-251.707366600028
16-40.1-556.100404664197516.000404664197
17-1033.5-620.881600095266-412.618399904734
18-925.6-820.110827230277-105.489172769724
19-347.8-844.64860511226496.84860511226
20-447.7-354.519782504464-93.1802174955358
21-102.6-191.28749681449688.687496814496
22-2062.2-1546.6117041834-515.588295816601
23-929.7-358.355083927040-571.34491607296
24-720.7-1035.23152828908314.531528289077
25-1541.8-1076.39534612685-465.404653873146
26-1432.3-1701.99388509992269.693885099915
27-1216.2-1500.38546597406284.185465974064
28-212.8-336.673929571319123.873929571319
29-378.2-307.202312111633-70.9976878883672
3076.9-429.251858996873506.151858996873
31-101.3-34.2370870619575-67.0629129380425
32220.4515.185705880781-294.785705880781
33495.6510.164084545499-14.5640845454994
34-1035.2-786.873324221307-248.326675778693
3561.8284.146499794348-222.346499794348
36-734.8-218.131343117353-516.668656882647
37-6.9-508.083011407514501.183011407514
38-1061.1-1140.2993671533479.1993671533435
39-854.6-726.592837608164-128.007162391836
40-186.5135.815879913334-322.315879913334
41244-112.565835150826356.565835150826
42-992.6-213.041014014559-779.55898598544
43-335.2-95.9848739332123-239.215126066788
44316.817.9628177360146298.837182263985
45477.6237.896064396260239.703935603740
46-572.1-816.991032073629244.891032073629
471115.2393.418083572403721.781916427597







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
200.2061369293313960.4122738586627920.793863070668604
210.2846019270831960.5692038541663920.715398072916804
220.1947196030728020.3894392061456040.805280396927198
230.1506652234910570.3013304469821140.849334776508943
240.08550736242816340.1710147248563270.914492637571837
250.1285165013585910.2570330027171820.871483498641409
260.1800628523061230.3601257046122450.819937147693877
270.1445358487980100.2890716975960210.85546415120199

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
20 & 0.206136929331396 & 0.412273858662792 & 0.793863070668604 \tabularnewline
21 & 0.284601927083196 & 0.569203854166392 & 0.715398072916804 \tabularnewline
22 & 0.194719603072802 & 0.389439206145604 & 0.805280396927198 \tabularnewline
23 & 0.150665223491057 & 0.301330446982114 & 0.849334776508943 \tabularnewline
24 & 0.0855073624281634 & 0.171014724856327 & 0.914492637571837 \tabularnewline
25 & 0.128516501358591 & 0.257033002717182 & 0.871483498641409 \tabularnewline
26 & 0.180062852306123 & 0.360125704612245 & 0.819937147693877 \tabularnewline
27 & 0.144535848798010 & 0.289071697596021 & 0.85546415120199 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104492&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]20[/C][C]0.206136929331396[/C][C]0.412273858662792[/C][C]0.793863070668604[/C][/ROW]
[ROW][C]21[/C][C]0.284601927083196[/C][C]0.569203854166392[/C][C]0.715398072916804[/C][/ROW]
[ROW][C]22[/C][C]0.194719603072802[/C][C]0.389439206145604[/C][C]0.805280396927198[/C][/ROW]
[ROW][C]23[/C][C]0.150665223491057[/C][C]0.301330446982114[/C][C]0.849334776508943[/C][/ROW]
[ROW][C]24[/C][C]0.0855073624281634[/C][C]0.171014724856327[/C][C]0.914492637571837[/C][/ROW]
[ROW][C]25[/C][C]0.128516501358591[/C][C]0.257033002717182[/C][C]0.871483498641409[/C][/ROW]
[ROW][C]26[/C][C]0.180062852306123[/C][C]0.360125704612245[/C][C]0.819937147693877[/C][/ROW]
[ROW][C]27[/C][C]0.144535848798010[/C][C]0.289071697596021[/C][C]0.85546415120199[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104492&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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
200.2061369293313960.4122738586627920.793863070668604
210.2846019270831960.5692038541663920.715398072916804
220.1947196030728020.3894392061456040.805280396927198
230.1506652234910570.3013304469821140.849334776508943
240.08550736242816340.1710147248563270.914492637571837
250.1285165013585910.2570330027171820.871483498641409
260.1800628523061230.3601257046122450.819937147693877
270.1445358487980100.2890716975960210.85546415120199







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=104492&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=104492&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104492&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):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')
}