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, 18 Nov 2009 07:33:37 -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/18/t1258554891zkc9rndmgdj1vzc.htm/, Retrieved Sat, 04 May 2024 05:53:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57456, Retrieved Sat, 04 May 2024 05:53:12 +0000
QR Codes:

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

Post a new message
Dataseries X:
8.9	95.05
8.8	96.84
8.3	96.92
7.5	97.44
7.2	97.78
7.4	97.69
8.8	96.67
9.3	98.29
9.3	98.2
8.7	98.71
8.2	98.54
8.3	98.2
8.5	96.92
8.6	99.06
8.5	99.65
8.2	99.82
8.1	99.99
7.9	100.33
8.6	99.31
8.7	101.1
8.7	101.1
8.5	100.93
8.4	100.85
8.5	100.93
8.7	99.6
8.7	101.88
8.6	101.81
8.5	102.38
8.3	102.74
8	102.82
8.2	101.72
8.1	103.47
8.1	102.98
8	102.68
7.9	102.9
7.9	103.03
8	101.29
8	103.69
7.9	103.68
8	104.2
7.7	104.08
7.2	104.16
7.5	103.05
7.3	104.66
7	104.46
7	104.95
7	105.85
7.2	106.23
7.3	104.86
7.1	107.44
6.8	108.23
6.4	108.45
6.1	109.39
6.5	110.15
7.7	109.13
7.9	110.28
7.5	110.17
6.9	109.99
6.6	109.26
6.9	109.11




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

\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
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&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]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Werkloosheidsgraad[t] = + 21.9173451552953 -0.136785943529424Consumptieprijs[t] -0.0211251926024103M1[t] + 0.245001749016449M2[t] + 0.062754669430571M3[t] -0.182530953157660M4[t] -0.376297304244715M5[t] -0.42428939345883M6[t] + 0.191538222061157M7[t] + 0.508207156611765M8[t] + 0.343859258663527M9[t] + 0.0534342747105871M10[t] -0.142735718870589M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheidsgraad[t] =  +  21.9173451552953 -0.136785943529424Consumptieprijs[t] -0.0211251926024103M1[t] +  0.245001749016449M2[t] +  0.062754669430571M3[t] -0.182530953157660M4[t] -0.376297304244715M5[t] -0.42428939345883M6[t] +  0.191538222061157M7[t] +  0.508207156611765M8[t] +  0.343859258663527M9[t] +  0.0534342747105871M10[t] -0.142735718870589M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheidsgraad[t] =  +  21.9173451552953 -0.136785943529424Consumptieprijs[t] -0.0211251926024103M1[t] +  0.245001749016449M2[t] +  0.062754669430571M3[t] -0.182530953157660M4[t] -0.376297304244715M5[t] -0.42428939345883M6[t] +  0.191538222061157M7[t] +  0.508207156611765M8[t] +  0.343859258663527M9[t] +  0.0534342747105871M10[t] -0.142735718870589M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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
Werkloosheidsgraad[t] = + 21.9173451552953 -0.136785943529424Consumptieprijs[t] -0.0211251926024103M1[t] + 0.245001749016449M2[t] + 0.062754669430571M3[t] -0.182530953157660M4[t] -0.376297304244715M5[t] -0.42428939345883M6[t] + 0.191538222061157M7[t] + 0.508207156611765M8[t] + 0.343859258663527M9[t] + 0.0534342747105871M10[t] -0.142735718870589M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)21.91734515529531.62684313.472300
Consumptieprijs-0.1367859435294240.015588-8.775300
M1-0.02112519260241030.30247-0.06980.9446160.472308
M20.2450017490164490.2973260.8240.4140920.207046
M30.0627546694305710.296970.21130.8335540.416777
M4-0.1825309531576600.296563-0.61550.5412020.270601
M5-0.3762973042447150.296321-1.26990.2103730.105186
M6-0.424289393458830.296209-1.43240.1586470.079323
M70.1915382220611570.2970690.64480.5222180.261109
M80.5082071566117650.2961191.71620.0927060.046353
M90.3438592586635270.2961241.16120.2514240.125712
M100.05343427471058710.2961190.18040.8575760.428788
M11-0.1427357188705890.296118-0.4820.6320270.316013

