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 computationWed, 22 Dec 2010 17:52:52 +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/22/t12930403991dk3ognc8ih880q.htm/, Retrieved Mon, 06 May 2024 09:43:28 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=114443, Retrieved Mon, 06 May 2024 09:43:28 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact119
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Regressie Prof ba...] [2008-12-10 13:54:00] [bc937651ef42bf891200cf0e0edc7238]
-   P   [Multiple Regression] [Regressie prof ba...] [2008-12-14 15:03:49] [bc937651ef42bf891200cf0e0edc7238]
-    D    [Multiple Regression] [Prof bach regress...] [2008-12-18 13:48:26] [bc937651ef42bf891200cf0e0edc7238]
-  M D        [Multiple Regression] [] [2010-12-22 17:52:52] [d1991ab4912b5ede0ff54c26afa5d84c] [Current]
Feedback Forum

Post a new message
Dataseries X:
2981.85	0
3080.58	0
3106.22	0
3119.31	0
3061.26	0
3097.31	0
3161.69	0
3257.16	0
3277.01	0
3295.32	0
3363.99	0
3494.17	0
3667.03	0
3813.06	0
3917.96	0
3895.51	0
3801.06	0
3570.12	0
3701.61	0
3862.27	0
3970.10	0
4138.52	0
4199.75	0
4290.89	0
4443.91	0
4502.64	0
4356.98	0
4591.27	0
4696.96	0
4621.40	0
4562.84	0
4202.52	0
4296.49	0
4435.23	0
4105.18	0
4116.68	0
3844.49	0
3720.98	0
3674.40	0
3857.62	0
3801.06	0
3504.37	0
3032.60	0
3047.03	0
2962.34	0
2197.82	0
2014.45	1
1862.83	1
1905.41	1
1810.99	1
1670.07	1
1864.44	1
2052.02	1
2029.60	1
2070.83	1
2293.41	1
2443.27	1
2513.17	1
2466.92	1
2502.66	1
2539.91	1




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

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







Multiple Linear Regression - Estimated Regression Equation
Bel20[t] = + 3903.77204878049 -1625.81512195122Dummy[t] -131.400341463416M1[t] -192.959024390245M2[t] -233.483024390245M3[t] -112.979024390245M4[t] -96.1370243902443M5[t] -214.049024390245M6[t] -272.695024390244M7[t] -246.131024390244M8[t] -188.767024390244M9[t] -262.597024390244M10[t] -23.3880000000004M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bel20[t] =  +  3903.77204878049 -1625.81512195122Dummy[t] -131.400341463416M1[t] -192.959024390245M2[t] -233.483024390245M3[t] -112.979024390245M4[t] -96.1370243902443M5[t] -214.049024390245M6[t] -272.695024390244M7[t] -246.131024390244M8[t] -188.767024390244M9[t] -262.597024390244M10[t] -23.3880000000004M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bel20[t] =  +  3903.77204878049 -1625.81512195122Dummy[t] -131.400341463416M1[t] -192.959024390245M2[t] -233.483024390245M3[t] -112.979024390245M4[t] -96.1370243902443M5[t] -214.049024390245M6[t] -272.695024390244M7[t] -246.131024390244M8[t] -188.767024390244M9[t] -262.597024390244M10[t] -23.3880000000004M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114443&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
Bel20[t] = + 3903.77204878049 -1625.81512195122Dummy[t] -131.400341463416M1[t] -192.959024390245M2[t] -233.483024390245M3[t] -112.979024390245M4[t] -96.1370243902443M5[t] -214.049024390245M6[t] -272.695024390244M7[t] -246.131024390244M8[t] -188.767024390244M9[t] -262.597024390244M10[t] -23.3880000000004M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3903.77204878049262.04757414.897200
Dummy-1625.81512195122171.062353-9.504200
M1-131.400341463416342.69444-0.38340.7030920.351546
M2-192.959024390245359.36668-0.53690.5937880.296894
M3-233.483024390245359.36668-0.64970.5189790.259489
M4-112.979024390245359.36668-0.31440.7545920.377296
M5-96.1370243902443359.36668-0.26750.7902170.395108
M6-214.049024390245359.36668-0.59560.5542220.277111
M7-272.695024390244359.36668-0.75880.451670.225835
M8-246.131024390244359.36668-0.68490.49670.24835
M9-188.767024390244359.36668-0.52530.6018090.300904
M10-262.597024390244359.36668-0.73070.4685010.234251
M11-23.3880000000004357.734423-0.06540.9481440.474072

