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 computationSun, 20 Dec 2009 05:02:20 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/20/t1261310642sn9oitdj3arhstr.htm/, Retrieved Sat, 27 Apr 2024 05:33:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69848, Retrieved Sat, 27 Apr 2024 05:33:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact104
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [Multiple Linear R...] [2009-12-20 12:02:20] [fe2edc5b0acc9545190e03904e9be55e] [Current]
Feedback Forum

Post a new message
Dataseries X:
921365	0
987921	0
1132614	0
1332224	0
1418133	0
1411549	0
1695920	0
1636173	0
1539653	0
1395314	0
1127575	0
1036076	0
989236	0
1008380	0
1207763	0
1368839	0
1469798	0
1498721	0
1761769	0
1653214	0
1599104	0
1421179	0
1163995	0
1037735	0
1015407	0
1039210	0
1258049	0
1469445	0
1552346	0
1549144	0
1785895	0
1662335	0
1629440	0
1467430	0
1202209	0
1076982	0
1039367	1
1063449	1
1335135	1
1491602	1
1591972	1
1641248	1
1898849	1
1798580	1
1762444	1
1622044	1
1368955	1
1262973	1
1195650	1
1269530	1
1479279	1
1607819	1
1712466	1
1721766	1
1949843	1
1821326	1
1757802	1
1590367	1
1260647	1
1149235	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1045195.97777778 + 168510.555555556X[t] -80395.2M1[t] -38902.1999999998M2[t] + 169967.8M3[t] + 341385.6M4[t] + 436342.8M5[t] + 451885.4M6[t] + 705855M7[t] + 601725.4M8[t] + 545088.4M9[t] + 386666.6M10[t] + 112076M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  1045195.97777778 +  168510.555555556X[t] -80395.2M1[t] -38902.1999999998M2[t] +  169967.8M3[t] +  341385.6M4[t] +  436342.8M5[t] +  451885.4M6[t] +  705855M7[t] +  601725.4M8[t] +  545088.4M9[t] +  386666.6M10[t] +  112076M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69848&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  1045195.97777778 +  168510.555555556X[t] -80395.2M1[t] -38902.1999999998M2[t] +  169967.8M3[t] +  341385.6M4[t] +  436342.8M5[t] +  451885.4M6[t] +  705855M7[t] +  601725.4M8[t] +  545088.4M9[t] +  386666.6M10[t] +  112076M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69848&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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
Y[t] = + 1045195.97777778 + 168510.555555556X[t] -80395.2M1[t] -38902.1999999998M2[t] + 169967.8M3[t] + 341385.6M4[t] + 436342.8M5[t] + 451885.4M6[t] + 705855M7[t] + 601725.4M8[t] + 545088.4M9[t] + 386666.6M10[t] + 112076M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1045195.9777777824951.86537441.888500
X168510.55555555614310.87626511.77500
M1-80395.234346.103037-2.34070.023540.01177
M2-38902.199999999834346.103037-1.13270.2631060.131553
M3169967.834346.1030374.94871e-055e-06
M4341385.634346.1030379.939600
M5436342.834346.10303712.704300
M6451885.434346.10303713.156800
M770585534346.10303720.551200
M8601725.434346.10303717.519500
M9545088.434346.10303715.870500
M10386666.634346.10303711.257900
M1111207634346.1030373.26310.0020570.001028

