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, 26 Dec 2010 17:36:00 +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/26/t1293384841fvv1yk1j4z527zo.htm/, Retrieved Fri, 03 May 2024 09:38:21 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115743, Retrieved Fri, 03 May 2024 09:38:21 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact153
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [HPC Retail Sales] [2008-03-08 13:40:54] [1c0f2c85e8a48e42648374b3bcceca26]
- RMPD  [Multiple Regression] [] [2010-11-26 11:40:42] [d39e5c40c631ed6c22677d2e41dbfc7d]
-    D    [Multiple Regression] [] [2010-12-15 20:39:35] [d39e5c40c631ed6c22677d2e41dbfc7d]
-   PD        [Multiple Regression] [paper Regression ...] [2010-12-26 17:36:00] [6df2229e3f2091de42c4a9cf9a617420] [Current]
Feedback Forum

Post a new message
Dataseries X:
61,2
62
65,1
63,2
66,3
61,9
62,1
66,3
72
65,3
67,6
70,5
74,2
77,8
78,5
77,8
81,4
84,5
88
93,9
98,9
96,7
98,9
102,2
105,4
105,1
116,6
112
108,8
106,9
109,5
106,7
118,9
117,5
113,7
119,6
120,6
117,5
120,3
119,8
108
98,8
94,6
84,6
84,4
79,1
73,3
74,3
67,8
64,8
66,5
57,7
53,8
51,8
50,9
49
48,1
42,6
40,9
43,3
43,7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 7 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
2JAAR[t] = + 88.4611764705882 -4.06349673202618M1[t] + 1.65967320261435M2[t] + 5.7997058823529M3[t] + 2.67973856209145M4[t] + 0.419771241830021M5[t] -2.28019607843141M6[t] -1.86016339869285M7[t] -2.60013071895428M8[t] + 1.93990196078429M9[t] -2.10006535947717M10[t] -3.2800326797386M11[t] -0.180032679738562t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
2JAAR[t] =  +  88.4611764705882 -4.06349673202618M1[t] +  1.65967320261435M2[t] +  5.7997058823529M3[t] +  2.67973856209145M4[t] +  0.419771241830021M5[t] -2.28019607843141M6[t] -1.86016339869285M7[t] -2.60013071895428M8[t] +  1.93990196078429M9[t] -2.10006535947717M10[t] -3.2800326797386M11[t] -0.180032679738562t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]2JAAR[t] =  +  88.4611764705882 -4.06349673202618M1[t] +  1.65967320261435M2[t] +  5.7997058823529M3[t] +  2.67973856209145M4[t] +  0.419771241830021M5[t] -2.28019607843141M6[t] -1.86016339869285M7[t] -2.60013071895428M8[t] +  1.93990196078429M9[t] -2.10006535947717M10[t] -3.2800326797386M11[t] -0.180032679738562t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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
2JAAR[t] = + 88.4611764705882 -4.06349673202618M1[t] + 1.65967320261435M2[t] + 5.7997058823529M3[t] + 2.67973856209145M4[t] + 0.419771241830021M5[t] -2.28019607843141M6[t] -1.86016339869285M7[t] -2.60013071895428M8[t] + 1.93990196078429M9[t] -2.10006535947717M10[t] -3.2800326797386M11[t] -0.180032679738562t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)88.461176470588213.8543646.385100
M1-4.0634967320261816.157447-0.25150.8025060.401253
M21.6596732026143516.958950.09790.9224480.461224
M35.799705882352916.9372940.34240.7335280.366764
M42.6797385620914516.9178930.15840.8748090.437404
M50.41977124183002116.9007560.02480.9802880.490144
M6-2.2801960784314116.88589-0.1350.8931480.446574
M7-1.8601633986928516.873301-0.11020.9126760.456338
M8-2.6001307189542816.862994-0.15420.8781050.439053
M91.9399019607842916.8549730.11510.9088510.454425
M10-2.1000653594771716.849242-0.12460.901330.450665
M11-3.280032679738616.845802-0.19470.8464420.423221
t-0.1800326797385620.19656-0.91590.364290.182145

