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, 24 Nov 2011 03:33:14 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/24/t13221237724bew30gf2iqswet.htm/, Retrieved Fri, 19 Apr 2024 15:57:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=146601, Retrieved Fri, 19 Apr 2024 15:57:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple regression] [2011-11-24 08:33:14] [2279ad719e09a38a1d31a45bdb1b1d06] [Current]
Feedback Forum

Post a new message
Dataseries X:
22	78.1
22	78.1
21.8	74.5
21.5	74.6
21.3	75.5
21.1	76.9
21.2	76.3
21	73.8
20.8	73.4
20.5	75.8
20.4	76.9
20.1	73.2
19.9	72.1
19.6	74.3
19.4	73.1
19.2	72.2
19.1	69.4
19.1	70.8
18.9	71.1
18.7	71.2
18.7	70.6
18.7	71.1
18.4	70.3
18.4	68.3
18.3	68.9
18.4	71.9
18.3	73.3
18.3	70.9
18	70
17.7	65.5
17.7	70.1
17.9	66.6
17.6	67.4
17.7	67.8
17.4	69.4
17.1	69.4
16.8	66.7
16.5	65
16.2	63.1
15.8	65
15.5	63.9
15.2	63
14.9	62.2
14.6	61.4
14.4	61
14.5	58.8




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ wold.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ wold.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ wold.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Mortality[t] = + 12.9682781330485 + 0.117528569667981Marriage[t] -0.115378003055659t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Mortality[t] =  +  12.9682781330485 +  0.117528569667981Marriage[t] -0.115378003055659t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Mortality[t] =  +  12.9682781330485 +  0.117528569667981Marriage[t] -0.115378003055659t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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
Mortality[t] = + 12.9682781330485 + 0.117528569667981Marriage[t] -0.115378003055659t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)12.96827813304852.1100896.145800
Marriage0.1175285696679810.0270514.34478.4e-054.2e-05
t-0.1153780030556590.009733-11.85400