\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) & 3903.77204878049 & 262.047574 & 14.8972 & 0 & 0 \tabularnewline
Dummy & -1625.81512195122 & 171.062353 & -9.5042 & 0 & 0 \tabularnewline
M1 & -131.400341463416 & 342.69444 & -0.3834 & 0.703092 & 0.351546 \tabularnewline
M2 & -192.959024390245 & 359.36668 & -0.5369 & 0.593788 & 0.296894 \tabularnewline
M3 & -233.483024390245 & 359.36668 & -0.6497 & 0.518979 & 0.259489 \tabularnewline
M4 & -112.979024390245 & 359.36668 & -0.3144 & 0.754592 & 0.377296 \tabularnewline
M5 & -96.1370243902443 & 359.36668 & -0.2675 & 0.790217 & 0.395108 \tabularnewline
M6 & -214.049024390245 & 359.36668 & -0.5956 & 0.554222 & 0.277111 \tabularnewline
M7 & -272.695024390244 & 359.36668 & -0.7588 & 0.45167 & 0.225835 \tabularnewline
M8 & -246.131024390244 & 359.36668 & -0.6849 & 0.4967 & 0.24835 \tabularnewline
M9 & -188.767024390244 & 359.36668 & -0.5253 & 0.601809 & 0.300904 \tabularnewline
M10 & -262.597024390244 & 359.36668 & -0.7307 & 0.468501 & 0.234251 \tabularnewline
M11 & -23.3880000000004 & 357.734423 & -0.0654 & 0.948144 & 0.474072 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&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]3903.77204878049[/C][C]262.047574[/C][C]14.8972[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-1625.81512195122[/C][C]171.062353[/C][C]-9.5042[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-131.400341463416[/C][C]342.69444[/C][C]-0.3834[/C][C]0.703092[/C][C]0.351546[/C][/ROW]
[ROW][C]M2[/C][C]-192.959024390245[/C][C]359.36668[/C][C]-0.5369[/C][C]0.593788[/C][C]0.296894[/C][/ROW]
[ROW][C]M3[/C][C]-233.483024390245[/C][C]359.36668[/C][C]-0.6497[/C][C]0.518979[/C][C]0.259489[/C][/ROW]
[ROW][C]M4[/C][C]-112.979024390245[/C][C]359.36668[/C][C]-0.3144[/C][C]0.754592[/C][C]0.377296[/C][/ROW]
[ROW][C]M5[/C][C]-96.1370243902443[/C][C]359.36668[/C][C]-0.2675[/C][C]0.790217[/C][C]0.395108[/C][/ROW]
[ROW][C]M6[/C][C]-214.049024390245[/C][C]359.36668[/C][C]-0.5956[/C][C]0.554222[/C][C]0.277111[/C][/ROW]
[ROW][C]M7[/C][C]-272.695024390244[/C][C]359.36668[/C][C]-0.7588[/C][C]0.45167[/C][C]0.225835[/C][/ROW]
[ROW][C]M8[/C][C]-246.131024390244[/C][C]359.36668[/C][C]-0.6849[/C][C]0.4967[/C][C]0.24835[/C][/ROW]
[ROW][C]M9[/C][C]-188.767024390244[/C][C]359.36668[/C][C]-0.5253[/C][C]0.601809[/C][C]0.300904[/C][/ROW]
[ROW][C]M10[/C][C]-262.597024390244[/C][C]359.36668[/C][C]-0.7307[/C][C]0.468501[/C][C]0.234251[/C][/ROW]
[ROW][C]M11[/C][C]-23.3880000000004[/C][C]357.734423[/C][C]-0.0654[/C][C]0.948144[/C][C]0.474072[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114443&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)3903.77204878049262.04757414.897200
Dummy-1625.81512195122171.062353-9.504200
M1-131.400341463416342.69444-0.38340.7030920.351546
M2-192.959024390245359.36668-0.53690.5937880.296894
M3-233.483024390245359.36668-0.64970.5189790.259489
M4-112.979024390245359.36668-0.31440.7545920.377296
M5-96.1370243902443359.36668-0.26750.7902170.395108
M6-214.049024390245359.36668-0.59560.5542220.277111
M7-272.695024390244359.36668-0.75880.451670.225835
M8-246.131024390244359.36668-0.68490.49670.24835
M9-188.767024390244359.36668-0.52530.6018090.300904
M10-262.597024390244359.36668-0.73070.4685010.234251
M11-23.3880000000004357.734423-0.06540.9481440.474072







Multiple Linear Regression - Regression Statistics
Multiple R0.809937779239358
R-squared0.655999206239183
Adjusted R-squared0.569999007798978
F-TEST (value)7.62788014605916
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.21177609946344e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation565.6277869838
Sum Squared Residuals15356870.0835932

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.809937779239358 \tabularnewline
R-squared & 0.655999206239183 \tabularnewline
Adjusted R-squared & 0.569999007798978 \tabularnewline
F-TEST (value) & 7.62788014605916 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 1.21177609946344e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 565.6277869838 \tabularnewline
Sum Squared Residuals & 15356870.0835932 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.809937779239358[/C][/ROW]
[ROW][C]R-squared[/C][C]0.655999206239183[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.569999007798978[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]7.62788014605916[/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]1.21177609946344e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]565.6277869838[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15356870.0835932[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114443&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.809937779239358
R-squared0.655999206239183
Adjusted R-squared0.569999007798978
F-TEST (value)7.62788014605916
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.21177609946344e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation565.6277869838
Sum Squared Residuals15356870.0835932







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12981.853772.37170731708-790.521707317076
23080.583710.81302439024-630.233024390244
33106.223670.28902439024-564.069024390244
43119.313790.79302439024-671.483024390243
53061.263807.63502439024-746.375024390243
63097.313689.72302439024-592.413024390243
73161.693631.07702439024-469.387024390244
83257.163657.64102439024-400.481024390244
93277.013715.00502439024-437.995024390244
103295.323641.17502439024-345.855024390244
113363.993880.38404878049-516.394048780488
123494.173903.77204878049-409.602048780488
133667.033772.37170731707-105.341707317072
143813.063710.81302439024102.246975609756
153917.963670.28902439024247.670975609756
163895.513790.79302439024104.716975609756
173801.063807.63502439024-6.57502439024415
183570.123689.72302439024-119.603024390244
193701.613631.0770243902470.5329756097562
203862.273657.64102439024204.628975609756
213970.13715.00502439024255.094975609756
224138.523641.17502439024497.344975609756
234199.753880.38404878049319.365951219512
244290.893903.77204878049387.117951219512
254443.913772.37170731707671.538292682927
264502.643710.81302439024791.826975609757
274356.983670.28902439024686.690975609756
284591.273790.79302439024800.476975609756
294696.963807.63502439024889.324975609756
304621.43689.72302439024931.676975609756
314562.843631.07702439024931.762975609756
324202.523657.64102439024544.878975609756
334296.493715.00502439024581.484975609756
344435.233641.17502439024794.054975609755
354105.183880.38404878049224.795951219512
364116.683903.77204878049212.907951219512
373844.493772.3717073170772.118292682927
383720.983710.8130243902410.1669756097563
393674.43670.289024390244.1109756097562
403857.623790.7930243902466.826975609756
413801.063807.63502439024-6.57502439024415
423504.373689.72302439024-185.353024390244
433032.63631.07702439024-598.477024390244
443047.033657.64102439024-610.611024390244
452962.343715.00502439024-752.665024390244
462197.823641.17502439024-1443.35502439024
472014.452254.56892682927-240.118926829268
481862.832277.95692682927-415.126926829269
491905.412146.55658536585-241.146585365853
501810.992084.99790243902-274.007902439024
511670.072044.47390243902-374.403902439025
521864.442164.97790243902-300.537902439024
532052.022181.81990243902-129.799902439025
542029.62063.90790243902-34.3079024390245
552070.832005.2619024390265.5680975609754
562293.412031.82590243902261.584097560975
572443.272089.18990243902354.080097560976
582513.172015.35990243902497.810097560976
592466.922254.56892682927212.351073170732
602502.662277.95692682927224.703073170731
612539.912146.55658536585393.353414634146

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2981.85 & 3772.37170731708 & -790.521707317076 \tabularnewline
2 & 3080.58 & 3710.81302439024 & -630.233024390244 \tabularnewline
3 & 3106.22 & 3670.28902439024 & -564.069024390244 \tabularnewline
4 & 3119.31 & 3790.79302439024 & -671.483024390243 \tabularnewline
5 & 3061.26 & 3807.63502439024 & -746.375024390243 \tabularnewline
6 & 3097.31 & 3689.72302439024 & -592.413024390243 \tabularnewline
7 & 3161.69 & 3631.07702439024 & -469.387024390244 \tabularnewline
8 & 3257.16 & 3657.64102439024 & -400.481024390244 \tabularnewline
9 & 3277.01 & 3715.00502439024 & -437.995024390244 \tabularnewline
10 & 3295.32 & 3641.17502439024 & -345.855024390244 \tabularnewline
11 & 3363.99 & 3880.38404878049 & -516.394048780488 \tabularnewline
12 & 3494.17 & 3903.77204878049 & -409.602048780488 \tabularnewline
13 & 3667.03 & 3772.37170731707 & -105.341707317072 \tabularnewline
14 & 3813.06 & 3710.81302439024 & 102.246975609756 \tabularnewline
15 & 3917.96 & 3670.28902439024 & 247.670975609756 \tabularnewline
16 & 3895.51 & 3790.79302439024 & 104.716975609756 \tabularnewline
17 & 3801.06 & 3807.63502439024 & -6.57502439024415 \tabularnewline
18 & 3570.12 & 3689.72302439024 & -119.603024390244 \tabularnewline
19 & 3701.61 & 3631.07702439024 & 70.5329756097562 \tabularnewline
20 & 3862.27 & 3657.64102439024 & 204.628975609756 \tabularnewline
21 & 3970.1 & 3715.00502439024 & 255.094975609756 \tabularnewline
22 & 4138.52 & 3641.17502439024 & 497.344975609756 \tabularnewline
23 & 4199.75 & 3880.38404878049 & 319.365951219512 \tabularnewline
24 & 4290.89 & 3903.77204878049 & 387.117951219512 \tabularnewline
25 & 4443.91 & 3772.37170731707 & 671.538292682927 \tabularnewline
26 & 4502.64 & 3710.81302439024 & 791.826975609757 \tabularnewline
27 & 4356.98 & 3670.28902439024 & 686.690975609756 \tabularnewline
28 & 4591.27 & 3790.79302439024 & 800.476975609756 \tabularnewline
29 & 4696.96 & 3807.63502439024 & 889.324975609756 \tabularnewline
30 & 4621.4 & 3689.72302439024 & 931.676975609756 \tabularnewline
31 & 4562.84 & 3631.07702439024 & 931.762975609756 \tabularnewline
32 & 4202.52 & 3657.64102439024 & 544.878975609756 \tabularnewline
33 & 4296.49 & 3715.00502439024 & 581.484975609756 \tabularnewline
34 & 4435.23 & 3641.17502439024 & 794.054975609755 \tabularnewline
35 & 4105.18 & 3880.38404878049 & 224.795951219512 \tabularnewline
36 & 4116.68 & 3903.77204878049 & 212.907951219512 \tabularnewline
37 & 3844.49 & 3772.37170731707 & 72.118292682927 \tabularnewline
38 & 3720.98 & 3710.81302439024 & 10.1669756097563 \tabularnewline
39 & 3674.4 & 3670.28902439024 & 4.1109756097562 \tabularnewline
40 & 3857.62 & 3790.79302439024 & 66.826975609756 \tabularnewline
41 & 3801.06 & 3807.63502439024 & -6.57502439024415 \tabularnewline
42 & 3504.37 & 3689.72302439024 & -185.353024390244 \tabularnewline
43 & 3032.6 & 3631.07702439024 & -598.477024390244 \tabularnewline
44 & 3047.03 & 3657.64102439024 & -610.611024390244 \tabularnewline
45 & 2962.34 & 3715.00502439024 & -752.665024390244 \tabularnewline
46 & 2197.82 & 3641.17502439024 & -1443.35502439024 \tabularnewline
47 & 2014.45 & 2254.56892682927 & -240.118926829268 \tabularnewline
48 & 1862.83 & 2277.95692682927 & -415.126926829269 \tabularnewline
49 & 1905.41 & 2146.55658536585 & -241.146585365853 \tabularnewline
50 & 1810.99 & 2084.99790243902 & -274.007902439024 \tabularnewline
51 & 1670.07 & 2044.47390243902 & -374.403902439025 \tabularnewline
52 & 1864.44 & 2164.97790243902 & -300.537902439024 \tabularnewline
53 & 2052.02 & 2181.81990243902 & -129.799902439025 \tabularnewline
54 & 2029.6 & 2063.90790243902 & -34.3079024390245 \tabularnewline
55 & 2070.83 & 2005.26190243902 & 65.5680975609754 \tabularnewline
56 & 2293.41 & 2031.82590243902 & 261.584097560975 \tabularnewline
57 & 2443.27 & 2089.18990243902 & 354.080097560976 \tabularnewline
58 & 2513.17 & 2015.35990243902 & 497.810097560976 \tabularnewline
59 & 2466.92 & 2254.56892682927 & 212.351073170732 \tabularnewline
60 & 2502.66 & 2277.95692682927 & 224.703073170731 \tabularnewline
61 & 2539.91 & 2146.55658536585 & 393.353414634146 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&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]2981.85[/C][C]3772.37170731708[/C][C]-790.521707317076[/C][/ROW]
[ROW][C]2[/C][C]3080.58[/C][C]3710.81302439024[/C][C]-630.233024390244[/C][/ROW]
[ROW][C]3[/C][C]3106.22[/C][C]3670.28902439024[/C][C]-564.069024390244[/C][/ROW]
[ROW][C]4[/C][C]3119.31[/C][C]3790.79302439024[/C][C]-671.483024390243[/C][/ROW]
[ROW][C]5[/C][C]3061.26[/C][C]3807.63502439024[/C][C]-746.375024390243[/C][/ROW]
[ROW][C]6[/C][C]3097.31[/C][C]3689.72302439024[/C][C]-592.413024390243[/C][/ROW]
[ROW][C]7[/C][C]3161.69[/C][C]3631.07702439024[/C][C]-469.387024390244[/C][/ROW]
[ROW][C]8[/C][C]3257.16[/C][C]3657.64102439024[/C][C]-400.481024390244[/C][/ROW]
[ROW][C]9[/C][C]3277.01[/C][C]3715.00502439024[/C][C]-437.995024390244[/C][/ROW]
[ROW][C]10[/C][C]3295.32[/C][C]3641.17502439024[/C][C]-345.855024390244[/C][/ROW]
[ROW][C]11[/C][C]3363.99[/C][C]3880.38404878049[/C][C]-516.394048780488[/C][/ROW]
[ROW][C]12[/C][C]3494.17[/C][C]3903.77204878049[/C][C]-409.602048780488[/C][/ROW]
[ROW][C]13[/C][C]3667.03[/C][C]3772.37170731707[/C][C]-105.341707317072[/C][/ROW]
[ROW][C]14[/C][C]3813.06[/C][C]3710.81302439024[/C][C]102.246975609756[/C][/ROW]
[ROW][C]15[/C][C]3917.96[/C][C]3670.28902439024[/C][C]247.670975609756[/C][/ROW]
[ROW][C]16[/C][C]3895.51[/C][C]3790.79302439024[/C][C]104.716975609756[/C][/ROW]
[ROW][C]17[/C][C]3801.06[/C][C]3807.63502439024[/C][C]-6.57502439024415[/C][/ROW]
[ROW][C]18[/C][C]3570.12[/C][C]3689.72302439024[/C][C]-119.603024390244[/C][/ROW]
[ROW][C]19[/C][C]3701.61[/C][C]3631.07702439024[/C][C]70.5329756097562[/C][/ROW]
[ROW][C]20[/C][C]3862.27[/C][C]3657.64102439024[/C][C]204.628975609756[/C][/ROW]
[ROW][C]21[/C][C]3970.1[/C][C]3715.00502439024[/C][C]255.094975609756[/C][/ROW]
[ROW][C]22[/C][C]4138.52[/C][C]3641.17502439024[/C][C]497.344975609756[/C][/ROW]
[ROW][C]23[/C][C]4199.75[/C][C]3880.38404878049[/C][C]319.365951219512[/C][/ROW]
[ROW][C]24[/C][C]4290.89[/C][C]3903.77204878049[/C][C]387.117951219512[/C][/ROW]
[ROW][C]25[/C][C]4443.91[/C][C]3772.37170731707[/C][C]671.538292682927[/C][/ROW]
[ROW][C]26[/C][C]4502.64[/C][C]3710.81302439024[/C][C]791.826975609757[/C][/ROW]
[ROW][C]27[/C][C]4356.98[/C][C]3670.28902439024[/C][C]686.690975609756[/C][/ROW]
[ROW][C]28[/C][C]4591.27[/C][C]3790.79302439024[/C][C]800.476975609756[/C][/ROW]
[ROW][C]29[/C][C]4696.96[/C][C]3807.63502439024[/C][C]889.324975609756[/C][/ROW]
[ROW][C]30[/C][C]4621.4[/C][C]3689.72302439024[/C][C]931.676975609756[/C][/ROW]
[ROW][C]31[/C][C]4562.84[/C][C]3631.07702439024[/C][C]931.762975609756[/C][/ROW]
[ROW][C]32[/C][C]4202.52[/C][C]3657.64102439024[/C][C]544.878975609756[/C][/ROW]
[ROW][C]33[/C][C]4296.49[/C][C]3715.00502439024[/C][C]581.484975609756[/C][/ROW]
[ROW][C]34[/C][C]4435.23[/C][C]3641.17502439024[/C][C]794.054975609755[/C][/ROW]
[ROW][C]35[/C][C]4105.18[/C][C]3880.38404878049[/C][C]224.795951219512[/C][/ROW]
[ROW][C]36[/C][C]4116.68[/C][C]3903.77204878049[/C][C]212.907951219512[/C][/ROW]
[ROW][C]37[/C][C]3844.49[/C][C]3772.37170731707[/C][C]72.118292682927[/C][/ROW]
[ROW][C]38[/C][C]3720.98[/C][C]3710.81302439024[/C][C]10.1669756097563[/C][/ROW]
[ROW][C]39[/C][C]3674.4[/C][C]3670.28902439024[/C][C]4.1109756097562[/C][/ROW]
[ROW][C]40[/C][C]3857.62[/C][C]3790.79302439024[/C][C]66.826975609756[/C][/ROW]
[ROW][C]41[/C][C]3801.06[/C][C]3807.63502439024[/C][C]-6.57502439024415[/C][/ROW]
[ROW][C]42[/C][C]3504.37[/C][C]3689.72302439024[/C][C]-185.353024390244[/C][/ROW]
[ROW][C]43[/C][C]3032.6[/C][C]3631.07702439024[/C][C]-598.477024390244[/C][/ROW]
[ROW][C]44[/C][C]3047.03[/C][C]3657.64102439024[/C][C]-610.611024390244[/C][/ROW]
[ROW][C]45[/C][C]2962.34[/C][C]3715.00502439024[/C][C]-752.665024390244[/C][/ROW]
[ROW][C]46[/C][C]2197.82[/C][C]3641.17502439024[/C][C]-1443.35502439024[/C][/ROW]
[ROW][C]47[/C][C]2014.45[/C][C]2254.56892682927[/C][C]-240.118926829268[/C][/ROW]
[ROW][C]48[/C][C]1862.83[/C][C]2277.95692682927[/C][C]-415.126926829269[/C][/ROW]
[ROW][C]49[/C][C]1905.41[/C][C]2146.55658536585[/C][C]-241.146585365853[/C][/ROW]
[ROW][C]50[/C][C]1810.99[/C][C]2084.99790243902[/C][C]-274.007902439024[/C][/ROW]
[ROW][C]51[/C][C]1670.07[/C][C]2044.47390243902[/C][C]-374.403902439025[/C][/ROW]
[ROW][C]52[/C][C]1864.44[/C][C]2164.97790243902[/C][C]-300.537902439024[/C][/ROW]
[ROW][C]53[/C][C]2052.02[/C][C]2181.81990243902[/C][C]-129.799902439025[/C][/ROW]
[ROW][C]54[/C][C]2029.6[/C][C]2063.90790243902[/C][C]-34.3079024390245[/C][/ROW]
[ROW][C]55[/C][C]2070.83[/C][C]2005.26190243902[/C][C]65.5680975609754[/C][/ROW]
[ROW][C]56[/C][C]2293.41[/C][C]2031.82590243902[/C][C]261.584097560975[/C][/ROW]
[ROW][C]57[/C][C]2443.27[/C][C]2089.18990243902[/C][C]354.080097560976[/C][/ROW]
[ROW][C]58[/C][C]2513.17[/C][C]2015.35990243902[/C][C]497.810097560976[/C][/ROW]
[ROW][C]59[/C][C]2466.92[/C][C]2254.56892682927[/C][C]212.351073170732[/C][/ROW]
[ROW][C]60[/C][C]2502.66[/C][C]2277.95692682927[/C][C]224.703073170731[/C][/ROW]
[ROW][C]61[/C][C]2539.91[/C][C]2146.55658536585[/C][C]393.353414634146[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114443&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
12981.853772.37170731708-790.521707317076
23080.583710.81302439024-630.233024390244
33106.223670.28902439024-564.069024390244
43119.313790.79302439024-671.483024390243
53061.263807.63502439024-746.375024390243
63097.313689.72302439024-592.413024390243
73161.693631.07702439024-469.387024390244
83257.163657.64102439024-400.481024390244
93277.013715.00502439024-437.995024390244
103295.323641.17502439024-345.855024390244
113363.993880.38404878049-516.394048780488
123494.173903.77204878049-409.602048780488
133667.033772.37170731707-105.341707317072
143813.063710.81302439024102.246975609756
153917.963670.28902439024247.670975609756
163895.513790.79302439024104.716975609756
173801.063807.63502439024-6.57502439024415
183570.123689.72302439024-119.603024390244
193701.613631.0770243902470.5329756097562
203862.273657.64102439024204.628975609756
213970.13715.00502439024255.094975609756
224138.523641.17502439024497.344975609756
234199.753880.38404878049319.365951219512
244290.893903.77204878049387.117951219512
254443.913772.37170731707671.538292682927
264502.643710.81302439024791.826975609757
274356.983670.28902439024686.690975609756
284591.273790.79302439024800.476975609756
294696.963807.63502439024889.324975609756
304621.43689.72302439024931.676975609756
314562.843631.07702439024931.762975609756
324202.523657.64102439024544.878975609756
334296.493715.00502439024581.484975609756
344435.233641.17502439024794.054975609755
354105.183880.38404878049224.795951219512
364116.683903.77204878049212.907951219512
373844.493772.3717073170772.118292682927
383720.983710.8130243902410.1669756097563
393674.43670.289024390244.1109756097562
403857.623790.7930243902466.826975609756
413801.063807.63502439024-6.57502439024415
423504.373689.72302439024-185.353024390244
433032.63631.07702439024-598.477024390244
443047.033657.64102439024-610.611024390244
452962.343715.00502439024-752.665024390244
462197.823641.17502439024-1443.35502439024
472014.452254.56892682927-240.118926829268
481862.832277.95692682927-415.126926829269
491905.412146.55658536585-241.146585365853
501810.992084.99790243902-274.007902439024
511670.072044.47390243902-374.403902439025
521864.442164.97790243902-300.537902439024
532052.022181.81990243902-129.799902439025
542029.62063.90790243902-34.3079024390245
552070.832005.2619024390265.5680975609754
562293.412031.82590243902261.584097560975
572443.272089.18990243902354.080097560976
582513.172015.35990243902497.810097560976
592466.922254.56892682927212.351073170732
602502.662277.95692682927224.703073170731
612539.912146.55658536585393.353414634146







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.6770756793428480.6458486413143040.322924320657152
170.625037881474090.749924237051820.37496211852591
180.5250392095194130.9499215809611750.474960790480587
190.4387187516834930.8774375033669860.561281248316507
200.3723981894286570.7447963788573130.627601810571343
210.3291542257074880.6583084514149750.670845774292512
220.3266014852014330.6532029704028670.673398514798567
230.3083998763725690.6167997527451380.691600123627431
240.2828378960097890.5656757920195780.717162103990211
250.357727771938530.715455543877060.64227222806147
260.4253958013206190.8507916026412380.574604198679381
270.4405411600016220.8810823200032430.559458839998378
280.5045407998713960.990918400257210.495459200128604
290.6017874274172010.7964251451655990.398212572582799
300.699994068167090.6000118636658210.300005931832910
310.7917833466875180.4164333066249640.208216653312482
320.7795118184526990.4409763630946030.220488181547301
330.7805835555893040.4388328888213910.219416444410696
340.877624810293790.2447503794124190.122375189706210
350.8416767428546490.3166465142907030.158323257145351
360.8122057398181950.375588520363610.187794260181805
370.7492072005363760.5015855989272480.250792799463624
380.7104282238931350.579143552213730.289571776106865
390.7091551776790120.5816896446419760.290844822320988
400.7509171646378660.4981656707242680.249082835362134
410.7905655313385510.4188689373228980.209434468661449
420.8253531619408360.3492936761183290.174646838059164
430.796006882107390.407986235785220.20399311789261
440.7474149776608940.5051700446782120.252585022339106
450.7047924799752850.590415040049430.295207520024715

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.677075679342848 & 0.645848641314304 & 0.322924320657152 \tabularnewline
17 & 0.62503788147409 & 0.74992423705182 & 0.37496211852591 \tabularnewline
18 & 0.525039209519413 & 0.949921580961175 & 0.474960790480587 \tabularnewline
19 & 0.438718751683493 & 0.877437503366986 & 0.561281248316507 \tabularnewline
20 & 0.372398189428657 & 0.744796378857313 & 0.627601810571343 \tabularnewline
21 & 0.329154225707488 & 0.658308451414975 & 0.670845774292512 \tabularnewline
22 & 0.326601485201433 & 0.653202970402867 & 0.673398514798567 \tabularnewline
23 & 0.308399876372569 & 0.616799752745138 & 0.691600123627431 \tabularnewline
24 & 0.282837896009789 & 0.565675792019578 & 0.717162103990211 \tabularnewline
25 & 0.35772777193853 & 0.71545554387706 & 0.64227222806147 \tabularnewline
26 & 0.425395801320619 & 0.850791602641238 & 0.574604198679381 \tabularnewline
27 & 0.440541160001622 & 0.881082320003243 & 0.559458839998378 \tabularnewline
28 & 0.504540799871396 & 0.99091840025721 & 0.495459200128604 \tabularnewline
29 & 0.601787427417201 & 0.796425145165599 & 0.398212572582799 \tabularnewline
30 & 0.69999406816709 & 0.600011863665821 & 0.300005931832910 \tabularnewline
31 & 0.791783346687518 & 0.416433306624964 & 0.208216653312482 \tabularnewline
32 & 0.779511818452699 & 0.440976363094603 & 0.220488181547301 \tabularnewline
33 & 0.780583555589304 & 0.438832888821391 & 0.219416444410696 \tabularnewline
34 & 0.87762481029379 & 0.244750379412419 & 0.122375189706210 \tabularnewline
35 & 0.841676742854649 & 0.316646514290703 & 0.158323257145351 \tabularnewline
36 & 0.812205739818195 & 0.37558852036361 & 0.187794260181805 \tabularnewline
37 & 0.749207200536376 & 0.501585598927248 & 0.250792799463624 \tabularnewline
38 & 0.710428223893135 & 0.57914355221373 & 0.289571776106865 \tabularnewline
39 & 0.709155177679012 & 0.581689644641976 & 0.290844822320988 \tabularnewline
40 & 0.750917164637866 & 0.498165670724268 & 0.249082835362134 \tabularnewline
41 & 0.790565531338551 & 0.418868937322898 & 0.209434468661449 \tabularnewline
42 & 0.825353161940836 & 0.349293676118329 & 0.174646838059164 \tabularnewline
43 & 0.79600688210739 & 0.40798623578522 & 0.20399311789261 \tabularnewline
44 & 0.747414977660894 & 0.505170044678212 & 0.252585022339106 \tabularnewline
45 & 0.704792479975285 & 0.59041504004943 & 0.295207520024715 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&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.677075679342848[/C][C]0.645848641314304[/C][C]0.322924320657152[/C][/ROW]
[ROW][C]17[/C][C]0.62503788147409[/C][C]0.74992423705182[/C][C]0.37496211852591[/C][/ROW]
[ROW][C]18[/C][C]0.525039209519413[/C][C]0.949921580961175[/C][C]0.474960790480587[/C][/ROW]
[ROW][C]19[/C][C]0.438718751683493[/C][C]0.877437503366986[/C][C]0.561281248316507[/C][/ROW]
[ROW][C]20[/C][C]0.372398189428657[/C][C]0.744796378857313[/C][C]0.627601810571343[/C][/ROW]
[ROW][C]21[/C][C]0.329154225707488[/C][C]0.658308451414975[/C][C]0.670845774292512[/C][/ROW]
[ROW][C]22[/C][C]0.326601485201433[/C][C]0.653202970402867[/C][C]0.673398514798567[/C][/ROW]
[ROW][C]23[/C][C]0.308399876372569[/C][C]0.616799752745138[/C][C]0.691600123627431[/C][/ROW]
[ROW][C]24[/C][C]0.282837896009789[/C][C]0.565675792019578[/C][C]0.717162103990211[/C][/ROW]
[ROW][C]25[/C][C]0.35772777193853[/C][C]0.71545554387706[/C][C]0.64227222806147[/C][/ROW]
[ROW][C]26[/C][C]0.425395801320619[/C][C]0.850791602641238[/C][C]0.574604198679381[/C][/ROW]
[ROW][C]27[/C][C]0.440541160001622[/C][C]0.881082320003243[/C][C]0.559458839998378[/C][/ROW]
[ROW][C]28[/C][C]0.504540799871396[/C][C]0.99091840025721[/C][C]0.495459200128604[/C][/ROW]
[ROW][C]29[/C][C]0.601787427417201[/C][C]0.796425145165599[/C][C]0.398212572582799[/C][/ROW]
[ROW][C]30[/C][C]0.69999406816709[/C][C]0.600011863665821[/C][C]0.300005931832910[/C][/ROW]
[ROW][C]31[/C][C]0.791783346687518[/C][C]0.416433306624964[/C][C]0.208216653312482[/C][/ROW]
[ROW][C]32[/C][C]0.779511818452699[/C][C]0.440976363094603[/C][C]0.220488181547301[/C][/ROW]
[ROW][C]33[/C][C]0.780583555589304[/C][C]0.438832888821391[/C][C]0.219416444410696[/C][/ROW]
[ROW][C]34[/C][C]0.87762481029379[/C][C]0.244750379412419[/C][C]0.122375189706210[/C][/ROW]
[ROW][C]35[/C][C]0.841676742854649[/C][C]0.316646514290703[/C][C]0.158323257145351[/C][/ROW]
[ROW][C]36[/C][C]0.812205739818195[/C][C]0.37558852036361[/C][C]0.187794260181805[/C][/ROW]
[ROW][C]37[/C][C]0.749207200536376[/C][C]0.501585598927248[/C][C]0.250792799463624[/C][/ROW]
[ROW][C]38[/C][C]0.710428223893135[/C][C]0.57914355221373[/C][C]0.289571776106865[/C][/ROW]
[ROW][C]39[/C][C]0.709155177679012[/C][C]0.581689644641976[/C][C]0.290844822320988[/C][/ROW]
[ROW][C]40[/C][C]0.750917164637866[/C][C]0.498165670724268[/C][C]0.249082835362134[/C][/ROW]
[ROW][C]41[/C][C]0.790565531338551[/C][C]0.418868937322898[/C][C]0.209434468661449[/C][/ROW]
[ROW][C]42[/C][C]0.825353161940836[/C][C]0.349293676118329[/C][C]0.174646838059164[/C][/ROW]
[ROW][C]43[/C][C]0.79600688210739[/C][C]0.40798623578522[/C][C]0.20399311789261[/C][/ROW]
[ROW][C]44[/C][C]0.747414977660894[/C][C]0.505170044678212[/C][C]0.252585022339106[/C][/ROW]
[ROW][C]45[/C][C]0.704792479975285[/C][C]0.59041504004943[/C][C]0.295207520024715[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=114443&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.6770756793428480.6458486413143040.322924320657152
170.625037881474090.749924237051820.37496211852591
180.5250392095194130.9499215809611750.474960790480587
190.4387187516834930.8774375033669860.561281248316507
200.3723981894286570.7447963788573130.627601810571343
210.3291542257074880.6583084514149750.670845774292512
220.3266014852014330.6532029704028670.673398514798567
230.3083998763725690.6167997527451380.691600123627431
240.2828378960097890.5656757920195780.717162103990211
250.357727771938530.715455543877060.64227222806147
260.4253958013206190.8507916026412380.574604198679381
270.4405411600016220.8810823200032430.559458839998378
280.5045407998713960.990918400257210.495459200128604
290.6017874274172010.7964251451655990.398212572582799
300.699994068167090.6000118636658210.300005931832910
310.7917833466875180.4164333066249640.208216653312482
320.7795118184526990.4409763630946030.220488181547301
330.7805835555893040.4388328888213910.219416444410696
340.877624810293790.2447503794124190.122375189706210
350.8416767428546490.3166465142907030.158323257145351
360.8122057398181950.375588520363610.187794260181805
370.7492072005363760.5015855989272480.250792799463624
380.7104282238931350.579143552213730.289571776106865
390.7091551776790120.5816896446419760.290844822320988
400.7509171646378660.4981656707242680.249082835362134
410.7905655313385510.4188689373228980.209434468661449
420.8253531619408360.3492936761183290.174646838059164
430.796006882107390.407986235785220.20399311789261
440.7474149776608940.5051700446782120.252585022339106
450.7047924799752850.590415040049430.295207520024715







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=114443&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=114443&T=6

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

As an alternative you can also use a QR Code:  

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

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



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