\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) & 88.4611764705882 & 13.854364 & 6.3851 & 0 & 0 \tabularnewline
M1 & -4.06349673202618 & 16.157447 & -0.2515 & 0.802506 & 0.401253 \tabularnewline
M2 & 1.65967320261435 & 16.95895 & 0.0979 & 0.922448 & 0.461224 \tabularnewline
M3 & 5.7997058823529 & 16.937294 & 0.3424 & 0.733528 & 0.366764 \tabularnewline
M4 & 2.67973856209145 & 16.917893 & 0.1584 & 0.874809 & 0.437404 \tabularnewline
M5 & 0.419771241830021 & 16.900756 & 0.0248 & 0.980288 & 0.490144 \tabularnewline
M6 & -2.28019607843141 & 16.88589 & -0.135 & 0.893148 & 0.446574 \tabularnewline
M7 & -1.86016339869285 & 16.873301 & -0.1102 & 0.912676 & 0.456338 \tabularnewline
M8 & -2.60013071895428 & 16.862994 & -0.1542 & 0.878105 & 0.439053 \tabularnewline
M9 & 1.93990196078429 & 16.854973 & 0.1151 & 0.908851 & 0.454425 \tabularnewline
M10 & -2.10006535947717 & 16.849242 & -0.1246 & 0.90133 & 0.450665 \tabularnewline
M11 & -3.2800326797386 & 16.845802 & -0.1947 & 0.846442 & 0.423221 \tabularnewline
t & -0.180032679738562 & 0.19656 & -0.9159 & 0.36429 & 0.182145 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&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]88.4611764705882[/C][C]13.854364[/C][C]6.3851[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-4.06349673202618[/C][C]16.157447[/C][C]-0.2515[/C][C]0.802506[/C][C]0.401253[/C][/ROW]
[ROW][C]M2[/C][C]1.65967320261435[/C][C]16.95895[/C][C]0.0979[/C][C]0.922448[/C][C]0.461224[/C][/ROW]
[ROW][C]M3[/C][C]5.7997058823529[/C][C]16.937294[/C][C]0.3424[/C][C]0.733528[/C][C]0.366764[/C][/ROW]
[ROW][C]M4[/C][C]2.67973856209145[/C][C]16.917893[/C][C]0.1584[/C][C]0.874809[/C][C]0.437404[/C][/ROW]
[ROW][C]M5[/C][C]0.419771241830021[/C][C]16.900756[/C][C]0.0248[/C][C]0.980288[/C][C]0.490144[/C][/ROW]
[ROW][C]M6[/C][C]-2.28019607843141[/C][C]16.88589[/C][C]-0.135[/C][C]0.893148[/C][C]0.446574[/C][/ROW]
[ROW][C]M7[/C][C]-1.86016339869285[/C][C]16.873301[/C][C]-0.1102[/C][C]0.912676[/C][C]0.456338[/C][/ROW]
[ROW][C]M8[/C][C]-2.60013071895428[/C][C]16.862994[/C][C]-0.1542[/C][C]0.878105[/C][C]0.439053[/C][/ROW]
[ROW][C]M9[/C][C]1.93990196078429[/C][C]16.854973[/C][C]0.1151[/C][C]0.908851[/C][C]0.454425[/C][/ROW]
[ROW][C]M10[/C][C]-2.10006535947717[/C][C]16.849242[/C][C]-0.1246[/C][C]0.90133[/C][C]0.450665[/C][/ROW]
[ROW][C]M11[/C][C]-3.2800326797386[/C][C]16.845802[/C][C]-0.1947[/C][C]0.846442[/C][C]0.423221[/C][/ROW]
[ROW][C]t[/C][C]-0.180032679738562[/C][C]0.19656[/C][C]-0.9159[/C][C]0.36429[/C][C]0.182145[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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)88.461176470588213.8543646.385100
M1-4.0634967320261816.157447-0.25150.8025060.401253
M21.6596732026143516.958950.09790.9224480.461224
M35.799705882352916.9372940.34240.7335280.366764
M42.6797385620914516.9178930.15840.8748090.437404
M50.41977124183002116.9007560.02480.9802880.490144
M6-2.2801960784314116.88589-0.1350.8931480.446574
M7-1.8601633986928516.873301-0.11020.9126760.456338
M8-2.6001307189542816.862994-0.15420.8781050.439053
M91.9399019607842916.8549730.11510.9088510.454425
M10-2.1000653594771716.849242-0.12460.901330.450665
M11-3.280032679738616.845802-0.19470.8464420.423221
t-0.1800326797385620.19656-0.91590.364290.182145







Multiple Linear Regression - Regression Statistics
Multiple R0.184169168221619
R-squared0.0339182825234429
Adjusted R-squared-0.207602146845696
F-TEST (value)0.140436494801035
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.99963124189441
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.6337381254669
Sum Squared Residuals34049.0883137255

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.184169168221619 \tabularnewline
R-squared & 0.0339182825234429 \tabularnewline
Adjusted R-squared & -0.207602146845696 \tabularnewline
F-TEST (value) & 0.140436494801035 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.99963124189441 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.6337381254669 \tabularnewline
Sum Squared Residuals & 34049.0883137255 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.184169168221619[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0339182825234429[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.207602146845696[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.140436494801035[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.99963124189441[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.6337381254669[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]34049.0883137255[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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.184169168221619
R-squared0.0339182825234429
Adjusted R-squared-0.207602146845696
F-TEST (value)0.140436494801035
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.99963124189441
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.6337381254669
Sum Squared Residuals34049.0883137255







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
161.284.2176470588235-23.0176470588235
26289.7607843137255-27.7607843137255
365.193.7207843137255-28.6207843137255
463.290.4207843137255-27.2207843137255
566.387.9807843137255-21.6807843137255
661.985.1007843137255-23.2007843137255
762.185.3407843137255-23.2407843137255
866.384.4207843137255-18.1207843137255
97288.7807843137255-16.7807843137255
1065.384.5607843137255-19.2607843137255
1167.683.2007843137255-15.6007843137255
1270.586.3007843137255-15.8007843137255
1374.282.0572549019608-7.85725490196077
1477.887.6003921568628-9.80039215686275
1578.591.5603921568627-13.0603921568627
1677.888.2603921568627-10.4603921568627
1781.485.8203921568627-4.42039215686273
1884.582.94039215686271.55960784313726
198883.18039215686274.81960784313726
2093.982.260392156862811.6396078431372
2198.986.620392156862812.2796078431372
2296.782.400392156862814.2996078431373
2398.981.040392156862817.8596078431373
24102.284.140392156862818.0596078431372
25105.479.89686274509825.503137254902
26105.185.4419.66
27116.689.427.2
2811286.125.9
29108.883.6625.14
30106.980.7826.12
31109.581.0228.48
32106.780.126.6
33118.984.4634.44
34117.580.2437.26
35113.778.8834.82
36119.681.9837.62
37120.677.736470588235342.8635294117647
38117.583.279607843137334.2203921568627
39120.387.239607843137233.0603921568628
40119.883.939607843137235.8603921568628
4110881.499607843137226.5003921568628
4298.878.619607843137320.1803921568627
4394.678.859607843137315.7403921568627
4484.677.93960784313736.66039215686274
4584.482.29960784313732.10039215686275
4679.178.07960784313721.02039215686275
4773.376.7196078431373-3.41960784313726
4874.379.8196078431373-5.51960784313729
4967.875.5760784313725-7.77607843137253
5064.881.1192156862745-16.3192156862745
5166.585.0792156862745-18.5792156862745
5257.781.7792156862745-24.0792156862745
5353.879.3392156862745-25.5392156862745
5451.876.4592156862745-24.6592156862745
5550.976.6992156862745-25.7992156862745
564975.7792156862745-26.7792156862745
5748.180.1392156862745-32.0392156862745
5842.675.9192156862745-33.3192156862745
5940.974.5592156862745-33.6592156862745
6043.377.6592156862745-34.3592156862746
6143.773.4156862745098-29.7156862745098

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 61.2 & 84.2176470588235 & -23.0176470588235 \tabularnewline
2 & 62 & 89.7607843137255 & -27.7607843137255 \tabularnewline
3 & 65.1 & 93.7207843137255 & -28.6207843137255 \tabularnewline
4 & 63.2 & 90.4207843137255 & -27.2207843137255 \tabularnewline
5 & 66.3 & 87.9807843137255 & -21.6807843137255 \tabularnewline
6 & 61.9 & 85.1007843137255 & -23.2007843137255 \tabularnewline
7 & 62.1 & 85.3407843137255 & -23.2407843137255 \tabularnewline
8 & 66.3 & 84.4207843137255 & -18.1207843137255 \tabularnewline
9 & 72 & 88.7807843137255 & -16.7807843137255 \tabularnewline
10 & 65.3 & 84.5607843137255 & -19.2607843137255 \tabularnewline
11 & 67.6 & 83.2007843137255 & -15.6007843137255 \tabularnewline
12 & 70.5 & 86.3007843137255 & -15.8007843137255 \tabularnewline
13 & 74.2 & 82.0572549019608 & -7.85725490196077 \tabularnewline
14 & 77.8 & 87.6003921568628 & -9.80039215686275 \tabularnewline
15 & 78.5 & 91.5603921568627 & -13.0603921568627 \tabularnewline
16 & 77.8 & 88.2603921568627 & -10.4603921568627 \tabularnewline
17 & 81.4 & 85.8203921568627 & -4.42039215686273 \tabularnewline
18 & 84.5 & 82.9403921568627 & 1.55960784313726 \tabularnewline
19 & 88 & 83.1803921568627 & 4.81960784313726 \tabularnewline
20 & 93.9 & 82.2603921568628 & 11.6396078431372 \tabularnewline
21 & 98.9 & 86.6203921568628 & 12.2796078431372 \tabularnewline
22 & 96.7 & 82.4003921568628 & 14.2996078431373 \tabularnewline
23 & 98.9 & 81.0403921568628 & 17.8596078431373 \tabularnewline
24 & 102.2 & 84.1403921568628 & 18.0596078431372 \tabularnewline
25 & 105.4 & 79.896862745098 & 25.503137254902 \tabularnewline
26 & 105.1 & 85.44 & 19.66 \tabularnewline
27 & 116.6 & 89.4 & 27.2 \tabularnewline
28 & 112 & 86.1 & 25.9 \tabularnewline
29 & 108.8 & 83.66 & 25.14 \tabularnewline
30 & 106.9 & 80.78 & 26.12 \tabularnewline
31 & 109.5 & 81.02 & 28.48 \tabularnewline
32 & 106.7 & 80.1 & 26.6 \tabularnewline
33 & 118.9 & 84.46 & 34.44 \tabularnewline
34 & 117.5 & 80.24 & 37.26 \tabularnewline
35 & 113.7 & 78.88 & 34.82 \tabularnewline
36 & 119.6 & 81.98 & 37.62 \tabularnewline
37 & 120.6 & 77.7364705882353 & 42.8635294117647 \tabularnewline
38 & 117.5 & 83.2796078431373 & 34.2203921568627 \tabularnewline
39 & 120.3 & 87.2396078431372 & 33.0603921568628 \tabularnewline
40 & 119.8 & 83.9396078431372 & 35.8603921568628 \tabularnewline
41 & 108 & 81.4996078431372 & 26.5003921568628 \tabularnewline
42 & 98.8 & 78.6196078431373 & 20.1803921568627 \tabularnewline
43 & 94.6 & 78.8596078431373 & 15.7403921568627 \tabularnewline
44 & 84.6 & 77.9396078431373 & 6.66039215686274 \tabularnewline
45 & 84.4 & 82.2996078431373 & 2.10039215686275 \tabularnewline
46 & 79.1 & 78.0796078431372 & 1.02039215686275 \tabularnewline
47 & 73.3 & 76.7196078431373 & -3.41960784313726 \tabularnewline
48 & 74.3 & 79.8196078431373 & -5.51960784313729 \tabularnewline
49 & 67.8 & 75.5760784313725 & -7.77607843137253 \tabularnewline
50 & 64.8 & 81.1192156862745 & -16.3192156862745 \tabularnewline
51 & 66.5 & 85.0792156862745 & -18.5792156862745 \tabularnewline
52 & 57.7 & 81.7792156862745 & -24.0792156862745 \tabularnewline
53 & 53.8 & 79.3392156862745 & -25.5392156862745 \tabularnewline
54 & 51.8 & 76.4592156862745 & -24.6592156862745 \tabularnewline
55 & 50.9 & 76.6992156862745 & -25.7992156862745 \tabularnewline
56 & 49 & 75.7792156862745 & -26.7792156862745 \tabularnewline
57 & 48.1 & 80.1392156862745 & -32.0392156862745 \tabularnewline
58 & 42.6 & 75.9192156862745 & -33.3192156862745 \tabularnewline
59 & 40.9 & 74.5592156862745 & -33.6592156862745 \tabularnewline
60 & 43.3 & 77.6592156862745 & -34.3592156862746 \tabularnewline
61 & 43.7 & 73.4156862745098 & -29.7156862745098 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&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]61.2[/C][C]84.2176470588235[/C][C]-23.0176470588235[/C][/ROW]
[ROW][C]2[/C][C]62[/C][C]89.7607843137255[/C][C]-27.7607843137255[/C][/ROW]
[ROW][C]3[/C][C]65.1[/C][C]93.7207843137255[/C][C]-28.6207843137255[/C][/ROW]
[ROW][C]4[/C][C]63.2[/C][C]90.4207843137255[/C][C]-27.2207843137255[/C][/ROW]
[ROW][C]5[/C][C]66.3[/C][C]87.9807843137255[/C][C]-21.6807843137255[/C][/ROW]
[ROW][C]6[/C][C]61.9[/C][C]85.1007843137255[/C][C]-23.2007843137255[/C][/ROW]
[ROW][C]7[/C][C]62.1[/C][C]85.3407843137255[/C][C]-23.2407843137255[/C][/ROW]
[ROW][C]8[/C][C]66.3[/C][C]84.4207843137255[/C][C]-18.1207843137255[/C][/ROW]
[ROW][C]9[/C][C]72[/C][C]88.7807843137255[/C][C]-16.7807843137255[/C][/ROW]
[ROW][C]10[/C][C]65.3[/C][C]84.5607843137255[/C][C]-19.2607843137255[/C][/ROW]
[ROW][C]11[/C][C]67.6[/C][C]83.2007843137255[/C][C]-15.6007843137255[/C][/ROW]
[ROW][C]12[/C][C]70.5[/C][C]86.3007843137255[/C][C]-15.8007843137255[/C][/ROW]
[ROW][C]13[/C][C]74.2[/C][C]82.0572549019608[/C][C]-7.85725490196077[/C][/ROW]
[ROW][C]14[/C][C]77.8[/C][C]87.6003921568628[/C][C]-9.80039215686275[/C][/ROW]
[ROW][C]15[/C][C]78.5[/C][C]91.5603921568627[/C][C]-13.0603921568627[/C][/ROW]
[ROW][C]16[/C][C]77.8[/C][C]88.2603921568627[/C][C]-10.4603921568627[/C][/ROW]
[ROW][C]17[/C][C]81.4[/C][C]85.8203921568627[/C][C]-4.42039215686273[/C][/ROW]
[ROW][C]18[/C][C]84.5[/C][C]82.9403921568627[/C][C]1.55960784313726[/C][/ROW]
[ROW][C]19[/C][C]88[/C][C]83.1803921568627[/C][C]4.81960784313726[/C][/ROW]
[ROW][C]20[/C][C]93.9[/C][C]82.2603921568628[/C][C]11.6396078431372[/C][/ROW]
[ROW][C]21[/C][C]98.9[/C][C]86.6203921568628[/C][C]12.2796078431372[/C][/ROW]
[ROW][C]22[/C][C]96.7[/C][C]82.4003921568628[/C][C]14.2996078431373[/C][/ROW]
[ROW][C]23[/C][C]98.9[/C][C]81.0403921568628[/C][C]17.8596078431373[/C][/ROW]
[ROW][C]24[/C][C]102.2[/C][C]84.1403921568628[/C][C]18.0596078431372[/C][/ROW]
[ROW][C]25[/C][C]105.4[/C][C]79.896862745098[/C][C]25.503137254902[/C][/ROW]
[ROW][C]26[/C][C]105.1[/C][C]85.44[/C][C]19.66[/C][/ROW]
[ROW][C]27[/C][C]116.6[/C][C]89.4[/C][C]27.2[/C][/ROW]
[ROW][C]28[/C][C]112[/C][C]86.1[/C][C]25.9[/C][/ROW]
[ROW][C]29[/C][C]108.8[/C][C]83.66[/C][C]25.14[/C][/ROW]
[ROW][C]30[/C][C]106.9[/C][C]80.78[/C][C]26.12[/C][/ROW]
[ROW][C]31[/C][C]109.5[/C][C]81.02[/C][C]28.48[/C][/ROW]
[ROW][C]32[/C][C]106.7[/C][C]80.1[/C][C]26.6[/C][/ROW]
[ROW][C]33[/C][C]118.9[/C][C]84.46[/C][C]34.44[/C][/ROW]
[ROW][C]34[/C][C]117.5[/C][C]80.24[/C][C]37.26[/C][/ROW]
[ROW][C]35[/C][C]113.7[/C][C]78.88[/C][C]34.82[/C][/ROW]
[ROW][C]36[/C][C]119.6[/C][C]81.98[/C][C]37.62[/C][/ROW]
[ROW][C]37[/C][C]120.6[/C][C]77.7364705882353[/C][C]42.8635294117647[/C][/ROW]
[ROW][C]38[/C][C]117.5[/C][C]83.2796078431373[/C][C]34.2203921568627[/C][/ROW]
[ROW][C]39[/C][C]120.3[/C][C]87.2396078431372[/C][C]33.0603921568628[/C][/ROW]
[ROW][C]40[/C][C]119.8[/C][C]83.9396078431372[/C][C]35.8603921568628[/C][/ROW]
[ROW][C]41[/C][C]108[/C][C]81.4996078431372[/C][C]26.5003921568628[/C][/ROW]
[ROW][C]42[/C][C]98.8[/C][C]78.6196078431373[/C][C]20.1803921568627[/C][/ROW]
[ROW][C]43[/C][C]94.6[/C][C]78.8596078431373[/C][C]15.7403921568627[/C][/ROW]
[ROW][C]44[/C][C]84.6[/C][C]77.9396078431373[/C][C]6.66039215686274[/C][/ROW]
[ROW][C]45[/C][C]84.4[/C][C]82.2996078431373[/C][C]2.10039215686275[/C][/ROW]
[ROW][C]46[/C][C]79.1[/C][C]78.0796078431372[/C][C]1.02039215686275[/C][/ROW]
[ROW][C]47[/C][C]73.3[/C][C]76.7196078431373[/C][C]-3.41960784313726[/C][/ROW]
[ROW][C]48[/C][C]74.3[/C][C]79.8196078431373[/C][C]-5.51960784313729[/C][/ROW]
[ROW][C]49[/C][C]67.8[/C][C]75.5760784313725[/C][C]-7.77607843137253[/C][/ROW]
[ROW][C]50[/C][C]64.8[/C][C]81.1192156862745[/C][C]-16.3192156862745[/C][/ROW]
[ROW][C]51[/C][C]66.5[/C][C]85.0792156862745[/C][C]-18.5792156862745[/C][/ROW]
[ROW][C]52[/C][C]57.7[/C][C]81.7792156862745[/C][C]-24.0792156862745[/C][/ROW]
[ROW][C]53[/C][C]53.8[/C][C]79.3392156862745[/C][C]-25.5392156862745[/C][/ROW]
[ROW][C]54[/C][C]51.8[/C][C]76.4592156862745[/C][C]-24.6592156862745[/C][/ROW]
[ROW][C]55[/C][C]50.9[/C][C]76.6992156862745[/C][C]-25.7992156862745[/C][/ROW]
[ROW][C]56[/C][C]49[/C][C]75.7792156862745[/C][C]-26.7792156862745[/C][/ROW]
[ROW][C]57[/C][C]48.1[/C][C]80.1392156862745[/C][C]-32.0392156862745[/C][/ROW]
[ROW][C]58[/C][C]42.6[/C][C]75.9192156862745[/C][C]-33.3192156862745[/C][/ROW]
[ROW][C]59[/C][C]40.9[/C][C]74.5592156862745[/C][C]-33.6592156862745[/C][/ROW]
[ROW][C]60[/C][C]43.3[/C][C]77.6592156862745[/C][C]-34.3592156862746[/C][/ROW]
[ROW][C]61[/C][C]43.7[/C][C]73.4156862745098[/C][C]-29.7156862745098[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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
161.284.2176470588235-23.0176470588235
26289.7607843137255-27.7607843137255
365.193.7207843137255-28.6207843137255
463.290.4207843137255-27.2207843137255
566.387.9807843137255-21.6807843137255
661.985.1007843137255-23.2007843137255
762.185.3407843137255-23.2407843137255
866.384.4207843137255-18.1207843137255
97288.7807843137255-16.7807843137255
1065.384.5607843137255-19.2607843137255
1167.683.2007843137255-15.6007843137255
1270.586.3007843137255-15.8007843137255
1374.282.0572549019608-7.85725490196077
1477.887.6003921568628-9.80039215686275
1578.591.5603921568627-13.0603921568627
1677.888.2603921568627-10.4603921568627
1781.485.8203921568627-4.42039215686273
1884.582.94039215686271.55960784313726
198883.18039215686274.81960784313726
2093.982.260392156862811.6396078431372
2198.986.620392156862812.2796078431372
2296.782.400392156862814.2996078431373
2398.981.040392156862817.8596078431373
24102.284.140392156862818.0596078431372
25105.479.89686274509825.503137254902
26105.185.4419.66
27116.689.427.2
2811286.125.9
29108.883.6625.14
30106.980.7826.12
31109.581.0228.48
32106.780.126.6
33118.984.4634.44
34117.580.2437.26
35113.778.8834.82
36119.681.9837.62
37120.677.736470588235342.8635294117647
38117.583.279607843137334.2203921568627
39120.387.239607843137233.0603921568628
40119.883.939607843137235.8603921568628
4110881.499607843137226.5003921568628
4298.878.619607843137320.1803921568627
4394.678.859607843137315.7403921568627
4484.677.93960784313736.66039215686274
4584.482.29960784313732.10039215686275
4679.178.07960784313721.02039215686275
4773.376.7196078431373-3.41960784313726
4874.379.8196078431373-5.51960784313729
4967.875.5760784313725-7.77607843137253
5064.881.1192156862745-16.3192156862745
5166.585.0792156862745-18.5792156862745
5257.781.7792156862745-24.0792156862745
5353.879.3392156862745-25.5392156862745
5451.876.4592156862745-24.6592156862745
5550.976.6992156862745-25.7992156862745
564975.7792156862745-26.7792156862745
5748.180.1392156862745-32.0392156862745
5842.675.9192156862745-33.3192156862745
5940.974.5592156862745-33.6592156862745
6043.377.6592156862745-34.3592156862746
6143.773.4156862745098-29.7156862745098







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0001291833216435400.0002583666432870810.999870816678357
177.7892052154236e-061.55784104308472e-050.999992210794785
180.0001604300277815790.0003208600555631570.999839569972218
190.0003693981096125840.0007387962192251670.999630601890387
200.0004547883532635180.0009095767065270360.999545211646736
210.0003485165632173160.0006970331264346310.999651483436783
220.0005923217375717580.001184643475143520.999407678262428
230.0007212244940240260.001442448988048050.999278775505976
240.001021913753105850.002043827506211700.998978086246894
250.0009686583785275030.001937316757055010.999031341621472
260.001050469726696540.002100939453393080.998949530273303
270.002241314633150820.004482629266301650.99775868536685
280.003754380490243120.007508760980486230.996245619509757
290.005626112263857030.01125222452771410.994373887736143
300.01027971436116530.02055942872233070.989720285638835
310.01761593665988130.03523187331976250.982384063340119
320.05901493048538380.1180298609707680.940985069514616
330.0466557813943350.093311562788670.953344218605665
340.03084009732328650.06168019464657290.969159902676713
350.02368697137677800.04737394275355610.976313028623222
360.01356778770616810.02713557541233620.986432212293832
370.009213006916357750.01842601383271550.990786993083642
380.01397240510857120.02794481021714240.986027594891429
390.02772070749709550.0554414149941910.972279292502904
400.1800510369432270.3601020738864540.819948963056773
410.6567402616429730.6865194767140540.343259738357027
420.9057589005506270.1884821988987460.0942410994493732
430.9774342983727450.04513140325450970.0225657016272548
440.9761145564352140.04777088712957160.0238854435647858
450.967638493515230.06472301296953850.0323615064847693

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.000129183321643540 & 0.000258366643287081 & 0.999870816678357 \tabularnewline
17 & 7.7892052154236e-06 & 1.55784104308472e-05 & 0.999992210794785 \tabularnewline
18 & 0.000160430027781579 & 0.000320860055563157 & 0.999839569972218 \tabularnewline
19 & 0.000369398109612584 & 0.000738796219225167 & 0.999630601890387 \tabularnewline
20 & 0.000454788353263518 & 0.000909576706527036 & 0.999545211646736 \tabularnewline
21 & 0.000348516563217316 & 0.000697033126434631 & 0.999651483436783 \tabularnewline
22 & 0.000592321737571758 & 0.00118464347514352 & 0.999407678262428 \tabularnewline
23 & 0.000721224494024026 & 0.00144244898804805 & 0.999278775505976 \tabularnewline
24 & 0.00102191375310585 & 0.00204382750621170 & 0.998978086246894 \tabularnewline
25 & 0.000968658378527503 & 0.00193731675705501 & 0.999031341621472 \tabularnewline
26 & 0.00105046972669654 & 0.00210093945339308 & 0.998949530273303 \tabularnewline
27 & 0.00224131463315082 & 0.00448262926630165 & 0.99775868536685 \tabularnewline
28 & 0.00375438049024312 & 0.00750876098048623 & 0.996245619509757 \tabularnewline
29 & 0.00562611226385703 & 0.0112522245277141 & 0.994373887736143 \tabularnewline
30 & 0.0102797143611653 & 0.0205594287223307 & 0.989720285638835 \tabularnewline
31 & 0.0176159366598813 & 0.0352318733197625 & 0.982384063340119 \tabularnewline
32 & 0.0590149304853838 & 0.118029860970768 & 0.940985069514616 \tabularnewline
33 & 0.046655781394335 & 0.09331156278867 & 0.953344218605665 \tabularnewline
34 & 0.0308400973232865 & 0.0616801946465729 & 0.969159902676713 \tabularnewline
35 & 0.0236869713767780 & 0.0473739427535561 & 0.976313028623222 \tabularnewline
36 & 0.0135677877061681 & 0.0271355754123362 & 0.986432212293832 \tabularnewline
37 & 0.00921300691635775 & 0.0184260138327155 & 0.990786993083642 \tabularnewline
38 & 0.0139724051085712 & 0.0279448102171424 & 0.986027594891429 \tabularnewline
39 & 0.0277207074970955 & 0.055441414994191 & 0.972279292502904 \tabularnewline
40 & 0.180051036943227 & 0.360102073886454 & 0.819948963056773 \tabularnewline
41 & 0.656740261642973 & 0.686519476714054 & 0.343259738357027 \tabularnewline
42 & 0.905758900550627 & 0.188482198898746 & 0.0942410994493732 \tabularnewline
43 & 0.977434298372745 & 0.0451314032545097 & 0.0225657016272548 \tabularnewline
44 & 0.976114556435214 & 0.0477708871295716 & 0.0238854435647858 \tabularnewline
45 & 0.96763849351523 & 0.0647230129695385 & 0.0323615064847693 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&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.000129183321643540[/C][C]0.000258366643287081[/C][C]0.999870816678357[/C][/ROW]
[ROW][C]17[/C][C]7.7892052154236e-06[/C][C]1.55784104308472e-05[/C][C]0.999992210794785[/C][/ROW]
[ROW][C]18[/C][C]0.000160430027781579[/C][C]0.000320860055563157[/C][C]0.999839569972218[/C][/ROW]
[ROW][C]19[/C][C]0.000369398109612584[/C][C]0.000738796219225167[/C][C]0.999630601890387[/C][/ROW]
[ROW][C]20[/C][C]0.000454788353263518[/C][C]0.000909576706527036[/C][C]0.999545211646736[/C][/ROW]
[ROW][C]21[/C][C]0.000348516563217316[/C][C]0.000697033126434631[/C][C]0.999651483436783[/C][/ROW]
[ROW][C]22[/C][C]0.000592321737571758[/C][C]0.00118464347514352[/C][C]0.999407678262428[/C][/ROW]
[ROW][C]23[/C][C]0.000721224494024026[/C][C]0.00144244898804805[/C][C]0.999278775505976[/C][/ROW]
[ROW][C]24[/C][C]0.00102191375310585[/C][C]0.00204382750621170[/C][C]0.998978086246894[/C][/ROW]
[ROW][C]25[/C][C]0.000968658378527503[/C][C]0.00193731675705501[/C][C]0.999031341621472[/C][/ROW]
[ROW][C]26[/C][C]0.00105046972669654[/C][C]0.00210093945339308[/C][C]0.998949530273303[/C][/ROW]
[ROW][C]27[/C][C]0.00224131463315082[/C][C]0.00448262926630165[/C][C]0.99775868536685[/C][/ROW]
[ROW][C]28[/C][C]0.00375438049024312[/C][C]0.00750876098048623[/C][C]0.996245619509757[/C][/ROW]
[ROW][C]29[/C][C]0.00562611226385703[/C][C]0.0112522245277141[/C][C]0.994373887736143[/C][/ROW]
[ROW][C]30[/C][C]0.0102797143611653[/C][C]0.0205594287223307[/C][C]0.989720285638835[/C][/ROW]
[ROW][C]31[/C][C]0.0176159366598813[/C][C]0.0352318733197625[/C][C]0.982384063340119[/C][/ROW]
[ROW][C]32[/C][C]0.0590149304853838[/C][C]0.118029860970768[/C][C]0.940985069514616[/C][/ROW]
[ROW][C]33[/C][C]0.046655781394335[/C][C]0.09331156278867[/C][C]0.953344218605665[/C][/ROW]
[ROW][C]34[/C][C]0.0308400973232865[/C][C]0.0616801946465729[/C][C]0.969159902676713[/C][/ROW]
[ROW][C]35[/C][C]0.0236869713767780[/C][C]0.0473739427535561[/C][C]0.976313028623222[/C][/ROW]
[ROW][C]36[/C][C]0.0135677877061681[/C][C]0.0271355754123362[/C][C]0.986432212293832[/C][/ROW]
[ROW][C]37[/C][C]0.00921300691635775[/C][C]0.0184260138327155[/C][C]0.990786993083642[/C][/ROW]
[ROW][C]38[/C][C]0.0139724051085712[/C][C]0.0279448102171424[/C][C]0.986027594891429[/C][/ROW]
[ROW][C]39[/C][C]0.0277207074970955[/C][C]0.055441414994191[/C][C]0.972279292502904[/C][/ROW]
[ROW][C]40[/C][C]0.180051036943227[/C][C]0.360102073886454[/C][C]0.819948963056773[/C][/ROW]
[ROW][C]41[/C][C]0.656740261642973[/C][C]0.686519476714054[/C][C]0.343259738357027[/C][/ROW]
[ROW][C]42[/C][C]0.905758900550627[/C][C]0.188482198898746[/C][C]0.0942410994493732[/C][/ROW]
[ROW][C]43[/C][C]0.977434298372745[/C][C]0.0451314032545097[/C][C]0.0225657016272548[/C][/ROW]
[ROW][C]44[/C][C]0.976114556435214[/C][C]0.0477708871295716[/C][C]0.0238854435647858[/C][/ROW]
[ROW][C]45[/C][C]0.96763849351523[/C][C]0.0647230129695385[/C][C]0.0323615064847693[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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.0001291833216435400.0002583666432870810.999870816678357
177.7892052154236e-061.55784104308472e-050.999992210794785
180.0001604300277815790.0003208600555631570.999839569972218
190.0003693981096125840.0007387962192251670.999630601890387
200.0004547883532635180.0009095767065270360.999545211646736
210.0003485165632173160.0006970331264346310.999651483436783
220.0005923217375717580.001184643475143520.999407678262428
230.0007212244940240260.001442448988048050.999278775505976
240.001021913753105850.002043827506211700.998978086246894
250.0009686583785275030.001937316757055010.999031341621472
260.001050469726696540.002100939453393080.998949530273303
270.002241314633150820.004482629266301650.99775868536685
280.003754380490243120.007508760980486230.996245619509757
290.005626112263857030.01125222452771410.994373887736143
300.01027971436116530.02055942872233070.989720285638835
310.01761593665988130.03523187331976250.982384063340119
320.05901493048538380.1180298609707680.940985069514616
330.0466557813943350.093311562788670.953344218605665
340.03084009732328650.06168019464657290.969159902676713
350.02368697137677800.04737394275355610.976313028623222
360.01356778770616810.02713557541233620.986432212293832
370.009213006916357750.01842601383271550.990786993083642
380.01397240510857120.02794481021714240.986027594891429
390.02772070749709550.0554414149941910.972279292502904
400.1800510369432270.3601020738864540.819948963056773
410.6567402616429730.6865194767140540.343259738357027
420.9057589005506270.1884821988987460.0942410994493732
430.9774342983727450.04513140325450970.0225657016272548
440.9761145564352140.04777088712957160.0238854435647858
450.967638493515230.06472301296953850.0323615064847693







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level130.433333333333333NOK
5% type I error level220.733333333333333NOK
10% type I error level260.866666666666667NOK

\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 & 13 & 0.433333333333333 & NOK \tabularnewline
5% type I error level & 22 & 0.733333333333333 & NOK \tabularnewline
10% type I error level & 26 & 0.866666666666667 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115743&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]13[/C][C]0.433333333333333[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]22[/C][C]0.733333333333333[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]26[/C][C]0.866666666666667[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115743&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115743&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 level130.433333333333333NOK
5% type I error level220.733333333333333NOK
10% type I error level260.866666666666667NOK



Parameters (Session):
par1 = 12 ; par2 = 0.3 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 0 ; par7 = 0 ; par8 = 1 ; par9 = 0 ; par10 = FALSE ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}