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 21:36:38 +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/t1291325694wmjy65u7xs0ws4n.htm/, Retrieved Sun, 05 May 2024 15:18:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=104480, Retrieved Sun, 05 May 2024 15:18:52 +0000
QR Codes:

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

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




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

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







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = + 434.747580645161 -261.795161290322Dummy[t] -1271.48951612903M1[t] + 51.7895161290318M2[t] -425.150000000001M3[t] -685.15M4[t] -1351.25M5[t] -1192.2M6[t] -314.925000000000M7[t] -465M8[t] -648.6M9[t] -454.075M10[t] -83.6000000000002M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  +  434.747580645161 -261.795161290322Dummy[t] -1271.48951612903M1[t] +  51.7895161290318M2[t] -425.150000000001M3[t] -685.15M4[t] -1351.25M5[t] -1192.2M6[t] -314.925000000000M7[t] -465M8[t] -648.6M9[t] -454.075M10[t] -83.6000000000002M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  +  434.747580645161 -261.795161290322Dummy[t] -1271.48951612903M1[t] +  51.7895161290318M2[t] -425.150000000001M3[t] -685.15M4[t] -1351.25M5[t] -1192.2M6[t] -314.925000000000M7[t] -465M8[t] -648.6M9[t] -454.075M10[t] -83.6000000000002M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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] = + 434.747580645161 -261.795161290322Dummy[t] -1271.48951612903M1[t] + 51.7895161290318M2[t] -425.150000000001M3[t] -685.15M4[t] -1351.25M5[t] -1192.2M6[t] -314.925000000000M7[t] -465M8[t] -648.6M9[t] -454.075M10[t] -83.6000000000002M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)434.747580645161328.0803221.32510.1932550.096627
Dummy-261.795161290322179.249428-1.46050.1525910.076295
M1-1271.48951612903423.802665-3.00020.0048070.002404
M251.7895161290318423.8026650.12220.90340.4517
M3-425.150000000001446.327477-0.95260.3469990.173499
M4-685.15446.327477-1.53510.1332710.066636
M5-1351.25446.327477-3.02750.0044730.002237
M6-1192.2446.327477-2.67110.011170.005585
M7-314.925000000000446.327477-0.70560.4848610.24243
M8-465446.327477-1.04180.3042480.152124
M9-648.6446.327477-1.45320.15460.0773
M10-454.075446.327477-1.01740.315590.157795
M11-83.6000000000002446.327477-0.18730.8524440.426222