\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.9682781330485 & 2.110089 & 6.1458 & 0 & 0 \tabularnewline
Marriage & 0.117528569667981 & 0.027051 & 4.3447 & 8.4e-05 & 4.2e-05 \tabularnewline
t & -0.115378003055659 & 0.009733 & -11.854 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&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.9682781330485[/C][C]2.110089[/C][C]6.1458[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Marriage[/C][C]0.117528569667981[/C][C]0.027051[/C][C]4.3447[/C][C]8.4e-05[/C][C]4.2e-05[/C][/ROW]
[ROW][C]t[/C][C]-0.115378003055659[/C][C]0.009733[/C][C]-11.854[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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.96827813304852.1100896.145800
Marriage0.1175285696679810.0270514.34478.4e-054.2e-05
t-0.1153780030556590.009733-11.85400







Multiple Linear Regression - Regression Statistics
Multiple R0.988726055970538
R-squared0.977579213755055
Adjusted R-squared0.976536386487849
F-TEST (value)937.431580949699
F-TEST (DF numerator)2
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.323296711055791
Sum Squared Residuals4.49439282531814

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.988726055970538 \tabularnewline
R-squared & 0.977579213755055 \tabularnewline
Adjusted R-squared & 0.976536386487849 \tabularnewline
F-TEST (value) & 937.431580949699 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 43 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.323296711055791 \tabularnewline
Sum Squared Residuals & 4.49439282531814 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.988726055970538[/C][/ROW]
[ROW][C]R-squared[/C][C]0.977579213755055[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.976536386487849[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]937.431580949699[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]43[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.323296711055791[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4.49439282531814[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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.988726055970538
R-squared0.977579213755055
Adjusted R-squared0.976536386487849
F-TEST (value)937.431580949699
F-TEST (DF numerator)2
F-TEST (DF denominator)43
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.323296711055791
Sum Squared Residuals4.49439282531814







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12222.0318814210622-0.0318814210621677
22221.91650341800650.0834965819935006
321.821.37802256414610.421977435853892
421.521.27439741805720.225602581942752
521.321.26479512770280.0352048722972274
621.121.3139571221823-0.213957122182288
721.221.12806197732580.0719380226741583
82120.71886255010020.281137449899771
920.820.55647311917740.243526880822622
1020.520.7231636833249-0.223163683324874
1120.420.737067106904-0.337067106903998
1220.120.1868333960768-0.0868333960768049
1319.919.9421739663864-0.0421739663863689
1419.620.0853588166003-0.485358816600267
1519.419.828946529943-0.428946529943033
1619.219.6077928141862-0.407792814186191
1719.119.1633348160602-0.0633348160601831
1819.119.2124968105397-0.112496810539698
1918.919.1323773783844-0.232377378384436
2018.719.0287522322956-0.328752232295576
2118.718.8428570874391-0.142857087439128
2218.718.7862433692175-0.0862433692174596
2318.418.5768425104274-0.176842510427417
2418.418.22640736803580.173592631964204
2518.318.18154650678090.118453493219075
2618.418.4187542127292-0.0187542127292125
2718.318.4679162072087-0.167916207208725
2818.318.07046963694990.229530363050088
291817.84931592119310.15068407880693
3017.717.20505935463150.494940645368504
3117.717.63031277204860.0696872279514488
3217.917.1035847751550.796415224845042
3317.617.08222962783370.517770372166316
3417.717.01386305264520.686136947354781
3517.417.08653076105830.313469238941668
3617.116.97115275800270.128847241997329
3716.816.53844761684350.261552383156537
3816.516.22327104535220.276728954647764
3916.215.88458875992740.315411240072586
4015.815.9925150392409-0.192515039240918
4115.515.7478556095505-0.247855609550481
4215.215.5267018937936-0.32670189379364
4314.915.3173010350036-0.417301035003595
4414.615.1079001762136-0.507900176213552
4514.414.9455107452907-0.5455107452907
4614.514.5715698889655-0.0715698889654829

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 22 & 22.0318814210622 & -0.0318814210621677 \tabularnewline
2 & 22 & 21.9165034180065 & 0.0834965819935006 \tabularnewline
3 & 21.8 & 21.3780225641461 & 0.421977435853892 \tabularnewline
4 & 21.5 & 21.2743974180572 & 0.225602581942752 \tabularnewline
5 & 21.3 & 21.2647951277028 & 0.0352048722972274 \tabularnewline
6 & 21.1 & 21.3139571221823 & -0.213957122182288 \tabularnewline
7 & 21.2 & 21.1280619773258 & 0.0719380226741583 \tabularnewline
8 & 21 & 20.7188625501002 & 0.281137449899771 \tabularnewline
9 & 20.8 & 20.5564731191774 & 0.243526880822622 \tabularnewline
10 & 20.5 & 20.7231636833249 & -0.223163683324874 \tabularnewline
11 & 20.4 & 20.737067106904 & -0.337067106903998 \tabularnewline
12 & 20.1 & 20.1868333960768 & -0.0868333960768049 \tabularnewline
13 & 19.9 & 19.9421739663864 & -0.0421739663863689 \tabularnewline
14 & 19.6 & 20.0853588166003 & -0.485358816600267 \tabularnewline
15 & 19.4 & 19.828946529943 & -0.428946529943033 \tabularnewline
16 & 19.2 & 19.6077928141862 & -0.407792814186191 \tabularnewline
17 & 19.1 & 19.1633348160602 & -0.0633348160601831 \tabularnewline
18 & 19.1 & 19.2124968105397 & -0.112496810539698 \tabularnewline
19 & 18.9 & 19.1323773783844 & -0.232377378384436 \tabularnewline
20 & 18.7 & 19.0287522322956 & -0.328752232295576 \tabularnewline
21 & 18.7 & 18.8428570874391 & -0.142857087439128 \tabularnewline
22 & 18.7 & 18.7862433692175 & -0.0862433692174596 \tabularnewline
23 & 18.4 & 18.5768425104274 & -0.176842510427417 \tabularnewline
24 & 18.4 & 18.2264073680358 & 0.173592631964204 \tabularnewline
25 & 18.3 & 18.1815465067809 & 0.118453493219075 \tabularnewline
26 & 18.4 & 18.4187542127292 & -0.0187542127292125 \tabularnewline
27 & 18.3 & 18.4679162072087 & -0.167916207208725 \tabularnewline
28 & 18.3 & 18.0704696369499 & 0.229530363050088 \tabularnewline
29 & 18 & 17.8493159211931 & 0.15068407880693 \tabularnewline
30 & 17.7 & 17.2050593546315 & 0.494940645368504 \tabularnewline
31 & 17.7 & 17.6303127720486 & 0.0696872279514488 \tabularnewline
32 & 17.9 & 17.103584775155 & 0.796415224845042 \tabularnewline
33 & 17.6 & 17.0822296278337 & 0.517770372166316 \tabularnewline
34 & 17.7 & 17.0138630526452 & 0.686136947354781 \tabularnewline
35 & 17.4 & 17.0865307610583 & 0.313469238941668 \tabularnewline
36 & 17.1 & 16.9711527580027 & 0.128847241997329 \tabularnewline
37 & 16.8 & 16.5384476168435 & 0.261552383156537 \tabularnewline
38 & 16.5 & 16.2232710453522 & 0.276728954647764 \tabularnewline
39 & 16.2 & 15.8845887599274 & 0.315411240072586 \tabularnewline
40 & 15.8 & 15.9925150392409 & -0.192515039240918 \tabularnewline
41 & 15.5 & 15.7478556095505 & -0.247855609550481 \tabularnewline
42 & 15.2 & 15.5267018937936 & -0.32670189379364 \tabularnewline
43 & 14.9 & 15.3173010350036 & -0.417301035003595 \tabularnewline
44 & 14.6 & 15.1079001762136 & -0.507900176213552 \tabularnewline
45 & 14.4 & 14.9455107452907 & -0.5455107452907 \tabularnewline
46 & 14.5 & 14.5715698889655 & -0.0715698889654829 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&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]22[/C][C]22.0318814210622[/C][C]-0.0318814210621677[/C][/ROW]
[ROW][C]2[/C][C]22[/C][C]21.9165034180065[/C][C]0.0834965819935006[/C][/ROW]
[ROW][C]3[/C][C]21.8[/C][C]21.3780225641461[/C][C]0.421977435853892[/C][/ROW]
[ROW][C]4[/C][C]21.5[/C][C]21.2743974180572[/C][C]0.225602581942752[/C][/ROW]
[ROW][C]5[/C][C]21.3[/C][C]21.2647951277028[/C][C]0.0352048722972274[/C][/ROW]
[ROW][C]6[/C][C]21.1[/C][C]21.3139571221823[/C][C]-0.213957122182288[/C][/ROW]
[ROW][C]7[/C][C]21.2[/C][C]21.1280619773258[/C][C]0.0719380226741583[/C][/ROW]
[ROW][C]8[/C][C]21[/C][C]20.7188625501002[/C][C]0.281137449899771[/C][/ROW]
[ROW][C]9[/C][C]20.8[/C][C]20.5564731191774[/C][C]0.243526880822622[/C][/ROW]
[ROW][C]10[/C][C]20.5[/C][C]20.7231636833249[/C][C]-0.223163683324874[/C][/ROW]
[ROW][C]11[/C][C]20.4[/C][C]20.737067106904[/C][C]-0.337067106903998[/C][/ROW]
[ROW][C]12[/C][C]20.1[/C][C]20.1868333960768[/C][C]-0.0868333960768049[/C][/ROW]
[ROW][C]13[/C][C]19.9[/C][C]19.9421739663864[/C][C]-0.0421739663863689[/C][/ROW]
[ROW][C]14[/C][C]19.6[/C][C]20.0853588166003[/C][C]-0.485358816600267[/C][/ROW]
[ROW][C]15[/C][C]19.4[/C][C]19.828946529943[/C][C]-0.428946529943033[/C][/ROW]
[ROW][C]16[/C][C]19.2[/C][C]19.6077928141862[/C][C]-0.407792814186191[/C][/ROW]
[ROW][C]17[/C][C]19.1[/C][C]19.1633348160602[/C][C]-0.0633348160601831[/C][/ROW]
[ROW][C]18[/C][C]19.1[/C][C]19.2124968105397[/C][C]-0.112496810539698[/C][/ROW]
[ROW][C]19[/C][C]18.9[/C][C]19.1323773783844[/C][C]-0.232377378384436[/C][/ROW]
[ROW][C]20[/C][C]18.7[/C][C]19.0287522322956[/C][C]-0.328752232295576[/C][/ROW]
[ROW][C]21[/C][C]18.7[/C][C]18.8428570874391[/C][C]-0.142857087439128[/C][/ROW]
[ROW][C]22[/C][C]18.7[/C][C]18.7862433692175[/C][C]-0.0862433692174596[/C][/ROW]
[ROW][C]23[/C][C]18.4[/C][C]18.5768425104274[/C][C]-0.176842510427417[/C][/ROW]
[ROW][C]24[/C][C]18.4[/C][C]18.2264073680358[/C][C]0.173592631964204[/C][/ROW]
[ROW][C]25[/C][C]18.3[/C][C]18.1815465067809[/C][C]0.118453493219075[/C][/ROW]
[ROW][C]26[/C][C]18.4[/C][C]18.4187542127292[/C][C]-0.0187542127292125[/C][/ROW]
[ROW][C]27[/C][C]18.3[/C][C]18.4679162072087[/C][C]-0.167916207208725[/C][/ROW]
[ROW][C]28[/C][C]18.3[/C][C]18.0704696369499[/C][C]0.229530363050088[/C][/ROW]
[ROW][C]29[/C][C]18[/C][C]17.8493159211931[/C][C]0.15068407880693[/C][/ROW]
[ROW][C]30[/C][C]17.7[/C][C]17.2050593546315[/C][C]0.494940645368504[/C][/ROW]
[ROW][C]31[/C][C]17.7[/C][C]17.6303127720486[/C][C]0.0696872279514488[/C][/ROW]
[ROW][C]32[/C][C]17.9[/C][C]17.103584775155[/C][C]0.796415224845042[/C][/ROW]
[ROW][C]33[/C][C]17.6[/C][C]17.0822296278337[/C][C]0.517770372166316[/C][/ROW]
[ROW][C]34[/C][C]17.7[/C][C]17.0138630526452[/C][C]0.686136947354781[/C][/ROW]
[ROW][C]35[/C][C]17.4[/C][C]17.0865307610583[/C][C]0.313469238941668[/C][/ROW]
[ROW][C]36[/C][C]17.1[/C][C]16.9711527580027[/C][C]0.128847241997329[/C][/ROW]
[ROW][C]37[/C][C]16.8[/C][C]16.5384476168435[/C][C]0.261552383156537[/C][/ROW]
[ROW][C]38[/C][C]16.5[/C][C]16.2232710453522[/C][C]0.276728954647764[/C][/ROW]
[ROW][C]39[/C][C]16.2[/C][C]15.8845887599274[/C][C]0.315411240072586[/C][/ROW]
[ROW][C]40[/C][C]15.8[/C][C]15.9925150392409[/C][C]-0.192515039240918[/C][/ROW]
[ROW][C]41[/C][C]15.5[/C][C]15.7478556095505[/C][C]-0.247855609550481[/C][/ROW]
[ROW][C]42[/C][C]15.2[/C][C]15.5267018937936[/C][C]-0.32670189379364[/C][/ROW]
[ROW][C]43[/C][C]14.9[/C][C]15.3173010350036[/C][C]-0.417301035003595[/C][/ROW]
[ROW][C]44[/C][C]14.6[/C][C]15.1079001762136[/C][C]-0.507900176213552[/C][/ROW]
[ROW][C]45[/C][C]14.4[/C][C]14.9455107452907[/C][C]-0.5455107452907[/C][/ROW]
[ROW][C]46[/C][C]14.5[/C][C]14.5715698889655[/C][C]-0.0715698889654829[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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
12222.0318814210622-0.0318814210621677
22221.91650341800650.0834965819935006
321.821.37802256414610.421977435853892
421.521.27439741805720.225602581942752
521.321.26479512770280.0352048722972274
621.121.3139571221823-0.213957122182288
721.221.12806197732580.0719380226741583
82120.71886255010020.281137449899771
920.820.55647311917740.243526880822622
1020.520.7231636833249-0.223163683324874
1120.420.737067106904-0.337067106903998
1220.120.1868333960768-0.0868333960768049
1319.919.9421739663864-0.0421739663863689
1419.620.0853588166003-0.485358816600267
1519.419.828946529943-0.428946529943033
1619.219.6077928141862-0.407792814186191
1719.119.1633348160602-0.0633348160601831
1819.119.2124968105397-0.112496810539698
1918.919.1323773783844-0.232377378384436
2018.719.0287522322956-0.328752232295576
2118.718.8428570874391-0.142857087439128
2218.718.7862433692175-0.0862433692174596
2318.418.5768425104274-0.176842510427417
2418.418.22640736803580.173592631964204
2518.318.18154650678090.118453493219075
2618.418.4187542127292-0.0187542127292125
2718.318.4679162072087-0.167916207208725
2818.318.07046963694990.229530363050088
291817.84931592119310.15068407880693
3017.717.20505935463150.494940645368504
3117.717.63031277204860.0696872279514488
3217.917.1035847751550.796415224845042
3317.617.08222962783370.517770372166316
3417.717.01386305264520.686136947354781
3517.417.08653076105830.313469238941668
3617.116.97115275800270.128847241997329
3716.816.53844761684350.261552383156537
3816.516.22327104535220.276728954647764
3916.215.88458875992740.315411240072586
4015.815.9925150392409-0.192515039240918
4115.515.7478556095505-0.247855609550481
4215.215.5267018937936-0.32670189379364
4314.915.3173010350036-0.417301035003595
4414.615.1079001762136-0.507900176213552
4514.414.9455107452907-0.5455107452907
4614.514.5715698889655-0.0715698889654829







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.02794883764355770.05589767528711540.972051162356442
70.03742353806549460.07484707613098920.962576461934505
80.01636928916370350.03273857832740710.983630710836296
90.005743521132242920.01148704226448580.994256478867757
100.002241134001410670.004482268002821330.997758865998589
110.00069608794624570.00139217589249140.999303912053754
120.0004291004731327490.0008582009462654990.999570899526867
130.0002137048322929010.0004274096645858020.999786295167707
140.0002952511490690110.0005905022981380220.999704748850931
150.0002661989568132110.0005323979136264220.999733801043187
160.0002031146135094990.0004062292270189990.99979688538649
176.81316628674331e-050.0001362633257348660.999931868337133
184.38857679219922e-058.77715358439844e-050.999956114232078
192.47375503319126e-054.94751006638251e-050.999975262449668
201.70268882907759e-053.40537765815518e-050.999982973111709
213.43580596299863e-056.87161192599726e-050.99996564194037
220.0002335060483272420.0004670120966544840.999766493951673
230.0004100897758119140.0008201795516238280.999589910224188
240.001070411381036020.002140822762072040.998929588618964
250.003531935469078730.007063870938157470.996468064530921
260.02423446754638170.04846893509276350.975765532453618
270.08420364064805740.1684072812961150.915796359351943
280.1897163735298550.3794327470597110.810283626470145
290.3469757287950120.6939514575900240.653024271204988
300.5551229337744090.8897541324511820.444877066225591
310.915438192561770.1691236148764590.0845618074382296
320.9532246905041050.09355061899179040.0467753094958952
330.9859088463910290.02818230721794230.0140911536089712
340.9808731439896430.03825371202071350.0191268560103568
350.9689977096789040.06200458064219220.0310022903210961
360.9789540301007860.04209193979842780.0210459698992139
370.9810099932999520.03798001340009580.0189900067000479
380.9658480223788070.06830395524238530.0341519776211927
390.9594709337934470.08105813241310690.0405290662065535
400.9583657846369680.08326843072606460.0416342153630323

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0279488376435577 & 0.0558976752871154 & 0.972051162356442 \tabularnewline
7 & 0.0374235380654946 & 0.0748470761309892 & 0.962576461934505 \tabularnewline
8 & 0.0163692891637035 & 0.0327385783274071 & 0.983630710836296 \tabularnewline
9 & 0.00574352113224292 & 0.0114870422644858 & 0.994256478867757 \tabularnewline
10 & 0.00224113400141067 & 0.00448226800282133 & 0.997758865998589 \tabularnewline
11 & 0.0006960879462457 & 0.0013921758924914 & 0.999303912053754 \tabularnewline
12 & 0.000429100473132749 & 0.000858200946265499 & 0.999570899526867 \tabularnewline
13 & 0.000213704832292901 & 0.000427409664585802 & 0.999786295167707 \tabularnewline
14 & 0.000295251149069011 & 0.000590502298138022 & 0.999704748850931 \tabularnewline
15 & 0.000266198956813211 & 0.000532397913626422 & 0.999733801043187 \tabularnewline
16 & 0.000203114613509499 & 0.000406229227018999 & 0.99979688538649 \tabularnewline
17 & 6.81316628674331e-05 & 0.000136263325734866 & 0.999931868337133 \tabularnewline
18 & 4.38857679219922e-05 & 8.77715358439844e-05 & 0.999956114232078 \tabularnewline
19 & 2.47375503319126e-05 & 4.94751006638251e-05 & 0.999975262449668 \tabularnewline
20 & 1.70268882907759e-05 & 3.40537765815518e-05 & 0.999982973111709 \tabularnewline
21 & 3.43580596299863e-05 & 6.87161192599726e-05 & 0.99996564194037 \tabularnewline
22 & 0.000233506048327242 & 0.000467012096654484 & 0.999766493951673 \tabularnewline
23 & 0.000410089775811914 & 0.000820179551623828 & 0.999589910224188 \tabularnewline
24 & 0.00107041138103602 & 0.00214082276207204 & 0.998929588618964 \tabularnewline
25 & 0.00353193546907873 & 0.00706387093815747 & 0.996468064530921 \tabularnewline
26 & 0.0242344675463817 & 0.0484689350927635 & 0.975765532453618 \tabularnewline
27 & 0.0842036406480574 & 0.168407281296115 & 0.915796359351943 \tabularnewline
28 & 0.189716373529855 & 0.379432747059711 & 0.810283626470145 \tabularnewline
29 & 0.346975728795012 & 0.693951457590024 & 0.653024271204988 \tabularnewline
30 & 0.555122933774409 & 0.889754132451182 & 0.444877066225591 \tabularnewline
31 & 0.91543819256177 & 0.169123614876459 & 0.0845618074382296 \tabularnewline
32 & 0.953224690504105 & 0.0935506189917904 & 0.0467753094958952 \tabularnewline
33 & 0.985908846391029 & 0.0281823072179423 & 0.0140911536089712 \tabularnewline
34 & 0.980873143989643 & 0.0382537120207135 & 0.0191268560103568 \tabularnewline
35 & 0.968997709678904 & 0.0620045806421922 & 0.0310022903210961 \tabularnewline
36 & 0.978954030100786 & 0.0420919397984278 & 0.0210459698992139 \tabularnewline
37 & 0.981009993299952 & 0.0379800134000958 & 0.0189900067000479 \tabularnewline
38 & 0.965848022378807 & 0.0683039552423853 & 0.0341519776211927 \tabularnewline
39 & 0.959470933793447 & 0.0810581324131069 & 0.0405290662065535 \tabularnewline
40 & 0.958365784636968 & 0.0832684307260646 & 0.0416342153630323 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&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.0279488376435577[/C][C]0.0558976752871154[/C][C]0.972051162356442[/C][/ROW]
[ROW][C]7[/C][C]0.0374235380654946[/C][C]0.0748470761309892[/C][C]0.962576461934505[/C][/ROW]
[ROW][C]8[/C][C]0.0163692891637035[/C][C]0.0327385783274071[/C][C]0.983630710836296[/C][/ROW]
[ROW][C]9[/C][C]0.00574352113224292[/C][C]0.0114870422644858[/C][C]0.994256478867757[/C][/ROW]
[ROW][C]10[/C][C]0.00224113400141067[/C][C]0.00448226800282133[/C][C]0.997758865998589[/C][/ROW]
[ROW][C]11[/C][C]0.0006960879462457[/C][C]0.0013921758924914[/C][C]0.999303912053754[/C][/ROW]
[ROW][C]12[/C][C]0.000429100473132749[/C][C]0.000858200946265499[/C][C]0.999570899526867[/C][/ROW]
[ROW][C]13[/C][C]0.000213704832292901[/C][C]0.000427409664585802[/C][C]0.999786295167707[/C][/ROW]
[ROW][C]14[/C][C]0.000295251149069011[/C][C]0.000590502298138022[/C][C]0.999704748850931[/C][/ROW]
[ROW][C]15[/C][C]0.000266198956813211[/C][C]0.000532397913626422[/C][C]0.999733801043187[/C][/ROW]
[ROW][C]16[/C][C]0.000203114613509499[/C][C]0.000406229227018999[/C][C]0.99979688538649[/C][/ROW]
[ROW][C]17[/C][C]6.81316628674331e-05[/C][C]0.000136263325734866[/C][C]0.999931868337133[/C][/ROW]
[ROW][C]18[/C][C]4.38857679219922e-05[/C][C]8.77715358439844e-05[/C][C]0.999956114232078[/C][/ROW]
[ROW][C]19[/C][C]2.47375503319126e-05[/C][C]4.94751006638251e-05[/C][C]0.999975262449668[/C][/ROW]
[ROW][C]20[/C][C]1.70268882907759e-05[/C][C]3.40537765815518e-05[/C][C]0.999982973111709[/C][/ROW]
[ROW][C]21[/C][C]3.43580596299863e-05[/C][C]6.87161192599726e-05[/C][C]0.99996564194037[/C][/ROW]
[ROW][C]22[/C][C]0.000233506048327242[/C][C]0.000467012096654484[/C][C]0.999766493951673[/C][/ROW]
[ROW][C]23[/C][C]0.000410089775811914[/C][C]0.000820179551623828[/C][C]0.999589910224188[/C][/ROW]
[ROW][C]24[/C][C]0.00107041138103602[/C][C]0.00214082276207204[/C][C]0.998929588618964[/C][/ROW]
[ROW][C]25[/C][C]0.00353193546907873[/C][C]0.00706387093815747[/C][C]0.996468064530921[/C][/ROW]
[ROW][C]26[/C][C]0.0242344675463817[/C][C]0.0484689350927635[/C][C]0.975765532453618[/C][/ROW]
[ROW][C]27[/C][C]0.0842036406480574[/C][C]0.168407281296115[/C][C]0.915796359351943[/C][/ROW]
[ROW][C]28[/C][C]0.189716373529855[/C][C]0.379432747059711[/C][C]0.810283626470145[/C][/ROW]
[ROW][C]29[/C][C]0.346975728795012[/C][C]0.693951457590024[/C][C]0.653024271204988[/C][/ROW]
[ROW][C]30[/C][C]0.555122933774409[/C][C]0.889754132451182[/C][C]0.444877066225591[/C][/ROW]
[ROW][C]31[/C][C]0.91543819256177[/C][C]0.169123614876459[/C][C]0.0845618074382296[/C][/ROW]
[ROW][C]32[/C][C]0.953224690504105[/C][C]0.0935506189917904[/C][C]0.0467753094958952[/C][/ROW]
[ROW][C]33[/C][C]0.985908846391029[/C][C]0.0281823072179423[/C][C]0.0140911536089712[/C][/ROW]
[ROW][C]34[/C][C]0.980873143989643[/C][C]0.0382537120207135[/C][C]0.0191268560103568[/C][/ROW]
[ROW][C]35[/C][C]0.968997709678904[/C][C]0.0620045806421922[/C][C]0.0310022903210961[/C][/ROW]
[ROW][C]36[/C][C]0.978954030100786[/C][C]0.0420919397984278[/C][C]0.0210459698992139[/C][/ROW]
[ROW][C]37[/C][C]0.981009993299952[/C][C]0.0379800134000958[/C][C]0.0189900067000479[/C][/ROW]
[ROW][C]38[/C][C]0.965848022378807[/C][C]0.0683039552423853[/C][C]0.0341519776211927[/C][/ROW]
[ROW][C]39[/C][C]0.959470933793447[/C][C]0.0810581324131069[/C][C]0.0405290662065535[/C][/ROW]
[ROW][C]40[/C][C]0.958365784636968[/C][C]0.0832684307260646[/C][C]0.0416342153630323[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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.02794883764355770.05589767528711540.972051162356442
70.03742353806549460.07484707613098920.962576461934505
80.01636928916370350.03273857832740710.983630710836296
90.005743521132242920.01148704226448580.994256478867757
100.002241134001410670.004482268002821330.997758865998589
110.00069608794624570.00139217589249140.999303912053754
120.0004291004731327490.0008582009462654990.999570899526867
130.0002137048322929010.0004274096645858020.999786295167707
140.0002952511490690110.0005905022981380220.999704748850931
150.0002661989568132110.0005323979136264220.999733801043187
160.0002031146135094990.0004062292270189990.99979688538649
176.81316628674331e-050.0001362633257348660.999931868337133
184.38857679219922e-058.77715358439844e-050.999956114232078
192.47375503319126e-054.94751006638251e-050.999975262449668
201.70268882907759e-053.40537765815518e-050.999982973111709
213.43580596299863e-056.87161192599726e-050.99996564194037
220.0002335060483272420.0004670120966544840.999766493951673
230.0004100897758119140.0008201795516238280.999589910224188
240.001070411381036020.002140822762072040.998929588618964
250.003531935469078730.007063870938157470.996468064530921
260.02423446754638170.04846893509276350.975765532453618
270.08420364064805740.1684072812961150.915796359351943
280.1897163735298550.3794327470597110.810283626470145
290.3469757287950120.6939514575900240.653024271204988
300.5551229337744090.8897541324511820.444877066225591
310.915438192561770.1691236148764590.0845618074382296
320.9532246905041050.09355061899179040.0467753094958952
330.9859088463910290.02818230721794230.0140911536089712
340.9808731439896430.03825371202071350.0191268560103568
350.9689977096789040.06200458064219220.0310022903210961
360.9789540301007860.04209193979842780.0210459698992139
370.9810099932999520.03798001340009580.0189900067000479
380.9658480223788070.06830395524238530.0341519776211927
390.9594709337934470.08105813241310690.0405290662065535
400.9583657846369680.08326843072606460.0416342153630323







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.457142857142857NOK
5% type I error level230.657142857142857NOK
10% type I error level300.857142857142857NOK

\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 & 16 & 0.457142857142857 & NOK \tabularnewline
5% type I error level & 23 & 0.657142857142857 & NOK \tabularnewline
10% type I error level & 30 & 0.857142857142857 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=146601&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]16[/C][C]0.457142857142857[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]23[/C][C]0.657142857142857[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]30[/C][C]0.857142857142857[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=146601&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=146601&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 level160.457142857142857NOK
5% type I error level230.657142857142857NOK
10% type I error level300.857142857142857NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}