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, 22 Nov 2009 13:04:45 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/22/t1258920374ftpfoxvn7bbu1bt.htm/, Retrieved Sat, 27 Apr 2024 15:18:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58692, Retrieved Sat, 27 Apr 2024 15:18:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWS 7 Model 5
Estimated Impact215
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [WS 7] [2009-11-19 23:41:15] [9717cb857c153ca3061376906953b329]
-    D      [Multiple Regression] [WS 7 Model 1] [2009-11-20 18:02:51] [9717cb857c153ca3061376906953b329]
-   P         [Multiple Regression] [WS 7 Model 2] [2009-11-20 18:37:24] [9717cb857c153ca3061376906953b329]
-   P           [Multiple Regression] [WS 7 Model 3] [2009-11-20 18:55:39] [9717cb857c153ca3061376906953b329]
-    D            [Multiple Regression] [WS 7 Model 4] [2009-11-22 16:57:43] [9717cb857c153ca3061376906953b329]
-    D                [Multiple Regression] [WS 7 Model 5] [2009-11-22 20:04:45] [52b85b290d6f50b0921ad6729b8a5af2] [Current]
-    D                  [Multiple Regression] [WS 7 Model 6] [2009-11-23 16:53:08] [9717cb857c153ca3061376906953b329]
Feedback Forum

Post a new message
Dataseries X:
277128	0	277915	286602
277103	0	277128	283042
275037	0	277103	276687
270150	0	275037	277915
267140	0	270150	277128
264993	0	267140	277103
287259	0	264993	275037
291186	0	287259	270150
292300	0	291186	267140
288186	0	292300	264993
281477	0	288186	287259
282656	0	281477	291186
280190	0	282656	292300
280408	0	280190	288186
276836	0	280408	281477
275216	0	276836	282656
274352	0	275216	280190
271311	0	274352	280408
289802	0	271311	276836
290726	0	289802	275216
292300	0	290726	274352
278506	0	292300	271311
269826	0	278506	289802
265861	0	269826	290726
269034	0	265861	292300
264176	0	269034	278506
255198	0	264176	269826
253353	0	255198	265861
246057	0	253353	269034
235372	0	246057	264176
258556	0	235372	255198
260993	0	258556	253353
254663	0	260993	246057
250643	0	254663	235372
243422	0	250643	258556
247105	0	243422	260993
248541	0	247105	254663
245039	0	248541	250643
237080	0	245039	243422
237085	0	237080	247105
225554	0	237085	248541
226839	1	225554	245039
247934	1	226839	237080
248333	1	247934	237085
246969	1	248333	225554
245098	1	246969	226839
246263	1	245098	247934
255765	1	246263	248333
264319	1	255765	246969
268347	1	264319	245098
273046	1	268347	246263
273963	1	273046	255765
267430	1	273963	264319
271993	1	267430	268347
292710	1	271993	273046
295881	1	292710	273963




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=58692&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=58692&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
nwwmb[t] = + 18592.6614036799 + 5070.20661526654dummy_variable[t] + 1.09315352748084`y[t-1]`[t] -0.141678933809927`y[t-4] `[t] -1113.51362844413M1[t] -4788.11504224625M2[t] -8151.06975649466M3[t] -5304.29940467738M4[t] -9150.79794834342M5[t] -5800.60338064344M6[t] + 17130.3065854846M7[t] -3934.41364080719M8[t] -8074.2150653462M9[t] -13077.5188296226M10[t] -8827.75850794206M11[t] -95.0676676861505t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
nwwmb[t] =  +  18592.6614036799 +  5070.20661526654dummy_variable[t] +  1.09315352748084`y[t-1]`[t] -0.141678933809927`y[t-4]
`[t] -1113.51362844413M1[t] -4788.11504224625M2[t] -8151.06975649466M3[t] -5304.29940467738M4[t] -9150.79794834342M5[t] -5800.60338064344M6[t] +  17130.3065854846M7[t] -3934.41364080719M8[t] -8074.2150653462M9[t] -13077.5188296226M10[t] -8827.75850794206M11[t] -95.0676676861505t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58692&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]nwwmb[t] =  +  18592.6614036799 +  5070.20661526654dummy_variable[t] +  1.09315352748084`y[t-1]`[t] -0.141678933809927`y[t-4]
`[t] -1113.51362844413M1[t] -4788.11504224625M2[t] -8151.06975649466M3[t] -5304.29940467738M4[t] -9150.79794834342M5[t] -5800.60338064344M6[t] +  17130.3065854846M7[t] -3934.41364080719M8[t] -8074.2150653462M9[t] -13077.5188296226M10[t] -8827.75850794206M11[t] -95.0676676861505t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58692&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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
nwwmb[t] = + 18592.6614036799 + 5070.20661526654dummy_variable[t] + 1.09315352748084`y[t-1]`[t] -0.141678933809927`y[t-4] `[t] -1113.51362844413M1[t] -4788.11504224625M2[t] -8151.06975649466M3[t] -5304.29940467738M4[t] -9150.79794834342M5[t] -5800.60338064344M6[t] + 17130.3065854846M7[t] -3934.41364080719M8[t] -8074.2150653462M9[t] -13077.5188296226M10[t] -8827.75850794206M11[t] -95.0676676861505t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)18592.661403679912851.1432471.44680.1557530.077876
dummy_variable5070.206615266542020.7576692.50910.0162580.008129
`y[t-1]`1.093153527480840.07658914.27300
`y[t-4] `-0.1416789338099270.091655-1.54580.1300320.065016
M1-1113.513628444132361.601036-0.47150.639840.31992
M2-4788.115042246252525.289385-1.89610.0651910.032596
M3-8151.069756494662721.215839-2.99540.0046880.002344
M4-5304.299404677382510.866985-2.11250.0409310.020466
M5-9150.797948343422418.510059-3.78370.0005070.000254
M6-5800.603380643442358.64987-2.45930.0183420.009171
M717130.30658548462373.8946367.216100
M8-3934.413640807193023.927286-1.30110.2006710.100336
M9-8074.21506534623649.0272-2.21270.0326890.016344
M10-13077.51882962263826.149902-3.41790.0014630.000731
M11-8827.758507942062525.452699-3.49550.0011730.000586
t-95.067667686150554.948861-1.73010.091320.04566