\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) & 434.747580645161 & 328.080322 & 1.3251 & 0.193255 & 0.096627 \tabularnewline
Dummy & -261.795161290322 & 179.249428 & -1.4605 & 0.152591 & 0.076295 \tabularnewline
M1 & -1271.48951612903 & 423.802665 & -3.0002 & 0.004807 & 0.002404 \tabularnewline
M2 & 51.7895161290318 & 423.802665 & 0.1222 & 0.9034 & 0.4517 \tabularnewline
M3 & -425.150000000001 & 446.327477 & -0.9526 & 0.346999 & 0.173499 \tabularnewline
M4 & -685.15 & 446.327477 & -1.5351 & 0.133271 & 0.066636 \tabularnewline
M5 & -1351.25 & 446.327477 & -3.0275 & 0.004473 & 0.002237 \tabularnewline
M6 & -1192.2 & 446.327477 & -2.6711 & 0.01117 & 0.005585 \tabularnewline
M7 & -314.925000000000 & 446.327477 & -0.7056 & 0.484861 & 0.24243 \tabularnewline
M8 & -465 & 446.327477 & -1.0418 & 0.304248 & 0.152124 \tabularnewline
M9 & -648.6 & 446.327477 & -1.4532 & 0.1546 & 0.0773 \tabularnewline
M10 & -454.075 & 446.327477 & -1.0174 & 0.31559 & 0.157795 \tabularnewline
M11 & -83.6000000000002 & 446.327477 & -0.1873 & 0.852444 & 0.426222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&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]434.747580645161[/C][C]328.080322[/C][C]1.3251[/C][C]0.193255[/C][C]0.096627[/C][/ROW]
[ROW][C]Dummy[/C][C]-261.795161290322[/C][C]179.249428[/C][C]-1.4605[/C][C]0.152591[/C][C]0.076295[/C][/ROW]
[ROW][C]M1[/C][C]-1271.48951612903[/C][C]423.802665[/C][C]-3.0002[/C][C]0.004807[/C][C]0.002404[/C][/ROW]
[ROW][C]M2[/C][C]51.7895161290318[/C][C]423.802665[/C][C]0.1222[/C][C]0.9034[/C][C]0.4517[/C][/ROW]
[ROW][C]M3[/C][C]-425.150000000001[/C][C]446.327477[/C][C]-0.9526[/C][C]0.346999[/C][C]0.173499[/C][/ROW]
[ROW][C]M4[/C][C]-685.15[/C][C]446.327477[/C][C]-1.5351[/C][C]0.133271[/C][C]0.066636[/C][/ROW]
[ROW][C]M5[/C][C]-1351.25[/C][C]446.327477[/C][C]-3.0275[/C][C]0.004473[/C][C]0.002237[/C][/ROW]
[ROW][C]M6[/C][C]-1192.2[/C][C]446.327477[/C][C]-2.6711[/C][C]0.01117[/C][C]0.005585[/C][/ROW]
[ROW][C]M7[/C][C]-314.925000000000[/C][C]446.327477[/C][C]-0.7056[/C][C]0.484861[/C][C]0.24243[/C][/ROW]
[ROW][C]M8[/C][C]-465[/C][C]446.327477[/C][C]-1.0418[/C][C]0.304248[/C][C]0.152124[/C][/ROW]
[ROW][C]M9[/C][C]-648.6[/C][C]446.327477[/C][C]-1.4532[/C][C]0.1546[/C][C]0.0773[/C][/ROW]
[ROW][C]M10[/C][C]-454.075[/C][C]446.327477[/C][C]-1.0174[/C][C]0.31559[/C][C]0.157795[/C][/ROW]
[ROW][C]M11[/C][C]-83.6000000000002[/C][C]446.327477[/C][C]-0.1873[/C][C]0.852444[/C][C]0.426222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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)434.747580645161328.0803221.32510.1932550.096627
Dummy-261.795161290322179.249428-1.46050.1525910.076295
M1-1271.48951612903423.802665-3.00020.0048070.002404
M251.7895161290318423.8026650.12220.90340.4517
M3-425.150000000001446.327477-0.95260.3469990.173499
M4-685.15446.327477-1.53510.1332710.066636
M5-1351.25446.327477-3.02750.0044730.002237
M6-1192.2446.327477-2.67110.011170.005585
M7-314.925000000000446.327477-0.70560.4848610.24243
M8-465446.327477-1.04180.3042480.152124
M9-648.6446.327477-1.45320.15460.0773
M10-454.075446.327477-1.01740.315590.157795
M11-83.6000000000002446.327477-0.18730.8524440.426222