\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) & 1045195.97777778 & 24951.865374 & 41.8885 & 0 & 0 \tabularnewline
X & 168510.555555556 & 14310.876265 & 11.775 & 0 & 0 \tabularnewline
M1 & -80395.2 & 34346.103037 & -2.3407 & 0.02354 & 0.01177 \tabularnewline
M2 & -38902.1999999998 & 34346.103037 & -1.1327 & 0.263106 & 0.131553 \tabularnewline
M3 & 169967.8 & 34346.103037 & 4.9487 & 1e-05 & 5e-06 \tabularnewline
M4 & 341385.6 & 34346.103037 & 9.9396 & 0 & 0 \tabularnewline
M5 & 436342.8 & 34346.103037 & 12.7043 & 0 & 0 \tabularnewline
M6 & 451885.4 & 34346.103037 & 13.1568 & 0 & 0 \tabularnewline
M7 & 705855 & 34346.103037 & 20.5512 & 0 & 0 \tabularnewline
M8 & 601725.4 & 34346.103037 & 17.5195 & 0 & 0 \tabularnewline
M9 & 545088.4 & 34346.103037 & 15.8705 & 0 & 0 \tabularnewline
M10 & 386666.6 & 34346.103037 & 11.2579 & 0 & 0 \tabularnewline
M11 & 112076 & 34346.103037 & 3.2631 & 0.002057 & 0.001028 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69848&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]1045195.97777778[/C][C]24951.865374[/C][C]41.8885[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]168510.555555556[/C][C]14310.876265[/C][C]11.775[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-80395.2[/C][C]34346.103037[/C][C]-2.3407[/C][C]0.02354[/C][C]0.01177[/C][/ROW]
[ROW][C]M2[/C][C]-38902.1999999998[/C][C]34346.103037[/C][C]-1.1327[/C][C]0.263106[/C][C]0.131553[/C][/ROW]
[ROW][C]M3[/C][C]169967.8[/C][C]34346.103037[/C][C]4.9487[/C][C]1e-05[/C][C]5e-06[/C][/ROW]
[ROW][C]M4[/C][C]341385.6[/C][C]34346.103037[/C][C]9.9396[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]436342.8[/C][C]34346.103037[/C][C]12.7043[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]451885.4[/C][C]34346.103037[/C][C]13.1568[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]705855[/C][C]34346.103037[/C][C]20.5512[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]601725.4[/C][C]34346.103037[/C][C]17.5195[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]545088.4[/C][C]34346.103037[/C][C]15.8705[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]386666.6[/C][C]34346.103037[/C][C]11.2579[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]112076[/C][C]34346.103037[/C][C]3.2631[/C][C]0.002057[/C][C]0.001028[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69848&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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)1045195.9777777824951.86537441.888500
X168510.55555555614310.87626511.77500
M1-80395.234346.103037-2.34070.023540.01177
M2-38902.199999999834346.103037-1.13270.2631060.131553
M3169967.834346.1030374.94871e-055e-06
M4341385.634346.1030379.939600
M5436342.834346.10303712.704300
M6451885.434346.10303713.156800
M770585534346.10303720.551200
M8601725.434346.10303717.519500
M9545088.434346.10303715.870500
M10386666.634346.10303711.257900
M1111207634346.1030373.26310.0020570.001028







Multiple Linear Regression - Regression Statistics
Multiple R0.984084678928848
R-squared0.968422655302495
Adjusted R-squared0.960360354528664
F-TEST (value)120.117405994804
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation54305.9571739398
Sum Squared Residuals138609438275.156

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.984084678928848 \tabularnewline
R-squared & 0.968422655302495 \tabularnewline
Adjusted R-squared & 0.960360354528664 \tabularnewline
F-TEST (value) & 120.117405994804 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 54305.9571739398 \tabularnewline
Sum Squared Residuals & 138609438275.156 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69848&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.984084678928848[/C][/ROW]
[ROW][C]R-squared[/C][C]0.968422655302495[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.960360354528664[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]120.117405994804[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/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]54305.9571739398[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]138609438275.156[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69848&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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.984084678928848
R-squared0.968422655302495
Adjusted R-squared0.960360354528664
F-TEST (value)120.117405994804
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation54305.9571739398
Sum Squared Residuals138609438275.156







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1921365964800.777777778-43435.7777777785
29879211006293.77777778-18372.7777777777
311326141215163.77777778-82549.777777778
413322241386581.57777778-54357.5777777783
514181331481538.77777778-63405.7777777776
614115491497081.37777778-85532.3777777784
716959201751050.97777778-55130.9777777775
816361731646921.37777778-10748.3777777777
915396531590284.37777778-50631.3777777775
1013953141431862.57777778-36548.577777778
1111275751157271.97777778-29696.9777777779
1210360761045195.97777778-9119.97777777775
13989236964800.77777777824435.2222222225
1410083801006293.777777782086.22222222229
1512077631215163.77777778-7400.77777777767
1613688391386581.57777778-17742.5777777776
1714697981481538.77777778-11740.7777777778
1814987211497081.377777781639.62222222243
1917617691751050.9777777810718.0222222222
2016532141646921.377777786292.62222222227
2115991041590284.377777788819.62222222225
2214211791431862.57777778-10683.5777777777
2311639951157271.977777786723.02222222224
2410377351045195.97777778-7460.97777777782
251015407964800.77777777850606.2222222224
2610392101006293.7777777832916.2222222222
2712580491215163.7777777842885.2222222223
2814694451386581.5777777882863.4222222224
2915523461481538.7777777870807.2222222222
3015491441497081.3777777852062.6222222224
3117858951751050.9777777834844.0222222222
3216623351646921.3777777815413.6222222223
3316294401590284.3777777839155.6222222222
3414674301431862.5777777835567.4222222223
3512022091157271.9777777844937.0222222222
3610769821045195.9777777831786.0222222222
3710393671133311.33333333-93944.3333333332
3810634491174804.33333333-111355.333333333
3913351351383674.33333333-48539.3333333333
4014916021555092.13333333-63490.1333333332
4115919721650049.33333333-58077.3333333334
4216412481665591.93333333-24343.9333333332
4318988491919561.53333333-20712.5333333335
4417985801815431.93333333-16851.9333333334
4517624441758794.933333333649.0666666665
4616220441600373.1333333321670.8666666667
4713689551325782.5333333343172.4666666667
4812629731213706.5333333349266.4666666667
4911956501133311.3333333362338.6666666668
5012695301174804.3333333394725.6666666666
5114792791383674.3333333395604.6666666667
5216078191555092.1333333352726.8666666668
5317124661650049.3333333362416.6666666666
5417217661665591.9333333356174.0666666668
5519498431919561.5333333330281.4666666665
5618213261815431.933333335894.06666666659
5717578021758794.93333333-992.933333333494
5815903671600373.13333333-10006.1333333333
5912606471325782.53333333-65135.5333333333
6011492351213706.53333333-64471.5333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 921365 & 964800.777777778 & -43435.7777777785 \tabularnewline
2 & 987921 & 1006293.77777778 & -18372.7777777777 \tabularnewline
3 & 1132614 & 1215163.77777778 & -82549.777777778 \tabularnewline
4 & 1332224 & 1386581.57777778 & -54357.5777777783 \tabularnewline
5 & 1418133 & 1481538.77777778 & -63405.7777777776 \tabularnewline
6 & 1411549 & 1497081.37777778 & -85532.3777777784 \tabularnewline
7 & 1695920 & 1751050.97777778 & -55130.9777777775 \tabularnewline
8 & 1636173 & 1646921.37777778 & -10748.3777777777 \tabularnewline
9 & 1539653 & 1590284.37777778 & -50631.3777777775 \tabularnewline
10 & 1395314 & 1431862.57777778 & -36548.577777778 \tabularnewline
11 & 1127575 & 1157271.97777778 & -29696.9777777779 \tabularnewline
12 & 1036076 & 1045195.97777778 & -9119.97777777775 \tabularnewline
13 & 989236 & 964800.777777778 & 24435.2222222225 \tabularnewline
14 & 1008380 & 1006293.77777778 & 2086.22222222229 \tabularnewline
15 & 1207763 & 1215163.77777778 & -7400.77777777767 \tabularnewline
16 & 1368839 & 1386581.57777778 & -17742.5777777776 \tabularnewline
17 & 1469798 & 1481538.77777778 & -11740.7777777778 \tabularnewline
18 & 1498721 & 1497081.37777778 & 1639.62222222243 \tabularnewline
19 & 1761769 & 1751050.97777778 & 10718.0222222222 \tabularnewline
20 & 1653214 & 1646921.37777778 & 6292.62222222227 \tabularnewline
21 & 1599104 & 1590284.37777778 & 8819.62222222225 \tabularnewline
22 & 1421179 & 1431862.57777778 & -10683.5777777777 \tabularnewline
23 & 1163995 & 1157271.97777778 & 6723.02222222224 \tabularnewline
24 & 1037735 & 1045195.97777778 & -7460.97777777782 \tabularnewline
25 & 1015407 & 964800.777777778 & 50606.2222222224 \tabularnewline
26 & 1039210 & 1006293.77777778 & 32916.2222222222 \tabularnewline
27 & 1258049 & 1215163.77777778 & 42885.2222222223 \tabularnewline
28 & 1469445 & 1386581.57777778 & 82863.4222222224 \tabularnewline
29 & 1552346 & 1481538.77777778 & 70807.2222222222 \tabularnewline
30 & 1549144 & 1497081.37777778 & 52062.6222222224 \tabularnewline
31 & 1785895 & 1751050.97777778 & 34844.0222222222 \tabularnewline
32 & 1662335 & 1646921.37777778 & 15413.6222222223 \tabularnewline
33 & 1629440 & 1590284.37777778 & 39155.6222222222 \tabularnewline
34 & 1467430 & 1431862.57777778 & 35567.4222222223 \tabularnewline
35 & 1202209 & 1157271.97777778 & 44937.0222222222 \tabularnewline
36 & 1076982 & 1045195.97777778 & 31786.0222222222 \tabularnewline
37 & 1039367 & 1133311.33333333 & -93944.3333333332 \tabularnewline
38 & 1063449 & 1174804.33333333 & -111355.333333333 \tabularnewline
39 & 1335135 & 1383674.33333333 & -48539.3333333333 \tabularnewline
40 & 1491602 & 1555092.13333333 & -63490.1333333332 \tabularnewline
41 & 1591972 & 1650049.33333333 & -58077.3333333334 \tabularnewline
42 & 1641248 & 1665591.93333333 & -24343.9333333332 \tabularnewline
43 & 1898849 & 1919561.53333333 & -20712.5333333335 \tabularnewline
44 & 1798580 & 1815431.93333333 & -16851.9333333334 \tabularnewline
45 & 1762444 & 1758794.93333333 & 3649.0666666665 \tabularnewline
46 & 1622044 & 1600373.13333333 & 21670.8666666667 \tabularnewline
47 & 1368955 & 1325782.53333333 & 43172.4666666667 \tabularnewline
48 & 1262973 & 1213706.53333333 & 49266.4666666667 \tabularnewline
49 & 1195650 & 1133311.33333333 & 62338.6666666668 \tabularnewline
50 & 1269530 & 1174804.33333333 & 94725.6666666666 \tabularnewline
51 & 1479279 & 1383674.33333333 & 95604.6666666667 \tabularnewline
52 & 1607819 & 1555092.13333333 & 52726.8666666668 \tabularnewline
53 & 1712466 & 1650049.33333333 & 62416.6666666666 \tabularnewline
54 & 1721766 & 1665591.93333333 & 56174.0666666668 \tabularnewline
55 & 1949843 & 1919561.53333333 & 30281.4666666665 \tabularnewline
56 & 1821326 & 1815431.93333333 & 5894.06666666659 \tabularnewline
57 & 1757802 & 1758794.93333333 & -992.933333333494 \tabularnewline
58 & 1590367 & 1600373.13333333 & -10006.1333333333 \tabularnewline
59 & 1260647 & 1325782.53333333 & -65135.5333333333 \tabularnewline
60 & 1149235 & 1213706.53333333 & -64471.5333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69848&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]921365[/C][C]964800.777777778[/C][C]-43435.7777777785[/C][/ROW]
[ROW][C]2[/C][C]987921[/C][C]1006293.77777778[/C][C]-18372.7777777777[/C][/ROW]
[ROW][C]3[/C][C]1132614[/C][C]1215163.77777778[/C][C]-82549.777777778[/C][/ROW]
[ROW][C]4[/C][C]1332224[/C][C]1386581.57777778[/C][C]-54357.5777777783[/C][/ROW]
[ROW][C]5[/C][C]1418133[/C][C]1481538.77777778[/C][C]-63405.7777777776[/C][/ROW]
[ROW][C]6[/C][C]1411549[/C][C]1497081.37777778[/C][C]-85532.3777777784[/C][/ROW]
[ROW][C]7[/C][C]1695920[/C][C]1751050.97777778[/C][C]-55130.9777777775[/C][/ROW]
[ROW][C]8[/C][C]1636173[/C][C]1646921.37777778[/C][C]-10748.3777777777[/C][/ROW]
[ROW][C]9[/C][C]1539653[/C][C]1590284.37777778[/C][C]-50631.3777777775[/C][/ROW]
[ROW][C]10[/C][C]1395314[/C][C]1431862.57777778[/C][C]-36548.577777778[/C][/ROW]
[ROW][C]11[/C][C]1127575[/C][C]1157271.97777778[/C][C]-29696.9777777779[/C][/ROW]
[ROW][C]12[/C][C]1036076[/C][C]1045195.97777778[/C][C]-9119.97777777775[/C][/ROW]
[ROW][C]13[/C][C]989236[/C][C]964800.777777778[/C][C]24435.2222222225[/C][/ROW]
[ROW][C]14[/C][C]1008380[/C][C]1006293.77777778[/C][C]2086.22222222229[/C][/ROW]
[ROW][C]15[/C][C]1207763[/C][C]1215163.77777778[/C][C]-7400.77777777767[/C][/ROW]
[ROW][C]16[/C][C]1368839[/C][C]1386581.57777778[/C][C]-17742.5777777776[/C][/ROW]
[ROW][C]17[/C][C]1469798[/C][C]1481538.77777778[/C][C]-11740.7777777778[/C][/ROW]
[ROW][C]18[/C][C]1498721[/C][C]1497081.37777778[/C][C]1639.62222222243[/C][/ROW]
[ROW][C]19[/C][C]1761769[/C][C]1751050.97777778[/C][C]10718.0222222222[/C][/ROW]
[ROW][C]20[/C][C]1653214[/C][C]1646921.37777778[/C][C]6292.62222222227[/C][/ROW]
[ROW][C]21[/C][C]1599104[/C][C]1590284.37777778[/C][C]8819.62222222225[/C][/ROW]
[ROW][C]22[/C][C]1421179[/C][C]1431862.57777778[/C][C]-10683.5777777777[/C][/ROW]
[ROW][C]23[/C][C]1163995[/C][C]1157271.97777778[/C][C]6723.02222222224[/C][/ROW]
[ROW][C]24[/C][C]1037735[/C][C]1045195.97777778[/C][C]-7460.97777777782[/C][/ROW]
[ROW][C]25[/C][C]1015407[/C][C]964800.777777778[/C][C]50606.2222222224[/C][/ROW]
[ROW][C]26[/C][C]1039210[/C][C]1006293.77777778[/C][C]32916.2222222222[/C][/ROW]
[ROW][C]27[/C][C]1258049[/C][C]1215163.77777778[/C][C]42885.2222222223[/C][/ROW]
[ROW][C]28[/C][C]1469445[/C][C]1386581.57777778[/C][C]82863.4222222224[/C][/ROW]
[ROW][C]29[/C][C]1552346[/C][C]1481538.77777778[/C][C]70807.2222222222[/C][/ROW]
[ROW][C]30[/C][C]1549144[/C][C]1497081.37777778[/C][C]52062.6222222224[/C][/ROW]
[ROW][C]31[/C][C]1785895[/C][C]1751050.97777778[/C][C]34844.0222222222[/C][/ROW]
[ROW][C]32[/C][C]1662335[/C][C]1646921.37777778[/C][C]15413.6222222223[/C][/ROW]
[ROW][C]33[/C][C]1629440[/C][C]1590284.37777778[/C][C]39155.6222222222[/C][/ROW]
[ROW][C]34[/C][C]1467430[/C][C]1431862.57777778[/C][C]35567.4222222223[/C][/ROW]
[ROW][C]35[/C][C]1202209[/C][C]1157271.97777778[/C][C]44937.0222222222[/C][/ROW]
[ROW][C]36[/C][C]1076982[/C][C]1045195.97777778[/C][C]31786.0222222222[/C][/ROW]
[ROW][C]37[/C][C]1039367[/C][C]1133311.33333333[/C][C]-93944.3333333332[/C][/ROW]
[ROW][C]38[/C][C]1063449[/C][C]1174804.33333333[/C][C]-111355.333333333[/C][/ROW]
[ROW][C]39[/C][C]1335135[/C][C]1383674.33333333[/C][C]-48539.3333333333[/C][/ROW]
[ROW][C]40[/C][C]1491602[/C][C]1555092.13333333[/C][C]-63490.1333333332[/C][/ROW]
[ROW][C]41[/C][C]1591972[/C][C]1650049.33333333[/C][C]-58077.3333333334[/C][/ROW]
[ROW][C]42[/C][C]1641248[/C][C]1665591.93333333[/C][C]-24343.9333333332[/C][/ROW]
[ROW][C]43[/C][C]1898849[/C][C]1919561.53333333[/C][C]-20712.5333333335[/C][/ROW]
[ROW][C]44[/C][C]1798580[/C][C]1815431.93333333[/C][C]-16851.9333333334[/C][/ROW]
[ROW][C]45[/C][C]1762444[/C][C]1758794.93333333[/C][C]3649.0666666665[/C][/ROW]
[ROW][C]46[/C][C]1622044[/C][C]1600373.13333333[/C][C]21670.8666666667[/C][/ROW]
[ROW][C]47[/C][C]1368955[/C][C]1325782.53333333[/C][C]43172.4666666667[/C][/ROW]
[ROW][C]48[/C][C]1262973[/C][C]1213706.53333333[/C][C]49266.4666666667[/C][/ROW]
[ROW][C]49[/C][C]1195650[/C][C]1133311.33333333[/C][C]62338.6666666668[/C][/ROW]
[ROW][C]50[/C][C]1269530[/C][C]1174804.33333333[/C][C]94725.6666666666[/C][/ROW]
[ROW][C]51[/C][C]1479279[/C][C]1383674.33333333[/C][C]95604.6666666667[/C][/ROW]
[ROW][C]52[/C][C]1607819[/C][C]1555092.13333333[/C][C]52726.8666666668[/C][/ROW]
[ROW][C]53[/C][C]1712466[/C][C]1650049.33333333[/C][C]62416.6666666666[/C][/ROW]
[ROW][C]54[/C][C]1721766[/C][C]1665591.93333333[/C][C]56174.0666666668[/C][/ROW]
[ROW][C]55[/C][C]1949843[/C][C]1919561.53333333[/C][C]30281.4666666665[/C][/ROW]
[ROW][C]56[/C][C]1821326[/C][C]1815431.93333333[/C][C]5894.06666666659[/C][/ROW]
[ROW][C]57[/C][C]1757802[/C][C]1758794.93333333[/C][C]-992.933333333494[/C][/ROW]
[ROW][C]58[/C][C]1590367[/C][C]1600373.13333333[/C][C]-10006.1333333333[/C][/ROW]
[ROW][C]59[/C][C]1260647[/C][C]1325782.53333333[/C][C]-65135.5333333333[/C][/ROW]
[ROW][C]60[/C][C]1149235[/C][C]1213706.53333333[/C][C]-64471.5333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69848&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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
1921365964800.777777778-43435.7777777785
29879211006293.77777778-18372.7777777777
311326141215163.77777778-82549.777777778
413322241386581.57777778-54357.5777777783
514181331481538.77777778-63405.7777777776
614115491497081.37777778-85532.3777777784
716959201751050.97777778-55130.9777777775
816361731646921.37777778-10748.3777777777
915396531590284.37777778-50631.3777777775
1013953141431862.57777778-36548.577777778
1111275751157271.97777778-29696.9777777779
1210360761045195.97777778-9119.97777777775
13989236964800.77777777824435.2222222225
1410083801006293.777777782086.22222222229
1512077631215163.77777778-7400.77777777767
1613688391386581.57777778-17742.5777777776
1714697981481538.77777778-11740.7777777778
1814987211497081.377777781639.62222222243
1917617691751050.9777777810718.0222222222
2016532141646921.377777786292.62222222227
2115991041590284.377777788819.62222222225
2214211791431862.57777778-10683.5777777777
2311639951157271.977777786723.02222222224
2410377351045195.97777778-7460.97777777782
251015407964800.77777777850606.2222222224
2610392101006293.7777777832916.2222222222
2712580491215163.7777777842885.2222222223
2814694451386581.5777777882863.4222222224
2915523461481538.7777777870807.2222222222
3015491441497081.3777777852062.6222222224
3117858951751050.9777777834844.0222222222
3216623351646921.3777777815413.6222222223
3316294401590284.3777777839155.6222222222
3414674301431862.5777777835567.4222222223
3512022091157271.9777777844937.0222222222
3610769821045195.9777777831786.0222222222
3710393671133311.33333333-93944.3333333332
3810634491174804.33333333-111355.333333333
3913351351383674.33333333-48539.3333333333
4014916021555092.13333333-63490.1333333332
4115919721650049.33333333-58077.3333333334
4216412481665591.93333333-24343.9333333332
4318988491919561.53333333-20712.5333333335
4417985801815431.93333333-16851.9333333334
4517624441758794.933333333649.0666666665
4616220441600373.1333333321670.8666666667
4713689551325782.5333333343172.4666666667
4812629731213706.5333333349266.4666666667
4911956501133311.3333333362338.6666666668
5012695301174804.3333333394725.6666666666
5114792791383674.3333333395604.6666666667
5216078191555092.1333333352726.8666666668
5317124661650049.3333333362416.6666666666
5417217661665591.9333333356174.0666666668
5519498431919561.5333333330281.4666666665
5618213261815431.933333335894.06666666659
5717578021758794.93333333-992.933333333494
5815903671600373.13333333-10006.1333333333
5912606471325782.53333333-65135.5333333333
6011492351213706.53333333-64471.5333333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.4426541786614670.8853083573229350.557345821338533
170.3627413081154220.7254826162308450.637258691884578
180.4194456182611160.8388912365222310.580554381738885
190.3800707179091460.7601414358182920.619929282090854
200.2672658381131820.5345316762263640.732734161886818
210.2293979234932320.4587958469864650.770602076506768
220.1654477129260160.3308954258520330.834552287073984
230.1175169950303080.2350339900606150.882483004969692
240.0739779302278330.1479558604556660.926022069772167
250.0691422346777040.1382844693554080.930857765322296
260.04934069258994720.09868138517989440.950659307410053
270.0683635320725560.1367270641451120.931636467927444
280.1348690311573570.2697380623147130.865130968842643
290.1743009524565660.3486019049131330.825699047543434
300.1770361493414590.3540722986829180.82296385065854
310.1385998960205450.2771997920410890.861400103979455
320.093089490261090.186178980522180.90691050973891
330.0697899186938520.1395798373877040.930210081306148
340.05083635540794840.1016727108158970.949163644592051
350.03511243273193140.07022486546386280.964887567268069
360.02128612195381040.04257224390762070.97871387804619
370.02670569961371770.05341139922743540.973294300386282
380.08286650101368550.1657330020273710.917133498986314
390.1524374047499830.3048748094999650.847562595250017
400.1903872181075340.3807744362150690.809612781892466
410.2773417962072700.5546835924145410.72265820379273
420.2918771971309820.5837543942619650.708122802869018
430.2291019151057160.4582038302114320.770898084894284
440.1362083178195480.2724166356390960.863791682180452

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.442654178661467 & 0.885308357322935 & 0.557345821338533 \tabularnewline
17 & 0.362741308115422 & 0.725482616230845 & 0.637258691884578 \tabularnewline
18 & 0.419445618261116 & 0.838891236522231 & 0.580554381738885 \tabularnewline
19 & 0.380070717909146 & 0.760141435818292 & 0.619929282090854 \tabularnewline
20 & 0.267265838113182 & 0.534531676226364 & 0.732734161886818 \tabularnewline
21 & 0.229397923493232 & 0.458795846986465 & 0.770602076506768 \tabularnewline
22 & 0.165447712926016 & 0.330895425852033 & 0.834552287073984 \tabularnewline
23 & 0.117516995030308 & 0.235033990060615 & 0.882483004969692 \tabularnewline
24 & 0.073977930227833 & 0.147955860455666 & 0.926022069772167 \tabularnewline
25 & 0.069142234677704 & 0.138284469355408 & 0.930857765322296 \tabularnewline
26 & 0.0493406925899472 & 0.0986813851798944 & 0.950659307410053 \tabularnewline
27 & 0.068363532072556 & 0.136727064145112 & 0.931636467927444 \tabularnewline
28 & 0.134869031157357 & 0.269738062314713 & 0.865130968842643 \tabularnewline
29 & 0.174300952456566 & 0.348601904913133 & 0.825699047543434 \tabularnewline
30 & 0.177036149341459 & 0.354072298682918 & 0.82296385065854 \tabularnewline
31 & 0.138599896020545 & 0.277199792041089 & 0.861400103979455 \tabularnewline
32 & 0.09308949026109 & 0.18617898052218 & 0.90691050973891 \tabularnewline
33 & 0.069789918693852 & 0.139579837387704 & 0.930210081306148 \tabularnewline
34 & 0.0508363554079484 & 0.101672710815897 & 0.949163644592051 \tabularnewline
35 & 0.0351124327319314 & 0.0702248654638628 & 0.964887567268069 \tabularnewline
36 & 0.0212861219538104 & 0.0425722439076207 & 0.97871387804619 \tabularnewline
37 & 0.0267056996137177 & 0.0534113992274354 & 0.973294300386282 \tabularnewline
38 & 0.0828665010136855 & 0.165733002027371 & 0.917133498986314 \tabularnewline
39 & 0.152437404749983 & 0.304874809499965 & 0.847562595250017 \tabularnewline
40 & 0.190387218107534 & 0.380774436215069 & 0.809612781892466 \tabularnewline
41 & 0.277341796207270 & 0.554683592414541 & 0.72265820379273 \tabularnewline
42 & 0.291877197130982 & 0.583754394261965 & 0.708122802869018 \tabularnewline
43 & 0.229101915105716 & 0.458203830211432 & 0.770898084894284 \tabularnewline
44 & 0.136208317819548 & 0.272416635639096 & 0.863791682180452 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69848&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.442654178661467[/C][C]0.885308357322935[/C][C]0.557345821338533[/C][/ROW]
[ROW][C]17[/C][C]0.362741308115422[/C][C]0.725482616230845[/C][C]0.637258691884578[/C][/ROW]
[ROW][C]18[/C][C]0.419445618261116[/C][C]0.838891236522231[/C][C]0.580554381738885[/C][/ROW]
[ROW][C]19[/C][C]0.380070717909146[/C][C]0.760141435818292[/C][C]0.619929282090854[/C][/ROW]
[ROW][C]20[/C][C]0.267265838113182[/C][C]0.534531676226364[/C][C]0.732734161886818[/C][/ROW]
[ROW][C]21[/C][C]0.229397923493232[/C][C]0.458795846986465[/C][C]0.770602076506768[/C][/ROW]
[ROW][C]22[/C][C]0.165447712926016[/C][C]0.330895425852033[/C][C]0.834552287073984[/C][/ROW]
[ROW][C]23[/C][C]0.117516995030308[/C][C]0.235033990060615[/C][C]0.882483004969692[/C][/ROW]
[ROW][C]24[/C][C]0.073977930227833[/C][C]0.147955860455666[/C][C]0.926022069772167[/C][/ROW]
[ROW][C]25[/C][C]0.069142234677704[/C][C]0.138284469355408[/C][C]0.930857765322296[/C][/ROW]
[ROW][C]26[/C][C]0.0493406925899472[/C][C]0.0986813851798944[/C][C]0.950659307410053[/C][/ROW]
[ROW][C]27[/C][C]0.068363532072556[/C][C]0.136727064145112[/C][C]0.931636467927444[/C][/ROW]
[ROW][C]28[/C][C]0.134869031157357[/C][C]0.269738062314713[/C][C]0.865130968842643[/C][/ROW]
[ROW][C]29[/C][C]0.174300952456566[/C][C]0.348601904913133[/C][C]0.825699047543434[/C][/ROW]
[ROW][C]30[/C][C]0.177036149341459[/C][C]0.354072298682918[/C][C]0.82296385065854[/C][/ROW]
[ROW][C]31[/C][C]0.138599896020545[/C][C]0.277199792041089[/C][C]0.861400103979455[/C][/ROW]
[ROW][C]32[/C][C]0.09308949026109[/C][C]0.18617898052218[/C][C]0.90691050973891[/C][/ROW]
[ROW][C]33[/C][C]0.069789918693852[/C][C]0.139579837387704[/C][C]0.930210081306148[/C][/ROW]
[ROW][C]34[/C][C]0.0508363554079484[/C][C]0.101672710815897[/C][C]0.949163644592051[/C][/ROW]
[ROW][C]35[/C][C]0.0351124327319314[/C][C]0.0702248654638628[/C][C]0.964887567268069[/C][/ROW]
[ROW][C]36[/C][C]0.0212861219538104[/C][C]0.0425722439076207[/C][C]0.97871387804619[/C][/ROW]
[ROW][C]37[/C][C]0.0267056996137177[/C][C]0.0534113992274354[/C][C]0.973294300386282[/C][/ROW]
[ROW][C]38[/C][C]0.0828665010136855[/C][C]0.165733002027371[/C][C]0.917133498986314[/C][/ROW]
[ROW][C]39[/C][C]0.152437404749983[/C][C]0.304874809499965[/C][C]0.847562595250017[/C][/ROW]
[ROW][C]40[/C][C]0.190387218107534[/C][C]0.380774436215069[/C][C]0.809612781892466[/C][/ROW]
[ROW][C]41[/C][C]0.277341796207270[/C][C]0.554683592414541[/C][C]0.72265820379273[/C][/ROW]
[ROW][C]42[/C][C]0.291877197130982[/C][C]0.583754394261965[/C][C]0.708122802869018[/C][/ROW]
[ROW][C]43[/C][C]0.229101915105716[/C][C]0.458203830211432[/C][C]0.770898084894284[/C][/ROW]
[ROW][C]44[/C][C]0.136208317819548[/C][C]0.272416635639096[/C][C]0.863791682180452[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69848&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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.4426541786614670.8853083573229350.557345821338533
170.3627413081154220.7254826162308450.637258691884578
180.4194456182611160.8388912365222310.580554381738885
190.3800707179091460.7601414358182920.619929282090854
200.2672658381131820.5345316762263640.732734161886818
210.2293979234932320.4587958469864650.770602076506768
220.1654477129260160.3308954258520330.834552287073984
230.1175169950303080.2350339900606150.882483004969692
240.0739779302278330.1479558604556660.926022069772167
250.0691422346777040.1382844693554080.930857765322296
260.04934069258994720.09868138517989440.950659307410053
270.0683635320725560.1367270641451120.931636467927444
280.1348690311573570.2697380623147130.865130968842643
290.1743009524565660.3486019049131330.825699047543434
300.1770361493414590.3540722986829180.82296385065854
310.1385998960205450.2771997920410890.861400103979455
320.093089490261090.186178980522180.90691050973891
330.0697899186938520.1395798373877040.930210081306148
340.05083635540794840.1016727108158970.949163644592051
350.03511243273193140.07022486546386280.964887567268069
360.02128612195381040.04257224390762070.97871387804619
370.02670569961371770.05341139922743540.973294300386282
380.08286650101368550.1657330020273710.917133498986314
390.1524374047499830.3048748094999650.847562595250017
400.1903872181075340.3807744362150690.809612781892466
410.2773417962072700.5546835924145410.72265820379273
420.2918771971309820.5837543942619650.708122802869018
430.2291019151057160.4582038302114320.770898084894284
440.1362083178195480.2724166356390960.863791682180452







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0344827586206897OK
10% type I error level40.137931034482759NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69848&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 level10.0344827586206897OK
10% type I error level40.137931034482759NOK



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')
}