\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) & 18592.6614036799 & 12851.143247 & 1.4468 & 0.155753 & 0.077876 \tabularnewline
dummy_variable & 5070.20661526654 & 2020.757669 & 2.5091 & 0.016258 & 0.008129 \tabularnewline
`y[t-1]` & 1.09315352748084 & 0.076589 & 14.273 & 0 & 0 \tabularnewline
`y[t-4]
` & -0.141678933809927 & 0.091655 & -1.5458 & 0.130032 & 0.065016 \tabularnewline
M1 & -1113.51362844413 & 2361.601036 & -0.4715 & 0.63984 & 0.31992 \tabularnewline
M2 & -4788.11504224625 & 2525.289385 & -1.8961 & 0.065191 & 0.032596 \tabularnewline
M3 & -8151.06975649466 & 2721.215839 & -2.9954 & 0.004688 & 0.002344 \tabularnewline
M4 & -5304.29940467738 & 2510.866985 & -2.1125 & 0.040931 & 0.020466 \tabularnewline
M5 & -9150.79794834342 & 2418.510059 & -3.7837 & 0.000507 & 0.000254 \tabularnewline
M6 & -5800.60338064344 & 2358.64987 & -2.4593 & 0.018342 & 0.009171 \tabularnewline
M7 & 17130.3065854846 & 2373.894636 & 7.2161 & 0 & 0 \tabularnewline
M8 & -3934.41364080719 & 3023.927286 & -1.3011 & 0.200671 & 0.100336 \tabularnewline
M9 & -8074.2150653462 & 3649.0272 & -2.2127 & 0.032689 & 0.016344 \tabularnewline
M10 & -13077.5188296226 & 3826.149902 & -3.4179 & 0.001463 & 0.000731 \tabularnewline
M11 & -8827.75850794206 & 2525.452699 & -3.4955 & 0.001173 & 0.000586 \tabularnewline
t & -95.0676676861505 & 54.948861 & -1.7301 & 0.09132 & 0.04566 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58692&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]18592.6614036799[/C][C]12851.143247[/C][C]1.4468[/C][C]0.155753[/C][C]0.077876[/C][/ROW]
[ROW][C]dummy_variable[/C][C]5070.20661526654[/C][C]2020.757669[/C][C]2.5091[/C][C]0.016258[/C][C]0.008129[/C][/ROW]
[ROW][C]`y[t-1]`[/C][C]1.09315352748084[/C][C]0.076589[/C][C]14.273[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]`y[t-4]
`[/C][C]-0.141678933809927[/C][C]0.091655[/C][C]-1.5458[/C][C]0.130032[/C][C]0.065016[/C][/ROW]
[ROW][C]M1[/C][C]-1113.51362844413[/C][C]2361.601036[/C][C]-0.4715[/C][C]0.63984[/C][C]0.31992[/C][/ROW]
[ROW][C]M2[/C][C]-4788.11504224625[/C][C]2525.289385[/C][C]-1.8961[/C][C]0.065191[/C][C]0.032596[/C][/ROW]
[ROW][C]M3[/C][C]-8151.06975649466[/C][C]2721.215839[/C][C]-2.9954[/C][C]0.004688[/C][C]0.002344[/C][/ROW]
[ROW][C]M4[/C][C]-5304.29940467738[/C][C]2510.866985[/C][C]-2.1125[/C][C]0.040931[/C][C]0.020466[/C][/ROW]
[ROW][C]M5[/C][C]-9150.79794834342[/C][C]2418.510059[/C][C]-3.7837[/C][C]0.000507[/C][C]0.000254[/C][/ROW]
[ROW][C]M6[/C][C]-5800.60338064344[/C][C]2358.64987[/C][C]-2.4593[/C][C]0.018342[/C][C]0.009171[/C][/ROW]
[ROW][C]M7[/C][C]17130.3065854846[/C][C]2373.894636[/C][C]7.2161[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-3934.41364080719[/C][C]3023.927286[/C][C]-1.3011[/C][C]0.200671[/C][C]0.100336[/C][/ROW]
[ROW][C]M9[/C][C]-8074.2150653462[/C][C]3649.0272[/C][C]-2.2127[/C][C]0.032689[/C][C]0.016344[/C][/ROW]
[ROW][C]M10[/C][C]-13077.5188296226[/C][C]3826.149902[/C][C]-3.4179[/C][C]0.001463[/C][C]0.000731[/C][/ROW]
[ROW][C]M11[/C][C]-8827.75850794206[/C][C]2525.452699[/C][C]-3.4955[/C][C]0.001173[/C][C]0.000586[/C][/ROW]
[ROW][C]t[/C][C]-95.0676676861505[/C][C]54.948861[/C][C]-1.7301[/C][C]0.09132[/C][C]0.04566[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58692&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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)18592.661403679912851.1432471.44680.1557530.077876
dummy_variable5070.206615266542020.7576692.50910.0162580.008129
`y[t-1]`1.093153527480840.07658914.27300
`y[t-4] `-0.1416789338099270.091655-1.54580.1300320.065016
M1-1113.513628444132361.601036-0.47150.639840.31992
M2-4788.115042246252525.289385-1.89610.0651910.032596
M3-8151.069756494662721.215839-2.99540.0046880.002344
M4-5304.299404677382510.866985-2.11250.0409310.020466
M5-9150.797948343422418.510059-3.78370.0005070.000254
M6-5800.603380643442358.64987-2.45930.0183420.009171
M717130.30658548462373.8946367.216100
M8-3934.413640807193023.927286-1.30110.2006710.100336
M9-8074.21506534623649.0272-2.21270.0326890.016344
M10-13077.51882962263826.149902-3.41790.0014630.000731
M11-8827.758507942062525.452699-3.49550.0011730.000586
t-95.067667686150554.948861-1.73010.091320.04566







Multiple Linear Regression - Regression Statistics
Multiple R0.986524164699137
R-squared0.97322992753533
Adjusted R-squared0.963191150361078
F-TEST (value)96.9470594517807
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3478.32596296376
Sum Squared Residuals483950060.185111

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986524164699137 \tabularnewline
R-squared & 0.97322992753533 \tabularnewline
Adjusted R-squared & 0.963191150361078 \tabularnewline
F-TEST (value) & 96.9470594517807 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 3478.32596296376 \tabularnewline
Sum Squared Residuals & 483950060.185111 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58692&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986524164699137[/C][/ROW]
[ROW][C]R-squared[/C][C]0.97322992753533[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.963191150361078[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]96.9470594517807[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]3478.32596296376[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]483950060.185111[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58692&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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.986524164699137
R-squared0.97322992753533
Adjusted R-squared0.963191150361078
F-TEST (value)96.9470594517807
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3478.32596296376
Sum Squared Residuals483950060.185111







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1277128280582.376909595-3454.37690959532
2277103276456.773006343646.226993656633
3275037273871.7914105841165.20858941606
4270150274191.057176221-4041.057176221
5267140265018.7509969782121.24900302167
6264993264987.027752625.97224737992656
7287259285768.5781048121490.42189518815
8291186289641.3316032521544.66839674845
9292300290125.7300042122174.26999578847
10288186286549.3162727531636.68372724742
11281477283052.152174479-1575.15217447895
12282656283894.502825794-1238.50282579428
13280190283816.919206300-3626.91920629965
14280408277934.4006597382473.59934026233
15276836275665.2097137251170.79028627528
16275216274345.128534732870.871465267632
17274352268982.0338596375369.96614036351
18271311271261.79010433649.2098956636920
19289802291279.429677278-1477.42967727796
20290726290562.663532720163.336467279566
21292300287460.2788986994839.72110130066
22278506284513.376756708-6007.37675670765
23269826270969.324487552-1143.32448755191
24265861270082.531374434-4221.53137443373
25269034264316.5937000254717.40629997492
26264176265969.819974208-1793.81997420765
27255198258431.030901241-3233.03090124131
28253353251930.1581882061422.84181179422
29246057245522.176461673534.823538327469
30235372241489.931485635-6117.93148563475
31258556253917.4218106894638.57818931071
32260993258362.7029307072630.29706929339
33254663257825.538486029-3162.53848602947
34250643247321.3446328723321.65536712773
35243422243796.875704944-374.875704944312
36247105244290.6333615662814.36663843374
37248541248004.964158165536.03584183524
38245039246374.612856055-1335.61285605488
39237080240111.430401924-3031.43040192388
40237085233640.9206476133444.07935238698
41225554229501.369254947-3947.36925494718
42226839225717.7090710481121.29092895169
43247934251085.876286496-3151.87628649625
44248333252985.453660058-4652.45366005771
45246969250820.452611060-3851.45261105966
46245098244048.9623376681049.03766233249
47246263243169.6476330253093.35236697518
48255765253119.3324382062645.66756179425
49264319262491.1460259151827.85397408481
50268347268337.3935036569.6064963435664
51273046269117.5375725263928.46242747385
52273963275659.735453228-1696.73545322784
53267430271508.669426765-4078.66942676547
54271993267051.5415863614941.45841363944
55292710294209.694120725-1499.69412072466
56295881295566.848273264314.151726736299

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 277128 & 280582.376909595 & -3454.37690959532 \tabularnewline
2 & 277103 & 276456.773006343 & 646.226993656633 \tabularnewline
3 & 275037 & 273871.791410584 & 1165.20858941606 \tabularnewline
4 & 270150 & 274191.057176221 & -4041.057176221 \tabularnewline
5 & 267140 & 265018.750996978 & 2121.24900302167 \tabularnewline
6 & 264993 & 264987.02775262 & 5.97224737992656 \tabularnewline
7 & 287259 & 285768.578104812 & 1490.42189518815 \tabularnewline
8 & 291186 & 289641.331603252 & 1544.66839674845 \tabularnewline
9 & 292300 & 290125.730004212 & 2174.26999578847 \tabularnewline
10 & 288186 & 286549.316272753 & 1636.68372724742 \tabularnewline
11 & 281477 & 283052.152174479 & -1575.15217447895 \tabularnewline
12 & 282656 & 283894.502825794 & -1238.50282579428 \tabularnewline
13 & 280190 & 283816.919206300 & -3626.91920629965 \tabularnewline
14 & 280408 & 277934.400659738 & 2473.59934026233 \tabularnewline
15 & 276836 & 275665.209713725 & 1170.79028627528 \tabularnewline
16 & 275216 & 274345.128534732 & 870.871465267632 \tabularnewline
17 & 274352 & 268982.033859637 & 5369.96614036351 \tabularnewline
18 & 271311 & 271261.790104336 & 49.2098956636920 \tabularnewline
19 & 289802 & 291279.429677278 & -1477.42967727796 \tabularnewline
20 & 290726 & 290562.663532720 & 163.336467279566 \tabularnewline
21 & 292300 & 287460.278898699 & 4839.72110130066 \tabularnewline
22 & 278506 & 284513.376756708 & -6007.37675670765 \tabularnewline
23 & 269826 & 270969.324487552 & -1143.32448755191 \tabularnewline
24 & 265861 & 270082.531374434 & -4221.53137443373 \tabularnewline
25 & 269034 & 264316.593700025 & 4717.40629997492 \tabularnewline
26 & 264176 & 265969.819974208 & -1793.81997420765 \tabularnewline
27 & 255198 & 258431.030901241 & -3233.03090124131 \tabularnewline
28 & 253353 & 251930.158188206 & 1422.84181179422 \tabularnewline
29 & 246057 & 245522.176461673 & 534.823538327469 \tabularnewline
30 & 235372 & 241489.931485635 & -6117.93148563475 \tabularnewline
31 & 258556 & 253917.421810689 & 4638.57818931071 \tabularnewline
32 & 260993 & 258362.702930707 & 2630.29706929339 \tabularnewline
33 & 254663 & 257825.538486029 & -3162.53848602947 \tabularnewline
34 & 250643 & 247321.344632872 & 3321.65536712773 \tabularnewline
35 & 243422 & 243796.875704944 & -374.875704944312 \tabularnewline
36 & 247105 & 244290.633361566 & 2814.36663843374 \tabularnewline
37 & 248541 & 248004.964158165 & 536.03584183524 \tabularnewline
38 & 245039 & 246374.612856055 & -1335.61285605488 \tabularnewline
39 & 237080 & 240111.430401924 & -3031.43040192388 \tabularnewline
40 & 237085 & 233640.920647613 & 3444.07935238698 \tabularnewline
41 & 225554 & 229501.369254947 & -3947.36925494718 \tabularnewline
42 & 226839 & 225717.709071048 & 1121.29092895169 \tabularnewline
43 & 247934 & 251085.876286496 & -3151.87628649625 \tabularnewline
44 & 248333 & 252985.453660058 & -4652.45366005771 \tabularnewline
45 & 246969 & 250820.452611060 & -3851.45261105966 \tabularnewline
46 & 245098 & 244048.962337668 & 1049.03766233249 \tabularnewline
47 & 246263 & 243169.647633025 & 3093.35236697518 \tabularnewline
48 & 255765 & 253119.332438206 & 2645.66756179425 \tabularnewline
49 & 264319 & 262491.146025915 & 1827.85397408481 \tabularnewline
50 & 268347 & 268337.393503656 & 9.6064963435664 \tabularnewline
51 & 273046 & 269117.537572526 & 3928.46242747385 \tabularnewline
52 & 273963 & 275659.735453228 & -1696.73545322784 \tabularnewline
53 & 267430 & 271508.669426765 & -4078.66942676547 \tabularnewline
54 & 271993 & 267051.541586361 & 4941.45841363944 \tabularnewline
55 & 292710 & 294209.694120725 & -1499.69412072466 \tabularnewline
56 & 295881 & 295566.848273264 & 314.151726736299 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58692&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]277128[/C][C]280582.376909595[/C][C]-3454.37690959532[/C][/ROW]
[ROW][C]2[/C][C]277103[/C][C]276456.773006343[/C][C]646.226993656633[/C][/ROW]
[ROW][C]3[/C][C]275037[/C][C]273871.791410584[/C][C]1165.20858941606[/C][/ROW]
[ROW][C]4[/C][C]270150[/C][C]274191.057176221[/C][C]-4041.057176221[/C][/ROW]
[ROW][C]5[/C][C]267140[/C][C]265018.750996978[/C][C]2121.24900302167[/C][/ROW]
[ROW][C]6[/C][C]264993[/C][C]264987.02775262[/C][C]5.97224737992656[/C][/ROW]
[ROW][C]7[/C][C]287259[/C][C]285768.578104812[/C][C]1490.42189518815[/C][/ROW]
[ROW][C]8[/C][C]291186[/C][C]289641.331603252[/C][C]1544.66839674845[/C][/ROW]
[ROW][C]9[/C][C]292300[/C][C]290125.730004212[/C][C]2174.26999578847[/C][/ROW]
[ROW][C]10[/C][C]288186[/C][C]286549.316272753[/C][C]1636.68372724742[/C][/ROW]
[ROW][C]11[/C][C]281477[/C][C]283052.152174479[/C][C]-1575.15217447895[/C][/ROW]
[ROW][C]12[/C][C]282656[/C][C]283894.502825794[/C][C]-1238.50282579428[/C][/ROW]
[ROW][C]13[/C][C]280190[/C][C]283816.919206300[/C][C]-3626.91920629965[/C][/ROW]
[ROW][C]14[/C][C]280408[/C][C]277934.400659738[/C][C]2473.59934026233[/C][/ROW]
[ROW][C]15[/C][C]276836[/C][C]275665.209713725[/C][C]1170.79028627528[/C][/ROW]
[ROW][C]16[/C][C]275216[/C][C]274345.128534732[/C][C]870.871465267632[/C][/ROW]
[ROW][C]17[/C][C]274352[/C][C]268982.033859637[/C][C]5369.96614036351[/C][/ROW]
[ROW][C]18[/C][C]271311[/C][C]271261.790104336[/C][C]49.2098956636920[/C][/ROW]
[ROW][C]19[/C][C]289802[/C][C]291279.429677278[/C][C]-1477.42967727796[/C][/ROW]
[ROW][C]20[/C][C]290726[/C][C]290562.663532720[/C][C]163.336467279566[/C][/ROW]
[ROW][C]21[/C][C]292300[/C][C]287460.278898699[/C][C]4839.72110130066[/C][/ROW]
[ROW][C]22[/C][C]278506[/C][C]284513.376756708[/C][C]-6007.37675670765[/C][/ROW]
[ROW][C]23[/C][C]269826[/C][C]270969.324487552[/C][C]-1143.32448755191[/C][/ROW]
[ROW][C]24[/C][C]265861[/C][C]270082.531374434[/C][C]-4221.53137443373[/C][/ROW]
[ROW][C]25[/C][C]269034[/C][C]264316.593700025[/C][C]4717.40629997492[/C][/ROW]
[ROW][C]26[/C][C]264176[/C][C]265969.819974208[/C][C]-1793.81997420765[/C][/ROW]
[ROW][C]27[/C][C]255198[/C][C]258431.030901241[/C][C]-3233.03090124131[/C][/ROW]
[ROW][C]28[/C][C]253353[/C][C]251930.158188206[/C][C]1422.84181179422[/C][/ROW]
[ROW][C]29[/C][C]246057[/C][C]245522.176461673[/C][C]534.823538327469[/C][/ROW]
[ROW][C]30[/C][C]235372[/C][C]241489.931485635[/C][C]-6117.93148563475[/C][/ROW]
[ROW][C]31[/C][C]258556[/C][C]253917.421810689[/C][C]4638.57818931071[/C][/ROW]
[ROW][C]32[/C][C]260993[/C][C]258362.702930707[/C][C]2630.29706929339[/C][/ROW]
[ROW][C]33[/C][C]254663[/C][C]257825.538486029[/C][C]-3162.53848602947[/C][/ROW]
[ROW][C]34[/C][C]250643[/C][C]247321.344632872[/C][C]3321.65536712773[/C][/ROW]
[ROW][C]35[/C][C]243422[/C][C]243796.875704944[/C][C]-374.875704944312[/C][/ROW]
[ROW][C]36[/C][C]247105[/C][C]244290.633361566[/C][C]2814.36663843374[/C][/ROW]
[ROW][C]37[/C][C]248541[/C][C]248004.964158165[/C][C]536.03584183524[/C][/ROW]
[ROW][C]38[/C][C]245039[/C][C]246374.612856055[/C][C]-1335.61285605488[/C][/ROW]
[ROW][C]39[/C][C]237080[/C][C]240111.430401924[/C][C]-3031.43040192388[/C][/ROW]
[ROW][C]40[/C][C]237085[/C][C]233640.920647613[/C][C]3444.07935238698[/C][/ROW]
[ROW][C]41[/C][C]225554[/C][C]229501.369254947[/C][C]-3947.36925494718[/C][/ROW]
[ROW][C]42[/C][C]226839[/C][C]225717.709071048[/C][C]1121.29092895169[/C][/ROW]
[ROW][C]43[/C][C]247934[/C][C]251085.876286496[/C][C]-3151.87628649625[/C][/ROW]
[ROW][C]44[/C][C]248333[/C][C]252985.453660058[/C][C]-4652.45366005771[/C][/ROW]
[ROW][C]45[/C][C]246969[/C][C]250820.452611060[/C][C]-3851.45261105966[/C][/ROW]
[ROW][C]46[/C][C]245098[/C][C]244048.962337668[/C][C]1049.03766233249[/C][/ROW]
[ROW][C]47[/C][C]246263[/C][C]243169.647633025[/C][C]3093.35236697518[/C][/ROW]
[ROW][C]48[/C][C]255765[/C][C]253119.332438206[/C][C]2645.66756179425[/C][/ROW]
[ROW][C]49[/C][C]264319[/C][C]262491.146025915[/C][C]1827.85397408481[/C][/ROW]
[ROW][C]50[/C][C]268347[/C][C]268337.393503656[/C][C]9.6064963435664[/C][/ROW]
[ROW][C]51[/C][C]273046[/C][C]269117.537572526[/C][C]3928.46242747385[/C][/ROW]
[ROW][C]52[/C][C]273963[/C][C]275659.735453228[/C][C]-1696.73545322784[/C][/ROW]
[ROW][C]53[/C][C]267430[/C][C]271508.669426765[/C][C]-4078.66942676547[/C][/ROW]
[ROW][C]54[/C][C]271993[/C][C]267051.541586361[/C][C]4941.45841363944[/C][/ROW]
[ROW][C]55[/C][C]292710[/C][C]294209.694120725[/C][C]-1499.69412072466[/C][/ROW]
[ROW][C]56[/C][C]295881[/C][C]295566.848273264[/C][C]314.151726736299[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58692&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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
1277128280582.376909595-3454.37690959532
2277103276456.773006343646.226993656633
3275037273871.7914105841165.20858941606
4270150274191.057176221-4041.057176221
5267140265018.7509969782121.24900302167
6264993264987.027752625.97224737992656
7287259285768.5781048121490.42189518815
8291186289641.3316032521544.66839674845
9292300290125.7300042122174.26999578847
10288186286549.3162727531636.68372724742
11281477283052.152174479-1575.15217447895
12282656283894.502825794-1238.50282579428
13280190283816.919206300-3626.91920629965
14280408277934.4006597382473.59934026233
15276836275665.2097137251170.79028627528
16275216274345.128534732870.871465267632
17274352268982.0338596375369.96614036351
18271311271261.79010433649.2098956636920
19289802291279.429677278-1477.42967727796
20290726290562.663532720163.336467279566
21292300287460.2788986994839.72110130066
22278506284513.376756708-6007.37675670765
23269826270969.324487552-1143.32448755191
24265861270082.531374434-4221.53137443373
25269034264316.5937000254717.40629997492
26264176265969.819974208-1793.81997420765
27255198258431.030901241-3233.03090124131
28253353251930.1581882061422.84181179422
29246057245522.176461673534.823538327469
30235372241489.931485635-6117.93148563475
31258556253917.4218106894638.57818931071
32260993258362.7029307072630.29706929339
33254663257825.538486029-3162.53848602947
34250643247321.3446328723321.65536712773
35243422243796.875704944-374.875704944312
36247105244290.6333615662814.36663843374
37248541248004.964158165536.03584183524
38245039246374.612856055-1335.61285605488
39237080240111.430401924-3031.43040192388
40237085233640.9206476133444.07935238698
41225554229501.369254947-3947.36925494718
42226839225717.7090710481121.29092895169
43247934251085.876286496-3151.87628649625
44248333252985.453660058-4652.45366005771
45246969250820.452611060-3851.45261105966
46245098244048.9623376681049.03766233249
47246263243169.6476330253093.35236697518
48255765253119.3324382062645.66756179425
49264319262491.1460259151827.85397408481
50268347268337.3935036569.6064963435664
51273046269117.5375725263928.46242747385
52273963275659.735453228-1696.73545322784
53267430271508.669426765-4078.66942676547
54271993267051.5415863614941.45841363944
55292710294209.694120725-1499.69412072466
56295881295566.848273264314.151726736299







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.1353434327942270.2706868655884530.864656567205773
200.1109759224115380.2219518448230750.889024077588462
210.08251550236924010.1650310047384800.91748449763076
220.3866270571806750.773254114361350.613372942819325
230.2632818629751120.5265637259502230.736718137024888
240.2353628276710220.4707256553420440.764637172328978
250.375795051566720.751590103133440.62420494843328
260.2949754285423610.5899508570847220.705024571457639
270.2453513825697730.4907027651395470.754648617430226
280.2451863723325410.4903727446650820.754813627667459
290.2263058563520480.4526117127040970.773694143647952
300.4619594177573680.9239188355147360.538040582242632
310.6704964323934790.6590071352130420.329503567606521
320.7734094892226590.4531810215546820.226590510777341
330.7161659927854550.5676680144290910.283834007214545
340.8087947499832910.3824105000334180.191205250016709
350.6945224034019370.6109551931961260.305477596598063
360.6604566134466260.6790867731067470.339543386553374
370.6109240573515350.7781518852969290.389075942648465

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.135343432794227 & 0.270686865588453 & 0.864656567205773 \tabularnewline
20 & 0.110975922411538 & 0.221951844823075 & 0.889024077588462 \tabularnewline
21 & 0.0825155023692401 & 0.165031004738480 & 0.91748449763076 \tabularnewline
22 & 0.386627057180675 & 0.77325411436135 & 0.613372942819325 \tabularnewline
23 & 0.263281862975112 & 0.526563725950223 & 0.736718137024888 \tabularnewline
24 & 0.235362827671022 & 0.470725655342044 & 0.764637172328978 \tabularnewline
25 & 0.37579505156672 & 0.75159010313344 & 0.62420494843328 \tabularnewline
26 & 0.294975428542361 & 0.589950857084722 & 0.705024571457639 \tabularnewline
27 & 0.245351382569773 & 0.490702765139547 & 0.754648617430226 \tabularnewline
28 & 0.245186372332541 & 0.490372744665082 & 0.754813627667459 \tabularnewline
29 & 0.226305856352048 & 0.452611712704097 & 0.773694143647952 \tabularnewline
30 & 0.461959417757368 & 0.923918835514736 & 0.538040582242632 \tabularnewline
31 & 0.670496432393479 & 0.659007135213042 & 0.329503567606521 \tabularnewline
32 & 0.773409489222659 & 0.453181021554682 & 0.226590510777341 \tabularnewline
33 & 0.716165992785455 & 0.567668014429091 & 0.283834007214545 \tabularnewline
34 & 0.808794749983291 & 0.382410500033418 & 0.191205250016709 \tabularnewline
35 & 0.694522403401937 & 0.610955193196126 & 0.305477596598063 \tabularnewline
36 & 0.660456613446626 & 0.679086773106747 & 0.339543386553374 \tabularnewline
37 & 0.610924057351535 & 0.778151885296929 & 0.389075942648465 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58692&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]19[/C][C]0.135343432794227[/C][C]0.270686865588453[/C][C]0.864656567205773[/C][/ROW]
[ROW][C]20[/C][C]0.110975922411538[/C][C]0.221951844823075[/C][C]0.889024077588462[/C][/ROW]
[ROW][C]21[/C][C]0.0825155023692401[/C][C]0.165031004738480[/C][C]0.91748449763076[/C][/ROW]
[ROW][C]22[/C][C]0.386627057180675[/C][C]0.77325411436135[/C][C]0.613372942819325[/C][/ROW]
[ROW][C]23[/C][C]0.263281862975112[/C][C]0.526563725950223[/C][C]0.736718137024888[/C][/ROW]
[ROW][C]24[/C][C]0.235362827671022[/C][C]0.470725655342044[/C][C]0.764637172328978[/C][/ROW]
[ROW][C]25[/C][C]0.37579505156672[/C][C]0.75159010313344[/C][C]0.62420494843328[/C][/ROW]
[ROW][C]26[/C][C]0.294975428542361[/C][C]0.589950857084722[/C][C]0.705024571457639[/C][/ROW]
[ROW][C]27[/C][C]0.245351382569773[/C][C]0.490702765139547[/C][C]0.754648617430226[/C][/ROW]
[ROW][C]28[/C][C]0.245186372332541[/C][C]0.490372744665082[/C][C]0.754813627667459[/C][/ROW]
[ROW][C]29[/C][C]0.226305856352048[/C][C]0.452611712704097[/C][C]0.773694143647952[/C][/ROW]
[ROW][C]30[/C][C]0.461959417757368[/C][C]0.923918835514736[/C][C]0.538040582242632[/C][/ROW]
[ROW][C]31[/C][C]0.670496432393479[/C][C]0.659007135213042[/C][C]0.329503567606521[/C][/ROW]
[ROW][C]32[/C][C]0.773409489222659[/C][C]0.453181021554682[/C][C]0.226590510777341[/C][/ROW]
[ROW][C]33[/C][C]0.716165992785455[/C][C]0.567668014429091[/C][C]0.283834007214545[/C][/ROW]
[ROW][C]34[/C][C]0.808794749983291[/C][C]0.382410500033418[/C][C]0.191205250016709[/C][/ROW]
[ROW][C]35[/C][C]0.694522403401937[/C][C]0.610955193196126[/C][C]0.305477596598063[/C][/ROW]
[ROW][C]36[/C][C]0.660456613446626[/C][C]0.679086773106747[/C][C]0.339543386553374[/C][/ROW]
[ROW][C]37[/C][C]0.610924057351535[/C][C]0.778151885296929[/C][C]0.389075942648465[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58692&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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
190.1353434327942270.2706868655884530.864656567205773
200.1109759224115380.2219518448230750.889024077588462
210.08251550236924010.1650310047384800.91748449763076
220.3866270571806750.773254114361350.613372942819325
230.2632818629751120.5265637259502230.736718137024888
240.2353628276710220.4707256553420440.764637172328978
250.375795051566720.751590103133440.62420494843328
260.2949754285423610.5899508570847220.705024571457639
270.2453513825697730.4907027651395470.754648617430226
280.2451863723325410.4903727446650820.754813627667459
290.2263058563520480.4526117127040970.773694143647952
300.4619594177573680.9239188355147360.538040582242632
310.6704964323934790.6590071352130420.329503567606521
320.7734094892226590.4531810215546820.226590510777341
330.7161659927854550.5676680144290910.283834007214545
340.8087947499832910.3824105000334180.191205250016709
350.6945224034019370.6109551931961260.305477596598063
360.6604566134466260.6790867731067470.339543386553374
370.6109240573515350.7781518852969290.389075942648465







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=58692&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=58692&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58692&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 = Linear Trend ;
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')
}