Multiple Linear Regression - Regression Statistics
Multiple R0.664552286349691
R-squared0.441629741292602
Adjusted R-squared0.260536684414527
F-TEST (value)2.43868952739552
F-TEST (DF numerator)12
F-TEST (DF denominator)37
p-value0.0187898062263339
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation631.202371041467
Sum Squared Residuals14741408.0287097

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.664552286349691 \tabularnewline
R-squared & 0.441629741292602 \tabularnewline
Adjusted R-squared & 0.260536684414527 \tabularnewline
F-TEST (value) & 2.43868952739552 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 37 \tabularnewline
p-value & 0.0187898062263339 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 631.202371041467 \tabularnewline
Sum Squared Residuals & 14741408.0287097 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.664552286349691[/C][/ROW]
[ROW][C]R-squared[/C][C]0.441629741292602[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.260536684414527[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.43868952739552[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]37[/C][/ROW]
[ROW][C]p-value[/C][C]0.0187898062263339[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]631.202371041467[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]14741408.0287097[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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.664552286349691
R-squared0.441629741292602
Adjusted R-squared0.260536684414527
F-TEST (value)2.43868952739552
F-TEST (DF numerator)12
F-TEST (DF denominator)37
p-value0.0187898062263339
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation631.202371041467
Sum Squared Residuals14741408.0287097







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1-820.8-836.74193548387115.9419354838710
2993.3486.537096774195506.762903225805
3741.79.59758064516154732.102419354839
4603.6-250.402419354839854.002419354839
5-145.8-916.502419354839770.702419354839
6-35.1-757.45241935484722.35241935484
7395.1119.822580645161275.277419354839
8523.1-30.2524193548387553.352419354839
9462.3-213.852419354838676.152419354838
10183.4-19.3274193548388202.727419354839
11791.5351.147580645162440.352419354838
12344.8434.747580645161-89.9475806451608
13-217-836.74193548387619.741935483871
14406.7486.537096774194-79.8370967741936
15228.69.59758064516092219.002419354839
16-580.1-250.402419354838-329.697580645162
17-1550.4-916.502419354839-633.897580645161
18-1447.5-757.452419354838-690.047580645162
19-40.1119.822580645161-159.922580645161
20-1033.5-30.2524193548389-1003.24758064516
21-925.6-213.852419354839-711.747580645161
22-347.8-19.3274193548387-328.472580645161
23-447.7351.147580645161-798.84758064516
24-102.6434.747580645161-537.347580645161
25-2062.2-836.74193548387-1225.45806451613
26-929.7224.741935483871-1154.44193548387
27-720.7-252.197580645162-468.502419354838
28-1541.8-512.197580645161-1029.60241935484
29-1432.3-1178.29758064516-254.002419354839
30-1216.2-1019.24758064516-196.952419354839
31-212.8-141.972580645161-70.8274193548388
32-378.2-292.047580645161-86.1524193548388
3376.9-475.647580645162552.547580645162
34-101.3-281.122580645161179.822580645161
35220.489.3524193548388131.047580645161
36495.6172.952419354838322.647580645162
37-1035.2-1098.5370967741963.3370967741934
3861.8224.741935483871-162.941935483871
39-734.8-252.197580645162-482.602419354838
40-6.9-512.197580645161505.297580645161
41-1061.1-1178.29758064516117.197580645161
42-854.6-1019.24758064516164.647580645161
43-186.5-141.972580645161-44.5274193548387
44244-292.047580645161536.047580645161
45-992.6-475.647580645161-516.952419354839
46-335.2-281.122580645161-54.0774193548387
47316.889.3524193548387227.447580645161
48477.6172.952419354838304.647580645162
49-572.1-1098.53709677419526.437096774194
501115.2224.741935483870890.45806451613

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & -820.8 & -836.741935483871 & 15.9419354838710 \tabularnewline
2 & 993.3 & 486.537096774195 & 506.762903225805 \tabularnewline
3 & 741.7 & 9.59758064516154 & 732.102419354839 \tabularnewline
4 & 603.6 & -250.402419354839 & 854.002419354839 \tabularnewline
5 & -145.8 & -916.502419354839 & 770.702419354839 \tabularnewline
6 & -35.1 & -757.45241935484 & 722.35241935484 \tabularnewline
7 & 395.1 & 119.822580645161 & 275.277419354839 \tabularnewline
8 & 523.1 & -30.2524193548387 & 553.352419354839 \tabularnewline
9 & 462.3 & -213.852419354838 & 676.152419354838 \tabularnewline
10 & 183.4 & -19.3274193548388 & 202.727419354839 \tabularnewline
11 & 791.5 & 351.147580645162 & 440.352419354838 \tabularnewline
12 & 344.8 & 434.747580645161 & -89.9475806451608 \tabularnewline
13 & -217 & -836.74193548387 & 619.741935483871 \tabularnewline
14 & 406.7 & 486.537096774194 & -79.8370967741936 \tabularnewline
15 & 228.6 & 9.59758064516092 & 219.002419354839 \tabularnewline
16 & -580.1 & -250.402419354838 & -329.697580645162 \tabularnewline
17 & -1550.4 & -916.502419354839 & -633.897580645161 \tabularnewline
18 & -1447.5 & -757.452419354838 & -690.047580645162 \tabularnewline
19 & -40.1 & 119.822580645161 & -159.922580645161 \tabularnewline
20 & -1033.5 & -30.2524193548389 & -1003.24758064516 \tabularnewline
21 & -925.6 & -213.852419354839 & -711.747580645161 \tabularnewline
22 & -347.8 & -19.3274193548387 & -328.472580645161 \tabularnewline
23 & -447.7 & 351.147580645161 & -798.84758064516 \tabularnewline
24 & -102.6 & 434.747580645161 & -537.347580645161 \tabularnewline
25 & -2062.2 & -836.74193548387 & -1225.45806451613 \tabularnewline
26 & -929.7 & 224.741935483871 & -1154.44193548387 \tabularnewline
27 & -720.7 & -252.197580645162 & -468.502419354838 \tabularnewline
28 & -1541.8 & -512.197580645161 & -1029.60241935484 \tabularnewline
29 & -1432.3 & -1178.29758064516 & -254.002419354839 \tabularnewline
30 & -1216.2 & -1019.24758064516 & -196.952419354839 \tabularnewline
31 & -212.8 & -141.972580645161 & -70.8274193548388 \tabularnewline
32 & -378.2 & -292.047580645161 & -86.1524193548388 \tabularnewline
33 & 76.9 & -475.647580645162 & 552.547580645162 \tabularnewline
34 & -101.3 & -281.122580645161 & 179.822580645161 \tabularnewline
35 & 220.4 & 89.3524193548388 & 131.047580645161 \tabularnewline
36 & 495.6 & 172.952419354838 & 322.647580645162 \tabularnewline
37 & -1035.2 & -1098.53709677419 & 63.3370967741934 \tabularnewline
38 & 61.8 & 224.741935483871 & -162.941935483871 \tabularnewline
39 & -734.8 & -252.197580645162 & -482.602419354838 \tabularnewline
40 & -6.9 & -512.197580645161 & 505.297580645161 \tabularnewline
41 & -1061.1 & -1178.29758064516 & 117.197580645161 \tabularnewline
42 & -854.6 & -1019.24758064516 & 164.647580645161 \tabularnewline
43 & -186.5 & -141.972580645161 & -44.5274193548387 \tabularnewline
44 & 244 & -292.047580645161 & 536.047580645161 \tabularnewline
45 & -992.6 & -475.647580645161 & -516.952419354839 \tabularnewline
46 & -335.2 & -281.122580645161 & -54.0774193548387 \tabularnewline
47 & 316.8 & 89.3524193548387 & 227.447580645161 \tabularnewline
48 & 477.6 & 172.952419354838 & 304.647580645162 \tabularnewline
49 & -572.1 & -1098.53709677419 & 526.437096774194 \tabularnewline
50 & 1115.2 & 224.741935483870 & 890.45806451613 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&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]-820.8[/C][C]-836.741935483871[/C][C]15.9419354838710[/C][/ROW]
[ROW][C]2[/C][C]993.3[/C][C]486.537096774195[/C][C]506.762903225805[/C][/ROW]
[ROW][C]3[/C][C]741.7[/C][C]9.59758064516154[/C][C]732.102419354839[/C][/ROW]
[ROW][C]4[/C][C]603.6[/C][C]-250.402419354839[/C][C]854.002419354839[/C][/ROW]
[ROW][C]5[/C][C]-145.8[/C][C]-916.502419354839[/C][C]770.702419354839[/C][/ROW]
[ROW][C]6[/C][C]-35.1[/C][C]-757.45241935484[/C][C]722.35241935484[/C][/ROW]
[ROW][C]7[/C][C]395.1[/C][C]119.822580645161[/C][C]275.277419354839[/C][/ROW]
[ROW][C]8[/C][C]523.1[/C][C]-30.2524193548387[/C][C]553.352419354839[/C][/ROW]
[ROW][C]9[/C][C]462.3[/C][C]-213.852419354838[/C][C]676.152419354838[/C][/ROW]
[ROW][C]10[/C][C]183.4[/C][C]-19.3274193548388[/C][C]202.727419354839[/C][/ROW]
[ROW][C]11[/C][C]791.5[/C][C]351.147580645162[/C][C]440.352419354838[/C][/ROW]
[ROW][C]12[/C][C]344.8[/C][C]434.747580645161[/C][C]-89.9475806451608[/C][/ROW]
[ROW][C]13[/C][C]-217[/C][C]-836.74193548387[/C][C]619.741935483871[/C][/ROW]
[ROW][C]14[/C][C]406.7[/C][C]486.537096774194[/C][C]-79.8370967741936[/C][/ROW]
[ROW][C]15[/C][C]228.6[/C][C]9.59758064516092[/C][C]219.002419354839[/C][/ROW]
[ROW][C]16[/C][C]-580.1[/C][C]-250.402419354838[/C][C]-329.697580645162[/C][/ROW]
[ROW][C]17[/C][C]-1550.4[/C][C]-916.502419354839[/C][C]-633.897580645161[/C][/ROW]
[ROW][C]18[/C][C]-1447.5[/C][C]-757.452419354838[/C][C]-690.047580645162[/C][/ROW]
[ROW][C]19[/C][C]-40.1[/C][C]119.822580645161[/C][C]-159.922580645161[/C][/ROW]
[ROW][C]20[/C][C]-1033.5[/C][C]-30.2524193548389[/C][C]-1003.24758064516[/C][/ROW]
[ROW][C]21[/C][C]-925.6[/C][C]-213.852419354839[/C][C]-711.747580645161[/C][/ROW]
[ROW][C]22[/C][C]-347.8[/C][C]-19.3274193548387[/C][C]-328.472580645161[/C][/ROW]
[ROW][C]23[/C][C]-447.7[/C][C]351.147580645161[/C][C]-798.84758064516[/C][/ROW]
[ROW][C]24[/C][C]-102.6[/C][C]434.747580645161[/C][C]-537.347580645161[/C][/ROW]
[ROW][C]25[/C][C]-2062.2[/C][C]-836.74193548387[/C][C]-1225.45806451613[/C][/ROW]
[ROW][C]26[/C][C]-929.7[/C][C]224.741935483871[/C][C]-1154.44193548387[/C][/ROW]
[ROW][C]27[/C][C]-720.7[/C][C]-252.197580645162[/C][C]-468.502419354838[/C][/ROW]
[ROW][C]28[/C][C]-1541.8[/C][C]-512.197580645161[/C][C]-1029.60241935484[/C][/ROW]
[ROW][C]29[/C][C]-1432.3[/C][C]-1178.29758064516[/C][C]-254.002419354839[/C][/ROW]
[ROW][C]30[/C][C]-1216.2[/C][C]-1019.24758064516[/C][C]-196.952419354839[/C][/ROW]
[ROW][C]31[/C][C]-212.8[/C][C]-141.972580645161[/C][C]-70.8274193548388[/C][/ROW]
[ROW][C]32[/C][C]-378.2[/C][C]-292.047580645161[/C][C]-86.1524193548388[/C][/ROW]
[ROW][C]33[/C][C]76.9[/C][C]-475.647580645162[/C][C]552.547580645162[/C][/ROW]
[ROW][C]34[/C][C]-101.3[/C][C]-281.122580645161[/C][C]179.822580645161[/C][/ROW]
[ROW][C]35[/C][C]220.4[/C][C]89.3524193548388[/C][C]131.047580645161[/C][/ROW]
[ROW][C]36[/C][C]495.6[/C][C]172.952419354838[/C][C]322.647580645162[/C][/ROW]
[ROW][C]37[/C][C]-1035.2[/C][C]-1098.53709677419[/C][C]63.3370967741934[/C][/ROW]
[ROW][C]38[/C][C]61.8[/C][C]224.741935483871[/C][C]-162.941935483871[/C][/ROW]
[ROW][C]39[/C][C]-734.8[/C][C]-252.197580645162[/C][C]-482.602419354838[/C][/ROW]
[ROW][C]40[/C][C]-6.9[/C][C]-512.197580645161[/C][C]505.297580645161[/C][/ROW]
[ROW][C]41[/C][C]-1061.1[/C][C]-1178.29758064516[/C][C]117.197580645161[/C][/ROW]
[ROW][C]42[/C][C]-854.6[/C][C]-1019.24758064516[/C][C]164.647580645161[/C][/ROW]
[ROW][C]43[/C][C]-186.5[/C][C]-141.972580645161[/C][C]-44.5274193548387[/C][/ROW]
[ROW][C]44[/C][C]244[/C][C]-292.047580645161[/C][C]536.047580645161[/C][/ROW]
[ROW][C]45[/C][C]-992.6[/C][C]-475.647580645161[/C][C]-516.952419354839[/C][/ROW]
[ROW][C]46[/C][C]-335.2[/C][C]-281.122580645161[/C][C]-54.0774193548387[/C][/ROW]
[ROW][C]47[/C][C]316.8[/C][C]89.3524193548387[/C][C]227.447580645161[/C][/ROW]
[ROW][C]48[/C][C]477.6[/C][C]172.952419354838[/C][C]304.647580645162[/C][/ROW]
[ROW][C]49[/C][C]-572.1[/C][C]-1098.53709677419[/C][C]526.437096774194[/C][/ROW]
[ROW][C]50[/C][C]1115.2[/C][C]224.741935483870[/C][C]890.45806451613[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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-820.8-836.74193548387115.9419354838710
2993.3486.537096774195506.762903225805
3741.79.59758064516154732.102419354839
4603.6-250.402419354839854.002419354839
5-145.8-916.502419354839770.702419354839
6-35.1-757.45241935484722.35241935484
7395.1119.822580645161275.277419354839
8523.1-30.2524193548387553.352419354839
9462.3-213.852419354838676.152419354838
10183.4-19.3274193548388202.727419354839
11791.5351.147580645162440.352419354838
12344.8434.747580645161-89.9475806451608
13-217-836.74193548387619.741935483871
14406.7486.537096774194-79.8370967741936
15228.69.59758064516092219.002419354839
16-580.1-250.402419354838-329.697580645162
17-1550.4-916.502419354839-633.897580645161
18-1447.5-757.452419354838-690.047580645162
19-40.1119.822580645161-159.922580645161
20-1033.5-30.2524193548389-1003.24758064516
21-925.6-213.852419354839-711.747580645161
22-347.8-19.3274193548387-328.472580645161
23-447.7351.147580645161-798.84758064516
24-102.6434.747580645161-537.347580645161
25-2062.2-836.74193548387-1225.45806451613
26-929.7224.741935483871-1154.44193548387
27-720.7-252.197580645162-468.502419354838
28-1541.8-512.197580645161-1029.60241935484
29-1432.3-1178.29758064516-254.002419354839
30-1216.2-1019.24758064516-196.952419354839
31-212.8-141.972580645161-70.8274193548388
32-378.2-292.047580645161-86.1524193548388
3376.9-475.647580645162552.547580645162
34-101.3-281.122580645161179.822580645161
35220.489.3524193548388131.047580645161
36495.6172.952419354838322.647580645162
37-1035.2-1098.5370967741963.3370967741934
3861.8224.741935483871-162.941935483871
39-734.8-252.197580645162-482.602419354838
40-6.9-512.197580645161505.297580645161
41-1061.1-1178.29758064516117.197580645161
42-854.6-1019.24758064516164.647580645161
43-186.5-141.972580645161-44.5274193548387
44244-292.047580645161536.047580645161
45-992.6-475.647580645161-516.952419354839
46-335.2-281.122580645161-54.0774193548387
47316.889.3524193548387227.447580645161
48477.6172.952419354838304.647580645162
49-572.1-1098.53709677419526.437096774194
501115.2224.741935483870890.45806451613







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.7740532771774280.4518934456451450.225946722822572
170.8770342628058760.2459314743882490.122965737194124
180.9144805715677000.1710388568645990.0855194284322995
190.8857947569243180.2284104861513640.114205243075682
200.9219902974285910.1560194051428180.078009702571409
210.92514852477620.1497029504475990.0748514752237996
220.8987360104946980.2025279790106040.101263989505302
230.8844565969692170.2310868060615670.115543403030783
240.8367984359907510.3264031280184980.163201564009249
250.8529475183535610.2941049632928780.147052481646439
260.9277631852382480.1444736295235040.0722368147617519
270.8770689901234670.2458620197530660.122931009876533
280.9520884547762240.0958230904475520.047911545223776
290.9272337825707430.1455324348585150.0727662174292573
300.887597487875670.2248050242486600.112402512124330
310.8127782346914630.3744435306170740.187221765308537
320.7674401213197630.4651197573604730.232559878680237
330.8492237014437380.3015525971125240.150776298556262
340.7252545834506890.5494908330986220.274745416549311

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.774053277177428 & 0.451893445645145 & 0.225946722822572 \tabularnewline
17 & 0.877034262805876 & 0.245931474388249 & 0.122965737194124 \tabularnewline
18 & 0.914480571567700 & 0.171038856864599 & 0.0855194284322995 \tabularnewline
19 & 0.885794756924318 & 0.228410486151364 & 0.114205243075682 \tabularnewline
20 & 0.921990297428591 & 0.156019405142818 & 0.078009702571409 \tabularnewline
21 & 0.9251485247762 & 0.149702950447599 & 0.0748514752237996 \tabularnewline
22 & 0.898736010494698 & 0.202527979010604 & 0.101263989505302 \tabularnewline
23 & 0.884456596969217 & 0.231086806061567 & 0.115543403030783 \tabularnewline
24 & 0.836798435990751 & 0.326403128018498 & 0.163201564009249 \tabularnewline
25 & 0.852947518353561 & 0.294104963292878 & 0.147052481646439 \tabularnewline
26 & 0.927763185238248 & 0.144473629523504 & 0.0722368147617519 \tabularnewline
27 & 0.877068990123467 & 0.245862019753066 & 0.122931009876533 \tabularnewline
28 & 0.952088454776224 & 0.095823090447552 & 0.047911545223776 \tabularnewline
29 & 0.927233782570743 & 0.145532434858515 & 0.0727662174292573 \tabularnewline
30 & 0.88759748787567 & 0.224805024248660 & 0.112402512124330 \tabularnewline
31 & 0.812778234691463 & 0.374443530617074 & 0.187221765308537 \tabularnewline
32 & 0.767440121319763 & 0.465119757360473 & 0.232559878680237 \tabularnewline
33 & 0.849223701443738 & 0.301552597112524 & 0.150776298556262 \tabularnewline
34 & 0.725254583450689 & 0.549490833098622 & 0.274745416549311 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&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]16[/C][C]0.774053277177428[/C][C]0.451893445645145[/C][C]0.225946722822572[/C][/ROW]
[ROW][C]17[/C][C]0.877034262805876[/C][C]0.245931474388249[/C][C]0.122965737194124[/C][/ROW]
[ROW][C]18[/C][C]0.914480571567700[/C][C]0.171038856864599[/C][C]0.0855194284322995[/C][/ROW]
[ROW][C]19[/C][C]0.885794756924318[/C][C]0.228410486151364[/C][C]0.114205243075682[/C][/ROW]
[ROW][C]20[/C][C]0.921990297428591[/C][C]0.156019405142818[/C][C]0.078009702571409[/C][/ROW]
[ROW][C]21[/C][C]0.9251485247762[/C][C]0.149702950447599[/C][C]0.0748514752237996[/C][/ROW]
[ROW][C]22[/C][C]0.898736010494698[/C][C]0.202527979010604[/C][C]0.101263989505302[/C][/ROW]
[ROW][C]23[/C][C]0.884456596969217[/C][C]0.231086806061567[/C][C]0.115543403030783[/C][/ROW]
[ROW][C]24[/C][C]0.836798435990751[/C][C]0.326403128018498[/C][C]0.163201564009249[/C][/ROW]
[ROW][C]25[/C][C]0.852947518353561[/C][C]0.294104963292878[/C][C]0.147052481646439[/C][/ROW]
[ROW][C]26[/C][C]0.927763185238248[/C][C]0.144473629523504[/C][C]0.0722368147617519[/C][/ROW]
[ROW][C]27[/C][C]0.877068990123467[/C][C]0.245862019753066[/C][C]0.122931009876533[/C][/ROW]
[ROW][C]28[/C][C]0.952088454776224[/C][C]0.095823090447552[/C][C]0.047911545223776[/C][/ROW]
[ROW][C]29[/C][C]0.927233782570743[/C][C]0.145532434858515[/C][C]0.0727662174292573[/C][/ROW]
[ROW][C]30[/C][C]0.88759748787567[/C][C]0.224805024248660[/C][C]0.112402512124330[/C][/ROW]
[ROW][C]31[/C][C]0.812778234691463[/C][C]0.374443530617074[/C][C]0.187221765308537[/C][/ROW]
[ROW][C]32[/C][C]0.767440121319763[/C][C]0.465119757360473[/C][C]0.232559878680237[/C][/ROW]
[ROW][C]33[/C][C]0.849223701443738[/C][C]0.301552597112524[/C][C]0.150776298556262[/C][/ROW]
[ROW][C]34[/C][C]0.725254583450689[/C][C]0.549490833098622[/C][C]0.274745416549311[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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
160.7740532771774280.4518934456451450.225946722822572
170.8770342628058760.2459314743882490.122965737194124
180.9144805715677000.1710388568645990.0855194284322995
190.8857947569243180.2284104861513640.114205243075682
200.9219902974285910.1560194051428180.078009702571409
210.92514852477620.1497029504475990.0748514752237996
220.8987360104946980.2025279790106040.101263989505302
230.8844565969692170.2310868060615670.115543403030783
240.8367984359907510.3264031280184980.163201564009249
250.8529475183535610.2941049632928780.147052481646439
260.9277631852382480.1444736295235040.0722368147617519
270.8770689901234670.2458620197530660.122931009876533
280.9520884547762240.0958230904475520.047911545223776
290.9272337825707430.1455324348585150.0727662174292573
300.887597487875670.2248050242486600.112402512124330
310.8127782346914630.3744435306170740.187221765308537
320.7674401213197630.4651197573604730.232559878680237
330.8492237014437380.3015525971125240.150776298556262
340.7252545834506890.5494908330986220.274745416549311







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 level10.0526315789473684OK

\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 & 1 & 0.0526315789473684 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=104480&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]1[/C][C]0.0526315789473684[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=104480&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=104480&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 level10.0526315789473684OK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}