\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) & 21.9173451552953 & 1.626843 & 13.4723 & 0 & 0 \tabularnewline
Consumptieprijs & -0.136785943529424 & 0.015588 & -8.7753 & 0 & 0 \tabularnewline
M1 & -0.0211251926024103 & 0.30247 & -0.0698 & 0.944616 & 0.472308 \tabularnewline
M2 & 0.245001749016449 & 0.297326 & 0.824 & 0.414092 & 0.207046 \tabularnewline
M3 & 0.062754669430571 & 0.29697 & 0.2113 & 0.833554 & 0.416777 \tabularnewline
M4 & -0.182530953157660 & 0.296563 & -0.6155 & 0.541202 & 0.270601 \tabularnewline
M5 & -0.376297304244715 & 0.296321 & -1.2699 & 0.210373 & 0.105186 \tabularnewline
M6 & -0.42428939345883 & 0.296209 & -1.4324 & 0.158647 & 0.079323 \tabularnewline
M7 & 0.191538222061157 & 0.297069 & 0.6448 & 0.522218 & 0.261109 \tabularnewline
M8 & 0.508207156611765 & 0.296119 & 1.7162 & 0.092706 & 0.046353 \tabularnewline
M9 & 0.343859258663527 & 0.296124 & 1.1612 & 0.251424 & 0.125712 \tabularnewline
M10 & 0.0534342747105871 & 0.296119 & 0.1804 & 0.857576 & 0.428788 \tabularnewline
M11 & -0.142735718870589 & 0.296118 & -0.482 & 0.632027 & 0.316013 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&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]21.9173451552953[/C][C]1.626843[/C][C]13.4723[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Consumptieprijs[/C][C]-0.136785943529424[/C][C]0.015588[/C][C]-8.7753[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.0211251926024103[/C][C]0.30247[/C][C]-0.0698[/C][C]0.944616[/C][C]0.472308[/C][/ROW]
[ROW][C]M2[/C][C]0.245001749016449[/C][C]0.297326[/C][C]0.824[/C][C]0.414092[/C][C]0.207046[/C][/ROW]
[ROW][C]M3[/C][C]0.062754669430571[/C][C]0.29697[/C][C]0.2113[/C][C]0.833554[/C][C]0.416777[/C][/ROW]
[ROW][C]M4[/C][C]-0.182530953157660[/C][C]0.296563[/C][C]-0.6155[/C][C]0.541202[/C][C]0.270601[/C][/ROW]
[ROW][C]M5[/C][C]-0.376297304244715[/C][C]0.296321[/C][C]-1.2699[/C][C]0.210373[/C][C]0.105186[/C][/ROW]
[ROW][C]M6[/C][C]-0.42428939345883[/C][C]0.296209[/C][C]-1.4324[/C][C]0.158647[/C][C]0.079323[/C][/ROW]
[ROW][C]M7[/C][C]0.191538222061157[/C][C]0.297069[/C][C]0.6448[/C][C]0.522218[/C][C]0.261109[/C][/ROW]
[ROW][C]M8[/C][C]0.508207156611765[/C][C]0.296119[/C][C]1.7162[/C][C]0.092706[/C][C]0.046353[/C][/ROW]
[ROW][C]M9[/C][C]0.343859258663527[/C][C]0.296124[/C][C]1.1612[/C][C]0.251424[/C][C]0.125712[/C][/ROW]
[ROW][C]M10[/C][C]0.0534342747105871[/C][C]0.296119[/C][C]0.1804[/C][C]0.857576[/C][C]0.428788[/C][/ROW]
[ROW][C]M11[/C][C]-0.142735718870589[/C][C]0.296118[/C][C]-0.482[/C][C]0.632027[/C][C]0.316013[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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)21.91734515529531.62684313.472300
Consumptieprijs-0.1367859435294240.015588-8.775300
M1-0.02112519260241030.30247-0.06980.9446160.472308
M20.2450017490164490.2973260.8240.4140920.207046
M30.0627546694305710.296970.21130.8335540.416777
M4-0.1825309531576600.296563-0.61550.5412020.270601
M5-0.3762973042447150.296321-1.26990.2103730.105186
M6-0.424289393458830.296209-1.43240.1586470.079323
M70.1915382220611570.2970690.64480.5222180.261109
M80.5082071566117650.2961191.71620.0927060.046353
M90.3438592586635270.2961241.16120.2514240.125712
M100.05343427471058710.2961190.18040.8575760.428788
M11-0.1427357188705890.296118-0.4820.6320270.316013







Multiple Linear Regression - Regression Statistics
Multiple R0.826999799282124
R-squared0.683928668012673
Adjusted R-squared0.603229604526547
F-TEST (value)8.4750508676009
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value3.13289227893421e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.468203505624164
Sum Squared Residuals10.3030825659016

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.826999799282124 \tabularnewline
R-squared & 0.683928668012673 \tabularnewline
Adjusted R-squared & 0.603229604526547 \tabularnewline
F-TEST (value) & 8.4750508676009 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 3.13289227893421e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.468203505624164 \tabularnewline
Sum Squared Residuals & 10.3030825659016 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.826999799282124[/C][/ROW]
[ROW][C]R-squared[/C][C]0.683928668012673[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.603229604526547[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]8.4750508676009[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]3.13289227893421e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.468203505624164[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]10.3030825659016[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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.826999799282124
R-squared0.683928668012673
Adjusted R-squared0.603229604526547
F-TEST (value)8.4750508676009
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value3.13289227893421e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.468203505624164
Sum Squared Residuals10.3030825659016







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.98.894716030221270.00528396977873334
28.88.91599613292241-0.115996132922411
38.38.72280617785418-0.422806177854178
47.58.40639186463065-0.906391864630648
57.28.16611829274359-0.966118292743588
67.48.13043693844712-0.730436938447122
78.88.88578621636712-0.0857862163671204
89.38.980861922400060.319138077599939
99.38.828824759369470.471175240630528
108.78.468638944216530.231361055783471
118.28.29572256103535-0.0957225610353523
128.38.48496550070595-0.184965500705945
138.58.6389263158212-0.138926315821198
148.68.61233133828709-0.0123313382870908
158.58.349380552018850.150619447981148
168.28.080841319030620.119158680969379
178.17.863821357543560.236178642456436
187.97.769322047529440.130677952470556
198.68.524671325449440.0753286745505567
208.78.596493421082380.103506578917616
218.78.432145523134150.267854476865854
228.58.16497414958120.335025850418794
238.47.979747031482390.420252968517615
248.58.111539874870620.388460125129381
258.78.272339987162340.427660012837656
268.78.226594977534120.473405022465883
278.68.05392291399530.546077086004702
288.57.73066930359530.769330696404705
298.37.487660012837650.812339987162353
3087.428725048141180.57127495185882
318.28.195017201543530.00498279845646693
328.18.27231073491765-0.172310734917649
338.18.17498794929883-0.074987949298828
3487.925598748404710.0744012515952858
357.97.699335847247060.200664152752935
367.97.824289393458830.0757106065411707
3788.04117174259762-0.0411717425976161
3887.979012419745860.0209875802541405
397.97.798133199595270.101866800404726
4087.481718886371740.518281113628256
417.77.304366848508220.39563315149178
427.27.24543188381175-0.0454318838117513
437.58.0130918966494-0.513091896649399
447.38.10953546211763-0.809535462117634
4577.97254475287528-0.972544752875282
4677.61509465659292-0.615094656592923
4777.29581731383527-0.295817313835267
487.27.38657437416467-0.186574374164673
497.37.55284592419757-0.252845924197575
507.17.46606513151052-0.366065131510521
516.87.1757571565364-0.375757156536398
526.46.9003786263717-0.500378626371692
536.16.57803348836698-0.478033488366981
546.56.42608408207050.0739159179294972
557.77.18143335999050.518566640009497
567.97.340798459482270.559201540517727
577.57.191497015322270.308502984677728
586.96.92569350120463-0.0256935012046285
596.66.82937724639993-0.229377246399931
606.96.99263085679993-0.0926308567999336

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 8.89471603022127 & 0.00528396977873334 \tabularnewline
2 & 8.8 & 8.91599613292241 & -0.115996132922411 \tabularnewline
3 & 8.3 & 8.72280617785418 & -0.422806177854178 \tabularnewline
4 & 7.5 & 8.40639186463065 & -0.906391864630648 \tabularnewline
5 & 7.2 & 8.16611829274359 & -0.966118292743588 \tabularnewline
6 & 7.4 & 8.13043693844712 & -0.730436938447122 \tabularnewline
7 & 8.8 & 8.88578621636712 & -0.0857862163671204 \tabularnewline
8 & 9.3 & 8.98086192240006 & 0.319138077599939 \tabularnewline
9 & 9.3 & 8.82882475936947 & 0.471175240630528 \tabularnewline
10 & 8.7 & 8.46863894421653 & 0.231361055783471 \tabularnewline
11 & 8.2 & 8.29572256103535 & -0.0957225610353523 \tabularnewline
12 & 8.3 & 8.48496550070595 & -0.184965500705945 \tabularnewline
13 & 8.5 & 8.6389263158212 & -0.138926315821198 \tabularnewline
14 & 8.6 & 8.61233133828709 & -0.0123313382870908 \tabularnewline
15 & 8.5 & 8.34938055201885 & 0.150619447981148 \tabularnewline
16 & 8.2 & 8.08084131903062 & 0.119158680969379 \tabularnewline
17 & 8.1 & 7.86382135754356 & 0.236178642456436 \tabularnewline
18 & 7.9 & 7.76932204752944 & 0.130677952470556 \tabularnewline
19 & 8.6 & 8.52467132544944 & 0.0753286745505567 \tabularnewline
20 & 8.7 & 8.59649342108238 & 0.103506578917616 \tabularnewline
21 & 8.7 & 8.43214552313415 & 0.267854476865854 \tabularnewline
22 & 8.5 & 8.1649741495812 & 0.335025850418794 \tabularnewline
23 & 8.4 & 7.97974703148239 & 0.420252968517615 \tabularnewline
24 & 8.5 & 8.11153987487062 & 0.388460125129381 \tabularnewline
25 & 8.7 & 8.27233998716234 & 0.427660012837656 \tabularnewline
26 & 8.7 & 8.22659497753412 & 0.473405022465883 \tabularnewline
27 & 8.6 & 8.0539229139953 & 0.546077086004702 \tabularnewline
28 & 8.5 & 7.7306693035953 & 0.769330696404705 \tabularnewline
29 & 8.3 & 7.48766001283765 & 0.812339987162353 \tabularnewline
30 & 8 & 7.42872504814118 & 0.57127495185882 \tabularnewline
31 & 8.2 & 8.19501720154353 & 0.00498279845646693 \tabularnewline
32 & 8.1 & 8.27231073491765 & -0.172310734917649 \tabularnewline
33 & 8.1 & 8.17498794929883 & -0.074987949298828 \tabularnewline
34 & 8 & 7.92559874840471 & 0.0744012515952858 \tabularnewline
35 & 7.9 & 7.69933584724706 & 0.200664152752935 \tabularnewline
36 & 7.9 & 7.82428939345883 & 0.0757106065411707 \tabularnewline
37 & 8 & 8.04117174259762 & -0.0411717425976161 \tabularnewline
38 & 8 & 7.97901241974586 & 0.0209875802541405 \tabularnewline
39 & 7.9 & 7.79813319959527 & 0.101866800404726 \tabularnewline
40 & 8 & 7.48171888637174 & 0.518281113628256 \tabularnewline
41 & 7.7 & 7.30436684850822 & 0.39563315149178 \tabularnewline
42 & 7.2 & 7.24543188381175 & -0.0454318838117513 \tabularnewline
43 & 7.5 & 8.0130918966494 & -0.513091896649399 \tabularnewline
44 & 7.3 & 8.10953546211763 & -0.809535462117634 \tabularnewline
45 & 7 & 7.97254475287528 & -0.972544752875282 \tabularnewline
46 & 7 & 7.61509465659292 & -0.615094656592923 \tabularnewline
47 & 7 & 7.29581731383527 & -0.295817313835267 \tabularnewline
48 & 7.2 & 7.38657437416467 & -0.186574374164673 \tabularnewline
49 & 7.3 & 7.55284592419757 & -0.252845924197575 \tabularnewline
50 & 7.1 & 7.46606513151052 & -0.366065131510521 \tabularnewline
51 & 6.8 & 7.1757571565364 & -0.375757156536398 \tabularnewline
52 & 6.4 & 6.9003786263717 & -0.500378626371692 \tabularnewline
53 & 6.1 & 6.57803348836698 & -0.478033488366981 \tabularnewline
54 & 6.5 & 6.4260840820705 & 0.0739159179294972 \tabularnewline
55 & 7.7 & 7.1814333599905 & 0.518566640009497 \tabularnewline
56 & 7.9 & 7.34079845948227 & 0.559201540517727 \tabularnewline
57 & 7.5 & 7.19149701532227 & 0.308502984677728 \tabularnewline
58 & 6.9 & 6.92569350120463 & -0.0256935012046285 \tabularnewline
59 & 6.6 & 6.82937724639993 & -0.229377246399931 \tabularnewline
60 & 6.9 & 6.99263085679993 & -0.0926308567999336 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&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]8.9[/C][C]8.89471603022127[/C][C]0.00528396977873334[/C][/ROW]
[ROW][C]2[/C][C]8.8[/C][C]8.91599613292241[/C][C]-0.115996132922411[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.72280617785418[/C][C]-0.422806177854178[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]8.40639186463065[/C][C]-0.906391864630648[/C][/ROW]
[ROW][C]5[/C][C]7.2[/C][C]8.16611829274359[/C][C]-0.966118292743588[/C][/ROW]
[ROW][C]6[/C][C]7.4[/C][C]8.13043693844712[/C][C]-0.730436938447122[/C][/ROW]
[ROW][C]7[/C][C]8.8[/C][C]8.88578621636712[/C][C]-0.0857862163671204[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]8.98086192240006[/C][C]0.319138077599939[/C][/ROW]
[ROW][C]9[/C][C]9.3[/C][C]8.82882475936947[/C][C]0.471175240630528[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.46863894421653[/C][C]0.231361055783471[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]8.29572256103535[/C][C]-0.0957225610353523[/C][/ROW]
[ROW][C]12[/C][C]8.3[/C][C]8.48496550070595[/C][C]-0.184965500705945[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.6389263158212[/C][C]-0.138926315821198[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]8.61233133828709[/C][C]-0.0123313382870908[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.34938055201885[/C][C]0.150619447981148[/C][/ROW]
[ROW][C]16[/C][C]8.2[/C][C]8.08084131903062[/C][C]0.119158680969379[/C][/ROW]
[ROW][C]17[/C][C]8.1[/C][C]7.86382135754356[/C][C]0.236178642456436[/C][/ROW]
[ROW][C]18[/C][C]7.9[/C][C]7.76932204752944[/C][C]0.130677952470556[/C][/ROW]
[ROW][C]19[/C][C]8.6[/C][C]8.52467132544944[/C][C]0.0753286745505567[/C][/ROW]
[ROW][C]20[/C][C]8.7[/C][C]8.59649342108238[/C][C]0.103506578917616[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]8.43214552313415[/C][C]0.267854476865854[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]8.1649741495812[/C][C]0.335025850418794[/C][/ROW]
[ROW][C]23[/C][C]8.4[/C][C]7.97974703148239[/C][C]0.420252968517615[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.11153987487062[/C][C]0.388460125129381[/C][/ROW]
[ROW][C]25[/C][C]8.7[/C][C]8.27233998716234[/C][C]0.427660012837656[/C][/ROW]
[ROW][C]26[/C][C]8.7[/C][C]8.22659497753412[/C][C]0.473405022465883[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]8.0539229139953[/C][C]0.546077086004702[/C][/ROW]
[ROW][C]28[/C][C]8.5[/C][C]7.7306693035953[/C][C]0.769330696404705[/C][/ROW]
[ROW][C]29[/C][C]8.3[/C][C]7.48766001283765[/C][C]0.812339987162353[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.42872504814118[/C][C]0.57127495185882[/C][/ROW]
[ROW][C]31[/C][C]8.2[/C][C]8.19501720154353[/C][C]0.00498279845646693[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.27231073491765[/C][C]-0.172310734917649[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.17498794929883[/C][C]-0.074987949298828[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]7.92559874840471[/C][C]0.0744012515952858[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]7.69933584724706[/C][C]0.200664152752935[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]7.82428939345883[/C][C]0.0757106065411707[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]8.04117174259762[/C][C]-0.0411717425976161[/C][/ROW]
[ROW][C]38[/C][C]8[/C][C]7.97901241974586[/C][C]0.0209875802541405[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]7.79813319959527[/C][C]0.101866800404726[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]7.48171888637174[/C][C]0.518281113628256[/C][/ROW]
[ROW][C]41[/C][C]7.7[/C][C]7.30436684850822[/C][C]0.39563315149178[/C][/ROW]
[ROW][C]42[/C][C]7.2[/C][C]7.24543188381175[/C][C]-0.0454318838117513[/C][/ROW]
[ROW][C]43[/C][C]7.5[/C][C]8.0130918966494[/C][C]-0.513091896649399[/C][/ROW]
[ROW][C]44[/C][C]7.3[/C][C]8.10953546211763[/C][C]-0.809535462117634[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]7.97254475287528[/C][C]-0.972544752875282[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]7.61509465659292[/C][C]-0.615094656592923[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]7.29581731383527[/C][C]-0.295817313835267[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]7.38657437416467[/C][C]-0.186574374164673[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]7.55284592419757[/C][C]-0.252845924197575[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]7.46606513151052[/C][C]-0.366065131510521[/C][/ROW]
[ROW][C]51[/C][C]6.8[/C][C]7.1757571565364[/C][C]-0.375757156536398[/C][/ROW]
[ROW][C]52[/C][C]6.4[/C][C]6.9003786263717[/C][C]-0.500378626371692[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]6.57803348836698[/C][C]-0.478033488366981[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]6.4260840820705[/C][C]0.0739159179294972[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]7.1814333599905[/C][C]0.518566640009497[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]7.34079845948227[/C][C]0.559201540517727[/C][/ROW]
[ROW][C]57[/C][C]7.5[/C][C]7.19149701532227[/C][C]0.308502984677728[/C][/ROW]
[ROW][C]58[/C][C]6.9[/C][C]6.92569350120463[/C][C]-0.0256935012046285[/C][/ROW]
[ROW][C]59[/C][C]6.6[/C][C]6.82937724639993[/C][C]-0.229377246399931[/C][/ROW]
[ROW][C]60[/C][C]6.9[/C][C]6.99263085679993[/C][C]-0.0926308567999336[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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
18.98.894716030221270.00528396977873334
28.88.91599613292241-0.115996132922411
38.38.72280617785418-0.422806177854178
47.58.40639186463065-0.906391864630648
57.28.16611829274359-0.966118292743588
67.48.13043693844712-0.730436938447122
78.88.88578621636712-0.0857862163671204
89.38.980861922400060.319138077599939
99.38.828824759369470.471175240630528
108.78.468638944216530.231361055783471
118.28.29572256103535-0.0957225610353523
128.38.48496550070595-0.184965500705945
138.58.6389263158212-0.138926315821198
148.68.61233133828709-0.0123313382870908
158.58.349380552018850.150619447981148
168.28.080841319030620.119158680969379
178.17.863821357543560.236178642456436
187.97.769322047529440.130677952470556
198.68.524671325449440.0753286745505567
208.78.596493421082380.103506578917616
218.78.432145523134150.267854476865854
228.58.16497414958120.335025850418794
238.47.979747031482390.420252968517615
248.58.111539874870620.388460125129381
258.78.272339987162340.427660012837656
268.78.226594977534120.473405022465883
278.68.05392291399530.546077086004702
288.57.73066930359530.769330696404705
298.37.487660012837650.812339987162353
3087.428725048141180.57127495185882
318.28.195017201543530.00498279845646693
328.18.27231073491765-0.172310734917649
338.18.17498794929883-0.074987949298828
3487.925598748404710.0744012515952858
357.97.699335847247060.200664152752935
367.97.824289393458830.0757106065411707
3788.04117174259762-0.0411717425976161
3887.979012419745860.0209875802541405
397.97.798133199595270.101866800404726
4087.481718886371740.518281113628256
417.77.304366848508220.39563315149178
427.27.24543188381175-0.0454318838117513
437.58.0130918966494-0.513091896649399
447.38.10953546211763-0.809535462117634
4577.97254475287528-0.972544752875282
4677.61509465659292-0.615094656592923
4777.29581731383527-0.295817313835267
487.27.38657437416467-0.186574374164673
497.37.55284592419757-0.252845924197575
507.17.46606513151052-0.366065131510521
516.87.1757571565364-0.375757156536398
526.46.9003786263717-0.500378626371692
536.16.57803348836698-0.478033488366981
546.56.42608408207050.0739159179294972
557.77.18143335999050.518566640009497
567.97.340798459482270.559201540517727
577.57.191497015322270.308502984677728
586.96.92569350120463-0.0256935012046285
596.66.82937724639993-0.229377246399931
606.96.99263085679993-0.0926308567999336







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.3747615625818370.7495231251636740.625238437418163
170.4397488410985950.879497682197190.560251158901405
180.3064496908772100.6128993817544200.69355030912279
190.2639504364741220.5279008729482430.736049563525878
200.3234052242396070.6468104484792150.676594775760393
210.3266184263523910.6532368527047810.67338157364761
220.2418022616693890.4836045233387780.758197738330611
230.1731267141522640.3462534283045270.826873285847736
240.1176612641427150.2353225282854290.882338735857285
250.07861168527099740.1572233705419950.921388314729003
260.05308570876817540.1061714175363510.946914291231825
270.03817275794466390.07634551588932780.961827242055336
280.05065736345388570.1013147269077710.949342636546114
290.06625702345736640.1325140469147330.933742976542634
300.05146561215864050.1029312243172810.94853438784136
310.05888785580370690.1177757116074140.941112144196293
320.1063729362945370.2127458725890740.893627063705463
330.1405613548718770.2811227097437540.859438645128123
340.1335837712160650.2671675424321310.866416228783935
350.1191195801135570.2382391602271150.880880419886443
360.09567226069792880.1913445213958580.904327739302071
370.08127172007613050.1625434401522610.91872827992387
380.07199263252973020.1439852650594600.92800736747027
390.06728205129829420.1345641025965880.932717948701706
400.1594290674867860.3188581349735730.840570932513214
410.5988842228409970.8022315543180060.401115777159003
420.7675608976972650.4648782046054690.232439102302735
430.6712701857010480.6574596285979030.328729814298952
440.7142593363030330.5714813273939340.285740663696967

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.374761562581837 & 0.749523125163674 & 0.625238437418163 \tabularnewline
17 & 0.439748841098595 & 0.87949768219719 & 0.560251158901405 \tabularnewline
18 & 0.306449690877210 & 0.612899381754420 & 0.69355030912279 \tabularnewline
19 & 0.263950436474122 & 0.527900872948243 & 0.736049563525878 \tabularnewline
20 & 0.323405224239607 & 0.646810448479215 & 0.676594775760393 \tabularnewline
21 & 0.326618426352391 & 0.653236852704781 & 0.67338157364761 \tabularnewline
22 & 0.241802261669389 & 0.483604523338778 & 0.758197738330611 \tabularnewline
23 & 0.173126714152264 & 0.346253428304527 & 0.826873285847736 \tabularnewline
24 & 0.117661264142715 & 0.235322528285429 & 0.882338735857285 \tabularnewline
25 & 0.0786116852709974 & 0.157223370541995 & 0.921388314729003 \tabularnewline
26 & 0.0530857087681754 & 0.106171417536351 & 0.946914291231825 \tabularnewline
27 & 0.0381727579446639 & 0.0763455158893278 & 0.961827242055336 \tabularnewline
28 & 0.0506573634538857 & 0.101314726907771 & 0.949342636546114 \tabularnewline
29 & 0.0662570234573664 & 0.132514046914733 & 0.933742976542634 \tabularnewline
30 & 0.0514656121586405 & 0.102931224317281 & 0.94853438784136 \tabularnewline
31 & 0.0588878558037069 & 0.117775711607414 & 0.941112144196293 \tabularnewline
32 & 0.106372936294537 & 0.212745872589074 & 0.893627063705463 \tabularnewline
33 & 0.140561354871877 & 0.281122709743754 & 0.859438645128123 \tabularnewline
34 & 0.133583771216065 & 0.267167542432131 & 0.866416228783935 \tabularnewline
35 & 0.119119580113557 & 0.238239160227115 & 0.880880419886443 \tabularnewline
36 & 0.0956722606979288 & 0.191344521395858 & 0.904327739302071 \tabularnewline
37 & 0.0812717200761305 & 0.162543440152261 & 0.91872827992387 \tabularnewline
38 & 0.0719926325297302 & 0.143985265059460 & 0.92800736747027 \tabularnewline
39 & 0.0672820512982942 & 0.134564102596588 & 0.932717948701706 \tabularnewline
40 & 0.159429067486786 & 0.318858134973573 & 0.840570932513214 \tabularnewline
41 & 0.598884222840997 & 0.802231554318006 & 0.401115777159003 \tabularnewline
42 & 0.767560897697265 & 0.464878204605469 & 0.232439102302735 \tabularnewline
43 & 0.671270185701048 & 0.657459628597903 & 0.328729814298952 \tabularnewline
44 & 0.714259336303033 & 0.571481327393934 & 0.285740663696967 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57456&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.374761562581837[/C][C]0.749523125163674[/C][C]0.625238437418163[/C][/ROW]
[ROW][C]17[/C][C]0.439748841098595[/C][C]0.87949768219719[/C][C]0.560251158901405[/C][/ROW]
[ROW][C]18[/C][C]0.306449690877210[/C][C]0.612899381754420[/C][C]0.69355030912279[/C][/ROW]
[ROW][C]19[/C][C]0.263950436474122[/C][C]0.527900872948243[/C][C]0.736049563525878[/C][/ROW]
[ROW][C]20[/C][C]0.323405224239607[/C][C]0.646810448479215[/C][C]0.676594775760393[/C][/ROW]
[ROW][C]21[/C][C]0.326618426352391[/C][C]0.653236852704781[/C][C]0.67338157364761[/C][/ROW]
[ROW][C]22[/C][C]0.241802261669389[/C][C]0.483604523338778[/C][C]0.758197738330611[/C][/ROW]
[ROW][C]23[/C][C]0.173126714152264[/C][C]0.346253428304527[/C][C]0.826873285847736[/C][/ROW]
[ROW][C]24[/C][C]0.117661264142715[/C][C]0.235322528285429[/C][C]0.882338735857285[/C][/ROW]
[ROW][C]25[/C][C]0.0786116852709974[/C][C]0.157223370541995[/C][C]0.921388314729003[/C][/ROW]
[ROW][C]26[/C][C]0.0530857087681754[/C][C]0.106171417536351[/C][C]0.946914291231825[/C][/ROW]
[ROW][C]27[/C][C]0.0381727579446639[/C][C]0.0763455158893278[/C][C]0.961827242055336[/C][/ROW]
[ROW][C]28[/C][C]0.0506573634538857[/C][C]0.101314726907771[/C][C]0.949342636546114[/C][/ROW]
[ROW][C]29[/C][C]0.0662570234573664[/C][C]0.132514046914733[/C][C]0.933742976542634[/C][/ROW]
[ROW][C]30[/C][C]0.0514656121586405[/C][C]0.102931224317281[/C][C]0.94853438784136[/C][/ROW]
[ROW][C]31[/C][C]0.0588878558037069[/C][C]0.117775711607414[/C][C]0.941112144196293[/C][/ROW]
[ROW][C]32[/C][C]0.106372936294537[/C][C]0.212745872589074[/C][C]0.893627063705463[/C][/ROW]
[ROW][C]33[/C][C]0.140561354871877[/C][C]0.281122709743754[/C][C]0.859438645128123[/C][/ROW]
[ROW][C]34[/C][C]0.133583771216065[/C][C]0.267167542432131[/C][C]0.866416228783935[/C][/ROW]
[ROW][C]35[/C][C]0.119119580113557[/C][C]0.238239160227115[/C][C]0.880880419886443[/C][/ROW]
[ROW][C]36[/C][C]0.0956722606979288[/C][C]0.191344521395858[/C][C]0.904327739302071[/C][/ROW]
[ROW][C]37[/C][C]0.0812717200761305[/C][C]0.162543440152261[/C][C]0.91872827992387[/C][/ROW]
[ROW][C]38[/C][C]0.0719926325297302[/C][C]0.143985265059460[/C][C]0.92800736747027[/C][/ROW]
[ROW][C]39[/C][C]0.0672820512982942[/C][C]0.134564102596588[/C][C]0.932717948701706[/C][/ROW]
[ROW][C]40[/C][C]0.159429067486786[/C][C]0.318858134973573[/C][C]0.840570932513214[/C][/ROW]
[ROW][C]41[/C][C]0.598884222840997[/C][C]0.802231554318006[/C][C]0.401115777159003[/C][/ROW]
[ROW][C]42[/C][C]0.767560897697265[/C][C]0.464878204605469[/C][C]0.232439102302735[/C][/ROW]
[ROW][C]43[/C][C]0.671270185701048[/C][C]0.657459628597903[/C][C]0.328729814298952[/C][/ROW]
[ROW][C]44[/C][C]0.714259336303033[/C][C]0.571481327393934[/C][C]0.285740663696967[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57456&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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.3747615625818370.7495231251636740.625238437418163
170.4397488410985950.879497682197190.560251158901405
180.3064496908772100.6128993817544200.69355030912279
190.2639504364741220.5279008729482430.736049563525878
200.3234052242396070.6468104484792150.676594775760393
210.3266184263523910.6532368527047810.67338157364761
220.2418022616693890.4836045233387780.758197738330611
230.1731267141522640.3462534283045270.826873285847736
240.1176612641427150.2353225282854290.882338735857285
250.07861168527099740.1572233705419950.921388314729003
260.05308570876817540.1061714175363510.946914291231825
270.03817275794466390.07634551588932780.961827242055336
280.05065736345388570.1013147269077710.949342636546114
290.06625702345736640.1325140469147330.933742976542634
300.05146561215864050.1029312243172810.94853438784136
310.05888785580370690.1177757116074140.941112144196293
320.1063729362945370.2127458725890740.893627063705463
330.1405613548718770.2811227097437540.859438645128123
340.1335837712160650.2671675424321310.866416228783935
350.1191195801135570.2382391602271150.880880419886443
360.09567226069792880.1913445213958580.904327739302071
370.08127172007613050.1625434401522610.91872827992387
380.07199263252973020.1439852650594600.92800736747027
390.06728205129829420.1345641025965880.932717948701706
400.1594290674867860.3188581349735730.840570932513214
410.5988842228409970.8022315543180060.401115777159003
420.7675608976972650.4648782046054690.232439102302735
430.6712701857010480.6574596285979030.328729814298952
440.7142593363030330.5714813273939340.285740663696967







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 level10.0344827586206897OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57456&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 level10.0344827586206897OK



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