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, 12 Dec 2010 19:24:41 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/12/t1292181761x7p1qeeojsz8g6u.htm/, Retrieved Tue, 07 May 2024 19:11:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108631, Retrieved Tue, 07 May 2024 19:11:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact152
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [Multiple Regression] [Unemployment] [2010-11-30 13:40:15] [b98453cac15ba1066b407e146608df68]
-   PD      [Multiple Regression] [ws 8] [2010-12-12 19:24:41] [c1f1b5e209adb4577289f490325e36f2] [Current]
Feedback Forum

Post a new message
Dataseries X:
 1.3031
 1.3241
 1.2961
 1.2865
 1.2305
 1.2101
 1.2125
 1.2350
 1.2014
 1.1992
 1.1791
 1.1832
 1.2159
 1.1922
 1.2114
 1.2614
 1.2812
 1.2786
 1.2772
 1.2815
 1.2679
 1.2765
 1.3247
 1.3191
 1.3029
 1.3234
 1.3354
 1.3651
 1.3453
 1.3534
 1.3706
 1.3638
 1.4268
 1.4485
 1.4635
 1.4587
 1.4876
 1.5189
 1.5783
 1.5633
 1.5554
 1.5757
 1.5593
 1.4660
 1.4065
 1.2759
 1.2705
 1.3954
 1.2793
 1.2694
 1.3282
 1.3230
 1.4135
 1.4042
 1.4253
 1.4322
 1.4632
 1.4713
 1.5016
 1.4318




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 6 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]6 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1.2019 + 0.00770722222222199M1[t] + 0.0112211111111111M2[t] + 0.031175M3[t] + 0.0368288888888889M4[t] + 0.0378227777777777M5[t] + 0.0327166666666666M6[t] + 0.0329705555555555M7[t] + 0.0153644444444444M8[t] + 0.0084983333333334M9[t] -0.0147077777777778M10[t] -0.00543388888888887M11[t] + 0.00432611111111111t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  1.2019 +  0.00770722222222199M1[t] +  0.0112211111111111M2[t] +  0.031175M3[t] +  0.0368288888888889M4[t] +  0.0378227777777777M5[t] +  0.0327166666666666M6[t] +  0.0329705555555555M7[t] +  0.0153644444444444M8[t] +  0.0084983333333334M9[t] -0.0147077777777778M10[t] -0.00543388888888887M11[t] +  0.00432611111111111t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  1.2019 +  0.00770722222222199M1[t] +  0.0112211111111111M2[t] +  0.031175M3[t] +  0.0368288888888889M4[t] +  0.0378227777777777M5[t] +  0.0327166666666666M6[t] +  0.0329705555555555M7[t] +  0.0153644444444444M8[t] +  0.0084983333333334M9[t] -0.0147077777777778M10[t] -0.00543388888888887M11[t] +  0.00432611111111111t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1.2019 + 0.00770722222222199M1[t] + 0.0112211111111111M2[t] + 0.031175M3[t] + 0.0368288888888889M4[t] + 0.0378227777777777M5[t] + 0.0327166666666666M6[t] + 0.0329705555555555M7[t] + 0.0153644444444444M8[t] + 0.0084983333333334M9[t] -0.0147077777777778M10[t] -0.00543388888888887M11[t] + 0.00432611111111111t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.20190.04773825.177200
M10.007707222222221990.0580760.13270.8949890.447495
M20.01122111111111110.0579890.19350.8473980.423699
M30.0311750.057910.53830.5928870.296444
M40.03682888888888890.057840.63670.5273840.263692
M50.03782277777777770.0577780.65460.5158990.257949
M60.03271666666666660.0577240.56680.573560.28678
M70.03297055555555550.0576780.57160.5702950.285147
M80.01536444444444440.057640.26660.7909770.395488
M90.00849833333333340.0576110.14750.8833590.44168
M10-0.01470777777777780.057591-0.25540.799540.39977
M11-0.005433888888888870.057578-0.09440.9252130.462606
t0.004326111111111110.0006936.24700

\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) & 1.2019 & 0.047738 & 25.1772 & 0 & 0 \tabularnewline
M1 & 0.00770722222222199 & 0.058076 & 0.1327 & 0.894989 & 0.447495 \tabularnewline
M2 & 0.0112211111111111 & 0.057989 & 0.1935 & 0.847398 & 0.423699 \tabularnewline
M3 & 0.031175 & 0.05791 & 0.5383 & 0.592887 & 0.296444 \tabularnewline
M4 & 0.0368288888888889 & 0.05784 & 0.6367 & 0.527384 & 0.263692 \tabularnewline
M5 & 0.0378227777777777 & 0.057778 & 0.6546 & 0.515899 & 0.257949 \tabularnewline
M6 & 0.0327166666666666 & 0.057724 & 0.5668 & 0.57356 & 0.28678 \tabularnewline
M7 & 0.0329705555555555 & 0.057678 & 0.5716 & 0.570295 & 0.285147 \tabularnewline
M8 & 0.0153644444444444 & 0.05764 & 0.2666 & 0.790977 & 0.395488 \tabularnewline
M9 & 0.0084983333333334 & 0.057611 & 0.1475 & 0.883359 & 0.44168 \tabularnewline
M10 & -0.0147077777777778 & 0.057591 & -0.2554 & 0.79954 & 0.39977 \tabularnewline
M11 & -0.00543388888888887 & 0.057578 & -0.0944 & 0.925213 & 0.462606 \tabularnewline
t & 0.00432611111111111 & 0.000693 & 6.247 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&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]1.2019[/C][C]0.047738[/C][C]25.1772[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.00770722222222199[/C][C]0.058076[/C][C]0.1327[/C][C]0.894989[/C][C]0.447495[/C][/ROW]
[ROW][C]M2[/C][C]0.0112211111111111[/C][C]0.057989[/C][C]0.1935[/C][C]0.847398[/C][C]0.423699[/C][/ROW]
[ROW][C]M3[/C][C]0.031175[/C][C]0.05791[/C][C]0.5383[/C][C]0.592887[/C][C]0.296444[/C][/ROW]
[ROW][C]M4[/C][C]0.0368288888888889[/C][C]0.05784[/C][C]0.6367[/C][C]0.527384[/C][C]0.263692[/C][/ROW]
[ROW][C]M5[/C][C]0.0378227777777777[/C][C]0.057778[/C][C]0.6546[/C][C]0.515899[/C][C]0.257949[/C][/ROW]
[ROW][C]M6[/C][C]0.0327166666666666[/C][C]0.057724[/C][C]0.5668[/C][C]0.57356[/C][C]0.28678[/C][/ROW]
[ROW][C]M7[/C][C]0.0329705555555555[/C][C]0.057678[/C][C]0.5716[/C][C]0.570295[/C][C]0.285147[/C][/ROW]
[ROW][C]M8[/C][C]0.0153644444444444[/C][C]0.05764[/C][C]0.2666[/C][C]0.790977[/C][C]0.395488[/C][/ROW]
[ROW][C]M9[/C][C]0.0084983333333334[/C][C]0.057611[/C][C]0.1475[/C][C]0.883359[/C][C]0.44168[/C][/ROW]
[ROW][C]M10[/C][C]-0.0147077777777778[/C][C]0.057591[/C][C]-0.2554[/C][C]0.79954[/C][C]0.39977[/C][/ROW]
[ROW][C]M11[/C][C]-0.00543388888888887[/C][C]0.057578[/C][C]-0.0944[/C][C]0.925213[/C][C]0.462606[/C][/ROW]
[ROW][C]t[/C][C]0.00432611111111111[/C][C]0.000693[/C][C]6.247[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108631&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)1.20190.04773825.177200
M10.007707222222221990.0580760.13270.8949890.447495
M20.01122111111111110.0579890.19350.8473980.423699
M30.0311750.057910.53830.5928870.296444
M40.03682888888888890.057840.63670.5273840.263692
M50.03782277777777770.0577780.65460.5158990.257949
M60.03271666666666660.0577240.56680.573560.28678
M70.03297055555555550.0576780.57160.5702950.285147
M80.01536444444444440.057640.26660.7909770.395488
M90.00849833333333340.0576110.14750.8833590.44168
M10-0.01470777777777780.057591-0.25540.799540.39977
M11-0.005433888888888870.057578-0.09440.9252130.462606
t0.004326111111111110.0006936.24700







Multiple Linear Regression - Regression Statistics
Multiple R0.681525635374022
R-squared0.464477191671965
Adjusted R-squared0.327747964013743
F-TEST (value)3.39705854868869
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00126934927493771
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0910322443068723
Sum Squared Residuals0.389482866666666

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.681525635374022 \tabularnewline
R-squared & 0.464477191671965 \tabularnewline
Adjusted R-squared & 0.327747964013743 \tabularnewline
F-TEST (value) & 3.39705854868869 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00126934927493771 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.0910322443068723 \tabularnewline
Sum Squared Residuals & 0.389482866666666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.681525635374022[/C][/ROW]
[ROW][C]R-squared[/C][C]0.464477191671965[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.327747964013743[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.39705854868869[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00126934927493771[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.0910322443068723[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.389482866666666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108631&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.681525635374022
R-squared0.464477191671965
Adjusted R-squared0.327747964013743
F-TEST (value)3.39705854868869
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00126934927493771
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0910322443068723
Sum Squared Residuals0.389482866666666







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.30311.213933333333330.0891666666666656
21.32411.221773333333330.102326666666667
31.29611.246053333333330.0500466666666667
41.28651.256033333333330.0304666666666667
51.23051.26135333333333-0.0308533333333333
61.21011.26057333333333-0.0504733333333333
71.21251.26515333333333-0.0526533333333333
81.2351.25187333333333-0.0168733333333332
91.20141.24933333333333-0.0479333333333333
101.19921.23045333333333-0.0312533333333332
111.17911.24405333333333-0.0649533333333333
121.18321.25381333333333-0.0706133333333333
131.21591.26584666666667-0.0499466666666664
141.19221.27368666666667-0.0814866666666667
151.21141.29796666666667-0.0865666666666666
161.26141.30794666666667-0.0465466666666665
171.28121.31326666666667-0.0320666666666667
181.27861.31248666666667-0.0338866666666666
191.27721.31706666666667-0.0398666666666667
201.28151.30378666666667-0.0222866666666666
211.26791.30124666666667-0.0333466666666667
221.27651.28236666666667-0.00586666666666668
231.32471.295966666666670.0287333333333333
241.31911.305726666666670.0133733333333333
251.30291.31776-0.0148599999999998
261.32341.3256-0.00220000000000004
271.33541.34988-0.0144800000000001
281.36511.359860.00523999999999999
291.34531.36518-0.01988
301.35341.3644-0.0110000000000001
311.37061.368980.0016200000000001
321.36381.35570.00809999999999989
331.42681.353160.07364
341.44851.334280.11422
351.46351.347880.11562
361.45871.357640.10106
371.48761.369673333333330.117926666666667
381.51891.377513333333330.141386666666667
391.57831.401793333333330.176506666666667
401.56331.411773333333330.151526666666667
411.55541.417093333333330.138306666666667
421.57571.416313333333330.159386666666667
431.55931.420893333333330.138406666666667
441.4661.407613333333330.0583866666666667
451.40651.405073333333330.00142666666666669
461.27591.38619333333333-0.110293333333333
471.27051.39979333333333-0.129293333333333
481.39541.40955333333333-0.0141533333333333
491.27931.42158666666667-0.142286666666666
501.26941.42942666666667-0.160026666666667
511.32821.45370666666667-0.125506666666667
521.3231.46368666666667-0.140686666666667
531.41351.46900666666667-0.0555066666666666
541.40421.46822666666667-0.0640266666666668
551.42531.47280666666667-0.0475066666666666
561.43221.45952666666667-0.0273266666666668
571.46321.456986666666670.00621333333333326
581.47131.438106666666670.0331933333333333
591.50161.451706666666670.0498933333333333
601.43181.46146666666667-0.0296666666666668

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.3031 & 1.21393333333333 & 0.0891666666666656 \tabularnewline
2 & 1.3241 & 1.22177333333333 & 0.102326666666667 \tabularnewline
3 & 1.2961 & 1.24605333333333 & 0.0500466666666667 \tabularnewline
4 & 1.2865 & 1.25603333333333 & 0.0304666666666667 \tabularnewline
5 & 1.2305 & 1.26135333333333 & -0.0308533333333333 \tabularnewline
6 & 1.2101 & 1.26057333333333 & -0.0504733333333333 \tabularnewline
7 & 1.2125 & 1.26515333333333 & -0.0526533333333333 \tabularnewline
8 & 1.235 & 1.25187333333333 & -0.0168733333333332 \tabularnewline
9 & 1.2014 & 1.24933333333333 & -0.0479333333333333 \tabularnewline
10 & 1.1992 & 1.23045333333333 & -0.0312533333333332 \tabularnewline
11 & 1.1791 & 1.24405333333333 & -0.0649533333333333 \tabularnewline
12 & 1.1832 & 1.25381333333333 & -0.0706133333333333 \tabularnewline
13 & 1.2159 & 1.26584666666667 & -0.0499466666666664 \tabularnewline
14 & 1.1922 & 1.27368666666667 & -0.0814866666666667 \tabularnewline
15 & 1.2114 & 1.29796666666667 & -0.0865666666666666 \tabularnewline
16 & 1.2614 & 1.30794666666667 & -0.0465466666666665 \tabularnewline
17 & 1.2812 & 1.31326666666667 & -0.0320666666666667 \tabularnewline
18 & 1.2786 & 1.31248666666667 & -0.0338866666666666 \tabularnewline
19 & 1.2772 & 1.31706666666667 & -0.0398666666666667 \tabularnewline
20 & 1.2815 & 1.30378666666667 & -0.0222866666666666 \tabularnewline
21 & 1.2679 & 1.30124666666667 & -0.0333466666666667 \tabularnewline
22 & 1.2765 & 1.28236666666667 & -0.00586666666666668 \tabularnewline
23 & 1.3247 & 1.29596666666667 & 0.0287333333333333 \tabularnewline
24 & 1.3191 & 1.30572666666667 & 0.0133733333333333 \tabularnewline
25 & 1.3029 & 1.31776 & -0.0148599999999998 \tabularnewline
26 & 1.3234 & 1.3256 & -0.00220000000000004 \tabularnewline
27 & 1.3354 & 1.34988 & -0.0144800000000001 \tabularnewline
28 & 1.3651 & 1.35986 & 0.00523999999999999 \tabularnewline
29 & 1.3453 & 1.36518 & -0.01988 \tabularnewline
30 & 1.3534 & 1.3644 & -0.0110000000000001 \tabularnewline
31 & 1.3706 & 1.36898 & 0.0016200000000001 \tabularnewline
32 & 1.3638 & 1.3557 & 0.00809999999999989 \tabularnewline
33 & 1.4268 & 1.35316 & 0.07364 \tabularnewline
34 & 1.4485 & 1.33428 & 0.11422 \tabularnewline
35 & 1.4635 & 1.34788 & 0.11562 \tabularnewline
36 & 1.4587 & 1.35764 & 0.10106 \tabularnewline
37 & 1.4876 & 1.36967333333333 & 0.117926666666667 \tabularnewline
38 & 1.5189 & 1.37751333333333 & 0.141386666666667 \tabularnewline
39 & 1.5783 & 1.40179333333333 & 0.176506666666667 \tabularnewline
40 & 1.5633 & 1.41177333333333 & 0.151526666666667 \tabularnewline
41 & 1.5554 & 1.41709333333333 & 0.138306666666667 \tabularnewline
42 & 1.5757 & 1.41631333333333 & 0.159386666666667 \tabularnewline
43 & 1.5593 & 1.42089333333333 & 0.138406666666667 \tabularnewline
44 & 1.466 & 1.40761333333333 & 0.0583866666666667 \tabularnewline
45 & 1.4065 & 1.40507333333333 & 0.00142666666666669 \tabularnewline
46 & 1.2759 & 1.38619333333333 & -0.110293333333333 \tabularnewline
47 & 1.2705 & 1.39979333333333 & -0.129293333333333 \tabularnewline
48 & 1.3954 & 1.40955333333333 & -0.0141533333333333 \tabularnewline
49 & 1.2793 & 1.42158666666667 & -0.142286666666666 \tabularnewline
50 & 1.2694 & 1.42942666666667 & -0.160026666666667 \tabularnewline
51 & 1.3282 & 1.45370666666667 & -0.125506666666667 \tabularnewline
52 & 1.323 & 1.46368666666667 & -0.140686666666667 \tabularnewline
53 & 1.4135 & 1.46900666666667 & -0.0555066666666666 \tabularnewline
54 & 1.4042 & 1.46822666666667 & -0.0640266666666668 \tabularnewline
55 & 1.4253 & 1.47280666666667 & -0.0475066666666666 \tabularnewline
56 & 1.4322 & 1.45952666666667 & -0.0273266666666668 \tabularnewline
57 & 1.4632 & 1.45698666666667 & 0.00621333333333326 \tabularnewline
58 & 1.4713 & 1.43810666666667 & 0.0331933333333333 \tabularnewline
59 & 1.5016 & 1.45170666666667 & 0.0498933333333333 \tabularnewline
60 & 1.4318 & 1.46146666666667 & -0.0296666666666668 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&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]1.3031[/C][C]1.21393333333333[/C][C]0.0891666666666656[/C][/ROW]
[ROW][C]2[/C][C]1.3241[/C][C]1.22177333333333[/C][C]0.102326666666667[/C][/ROW]
[ROW][C]3[/C][C]1.2961[/C][C]1.24605333333333[/C][C]0.0500466666666667[/C][/ROW]
[ROW][C]4[/C][C]1.2865[/C][C]1.25603333333333[/C][C]0.0304666666666667[/C][/ROW]
[ROW][C]5[/C][C]1.2305[/C][C]1.26135333333333[/C][C]-0.0308533333333333[/C][/ROW]
[ROW][C]6[/C][C]1.2101[/C][C]1.26057333333333[/C][C]-0.0504733333333333[/C][/ROW]
[ROW][C]7[/C][C]1.2125[/C][C]1.26515333333333[/C][C]-0.0526533333333333[/C][/ROW]
[ROW][C]8[/C][C]1.235[/C][C]1.25187333333333[/C][C]-0.0168733333333332[/C][/ROW]
[ROW][C]9[/C][C]1.2014[/C][C]1.24933333333333[/C][C]-0.0479333333333333[/C][/ROW]
[ROW][C]10[/C][C]1.1992[/C][C]1.23045333333333[/C][C]-0.0312533333333332[/C][/ROW]
[ROW][C]11[/C][C]1.1791[/C][C]1.24405333333333[/C][C]-0.0649533333333333[/C][/ROW]
[ROW][C]12[/C][C]1.1832[/C][C]1.25381333333333[/C][C]-0.0706133333333333[/C][/ROW]
[ROW][C]13[/C][C]1.2159[/C][C]1.26584666666667[/C][C]-0.0499466666666664[/C][/ROW]
[ROW][C]14[/C][C]1.1922[/C][C]1.27368666666667[/C][C]-0.0814866666666667[/C][/ROW]
[ROW][C]15[/C][C]1.2114[/C][C]1.29796666666667[/C][C]-0.0865666666666666[/C][/ROW]
[ROW][C]16[/C][C]1.2614[/C][C]1.30794666666667[/C][C]-0.0465466666666665[/C][/ROW]
[ROW][C]17[/C][C]1.2812[/C][C]1.31326666666667[/C][C]-0.0320666666666667[/C][/ROW]
[ROW][C]18[/C][C]1.2786[/C][C]1.31248666666667[/C][C]-0.0338866666666666[/C][/ROW]
[ROW][C]19[/C][C]1.2772[/C][C]1.31706666666667[/C][C]-0.0398666666666667[/C][/ROW]
[ROW][C]20[/C][C]1.2815[/C][C]1.30378666666667[/C][C]-0.0222866666666666[/C][/ROW]
[ROW][C]21[/C][C]1.2679[/C][C]1.30124666666667[/C][C]-0.0333466666666667[/C][/ROW]
[ROW][C]22[/C][C]1.2765[/C][C]1.28236666666667[/C][C]-0.00586666666666668[/C][/ROW]
[ROW][C]23[/C][C]1.3247[/C][C]1.29596666666667[/C][C]0.0287333333333333[/C][/ROW]
[ROW][C]24[/C][C]1.3191[/C][C]1.30572666666667[/C][C]0.0133733333333333[/C][/ROW]
[ROW][C]25[/C][C]1.3029[/C][C]1.31776[/C][C]-0.0148599999999998[/C][/ROW]
[ROW][C]26[/C][C]1.3234[/C][C]1.3256[/C][C]-0.00220000000000004[/C][/ROW]
[ROW][C]27[/C][C]1.3354[/C][C]1.34988[/C][C]-0.0144800000000001[/C][/ROW]
[ROW][C]28[/C][C]1.3651[/C][C]1.35986[/C][C]0.00523999999999999[/C][/ROW]
[ROW][C]29[/C][C]1.3453[/C][C]1.36518[/C][C]-0.01988[/C][/ROW]
[ROW][C]30[/C][C]1.3534[/C][C]1.3644[/C][C]-0.0110000000000001[/C][/ROW]
[ROW][C]31[/C][C]1.3706[/C][C]1.36898[/C][C]0.0016200000000001[/C][/ROW]
[ROW][C]32[/C][C]1.3638[/C][C]1.3557[/C][C]0.00809999999999989[/C][/ROW]
[ROW][C]33[/C][C]1.4268[/C][C]1.35316[/C][C]0.07364[/C][/ROW]
[ROW][C]34[/C][C]1.4485[/C][C]1.33428[/C][C]0.11422[/C][/ROW]
[ROW][C]35[/C][C]1.4635[/C][C]1.34788[/C][C]0.11562[/C][/ROW]
[ROW][C]36[/C][C]1.4587[/C][C]1.35764[/C][C]0.10106[/C][/ROW]
[ROW][C]37[/C][C]1.4876[/C][C]1.36967333333333[/C][C]0.117926666666667[/C][/ROW]
[ROW][C]38[/C][C]1.5189[/C][C]1.37751333333333[/C][C]0.141386666666667[/C][/ROW]
[ROW][C]39[/C][C]1.5783[/C][C]1.40179333333333[/C][C]0.176506666666667[/C][/ROW]
[ROW][C]40[/C][C]1.5633[/C][C]1.41177333333333[/C][C]0.151526666666667[/C][/ROW]
[ROW][C]41[/C][C]1.5554[/C][C]1.41709333333333[/C][C]0.138306666666667[/C][/ROW]
[ROW][C]42[/C][C]1.5757[/C][C]1.41631333333333[/C][C]0.159386666666667[/C][/ROW]
[ROW][C]43[/C][C]1.5593[/C][C]1.42089333333333[/C][C]0.138406666666667[/C][/ROW]
[ROW][C]44[/C][C]1.466[/C][C]1.40761333333333[/C][C]0.0583866666666667[/C][/ROW]
[ROW][C]45[/C][C]1.4065[/C][C]1.40507333333333[/C][C]0.00142666666666669[/C][/ROW]
[ROW][C]46[/C][C]1.2759[/C][C]1.38619333333333[/C][C]-0.110293333333333[/C][/ROW]
[ROW][C]47[/C][C]1.2705[/C][C]1.39979333333333[/C][C]-0.129293333333333[/C][/ROW]
[ROW][C]48[/C][C]1.3954[/C][C]1.40955333333333[/C][C]-0.0141533333333333[/C][/ROW]
[ROW][C]49[/C][C]1.2793[/C][C]1.42158666666667[/C][C]-0.142286666666666[/C][/ROW]
[ROW][C]50[/C][C]1.2694[/C][C]1.42942666666667[/C][C]-0.160026666666667[/C][/ROW]
[ROW][C]51[/C][C]1.3282[/C][C]1.45370666666667[/C][C]-0.125506666666667[/C][/ROW]
[ROW][C]52[/C][C]1.323[/C][C]1.46368666666667[/C][C]-0.140686666666667[/C][/ROW]
[ROW][C]53[/C][C]1.4135[/C][C]1.46900666666667[/C][C]-0.0555066666666666[/C][/ROW]
[ROW][C]54[/C][C]1.4042[/C][C]1.46822666666667[/C][C]-0.0640266666666668[/C][/ROW]
[ROW][C]55[/C][C]1.4253[/C][C]1.47280666666667[/C][C]-0.0475066666666666[/C][/ROW]
[ROW][C]56[/C][C]1.4322[/C][C]1.45952666666667[/C][C]-0.0273266666666668[/C][/ROW]
[ROW][C]57[/C][C]1.4632[/C][C]1.45698666666667[/C][C]0.00621333333333326[/C][/ROW]
[ROW][C]58[/C][C]1.4713[/C][C]1.43810666666667[/C][C]0.0331933333333333[/C][/ROW]
[ROW][C]59[/C][C]1.5016[/C][C]1.45170666666667[/C][C]0.0498933333333333[/C][/ROW]
[ROW][C]60[/C][C]1.4318[/C][C]1.46146666666667[/C][C]-0.0296666666666668[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108631&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
11.30311.213933333333330.0891666666666656
21.32411.221773333333330.102326666666667
31.29611.246053333333330.0500466666666667
41.28651.256033333333330.0304666666666667
51.23051.26135333333333-0.0308533333333333
61.21011.26057333333333-0.0504733333333333
71.21251.26515333333333-0.0526533333333333
81.2351.25187333333333-0.0168733333333332
91.20141.24933333333333-0.0479333333333333
101.19921.23045333333333-0.0312533333333332
111.17911.24405333333333-0.0649533333333333
121.18321.25381333333333-0.0706133333333333
131.21591.26584666666667-0.0499466666666664
141.19221.27368666666667-0.0814866666666667
151.21141.29796666666667-0.0865666666666666
161.26141.30794666666667-0.0465466666666665
171.28121.31326666666667-0.0320666666666667
181.27861.31248666666667-0.0338866666666666
191.27721.31706666666667-0.0398666666666667
201.28151.30378666666667-0.0222866666666666
211.26791.30124666666667-0.0333466666666667
221.27651.28236666666667-0.00586666666666668
231.32471.295966666666670.0287333333333333
241.31911.305726666666670.0133733333333333
251.30291.31776-0.0148599999999998
261.32341.3256-0.00220000000000004
271.33541.34988-0.0144800000000001
281.36511.359860.00523999999999999
291.34531.36518-0.01988
301.35341.3644-0.0110000000000001
311.37061.368980.0016200000000001
321.36381.35570.00809999999999989
331.42681.353160.07364
341.44851.334280.11422
351.46351.347880.11562
361.45871.357640.10106
371.48761.369673333333330.117926666666667
381.51891.377513333333330.141386666666667
391.57831.401793333333330.176506666666667
401.56331.411773333333330.151526666666667
411.55541.417093333333330.138306666666667
421.57571.416313333333330.159386666666667
431.55931.420893333333330.138406666666667
441.4661.407613333333330.0583866666666667
451.40651.405073333333330.00142666666666669
461.27591.38619333333333-0.110293333333333
471.27051.39979333333333-0.129293333333333
481.39541.40955333333333-0.0141533333333333
491.27931.42158666666667-0.142286666666666
501.26941.42942666666667-0.160026666666667
511.32821.45370666666667-0.125506666666667
521.3231.46368666666667-0.140686666666667
531.41351.46900666666667-0.0555066666666666
541.40421.46822666666667-0.0640266666666668
551.42531.47280666666667-0.0475066666666666
561.43221.45952666666667-0.0273266666666668
571.46321.456986666666670.00621333333333326
581.47131.438106666666670.0331933333333333
591.50161.451706666666670.0498933333333333
601.43181.46146666666667-0.0296666666666668







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.03738253396315090.07476506792630180.96261746603685
170.08668163534720620.1733632706944120.913318364652794
180.0987139435879170.1974278871758340.901286056412083
190.08306422639141490.166128452782830.916935773608585
200.05320670124512820.1064134024902560.946793298754872
210.03929991163907350.0785998232781470.960700088360926
220.02837178327291780.05674356654583570.971628216727082
230.03653691381781420.07307382763562840.963463086182186
240.03573630391521210.07147260783042420.964263696084788
250.0193924081737930.0387848163475860.980607591826207
260.01030100907829880.02060201815659750.989698990921701
270.006262056676151030.01252411335230210.99373794332385
280.003533347732146080.007066695464292160.996466652267854
290.002502995952921820.005005991905843630.997497004047078
300.002197343468629160.004394686937258330.99780265653137
310.002324393924933850.00464878784986770.997675606075066
320.001961253464806530.003922506929613070.998038746535193
330.00284504633502730.005690092670054610.997154953664973
340.003415982857799340.006831965715598680.9965840171422
350.003323145296485820.006646290592971640.996676854703514
360.002888468518999370.005776937037998750.997111531481
370.002440630321366080.004881260642732170.997559369678634
380.003577252087769780.007154504175539560.99642274791223
390.0103567852002820.0207135704005640.989643214799718
400.02547909351043730.05095818702087470.974520906489563
410.03229316854498010.06458633708996020.96770683145502
420.08820710969864230.1764142193972850.911792890301358
430.2517319042737150.5034638085474290.748268095726285
440.3583778830370850.716755766074170.641622116962915

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0373825339631509 & 0.0747650679263018 & 0.96261746603685 \tabularnewline
17 & 0.0866816353472062 & 0.173363270694412 & 0.913318364652794 \tabularnewline
18 & 0.098713943587917 & 0.197427887175834 & 0.901286056412083 \tabularnewline
19 & 0.0830642263914149 & 0.16612845278283 & 0.916935773608585 \tabularnewline
20 & 0.0532067012451282 & 0.106413402490256 & 0.946793298754872 \tabularnewline
21 & 0.0392999116390735 & 0.078599823278147 & 0.960700088360926 \tabularnewline
22 & 0.0283717832729178 & 0.0567435665458357 & 0.971628216727082 \tabularnewline
23 & 0.0365369138178142 & 0.0730738276356284 & 0.963463086182186 \tabularnewline
24 & 0.0357363039152121 & 0.0714726078304242 & 0.964263696084788 \tabularnewline
25 & 0.019392408173793 & 0.038784816347586 & 0.980607591826207 \tabularnewline
26 & 0.0103010090782988 & 0.0206020181565975 & 0.989698990921701 \tabularnewline
27 & 0.00626205667615103 & 0.0125241133523021 & 0.99373794332385 \tabularnewline
28 & 0.00353334773214608 & 0.00706669546429216 & 0.996466652267854 \tabularnewline
29 & 0.00250299595292182 & 0.00500599190584363 & 0.997497004047078 \tabularnewline
30 & 0.00219734346862916 & 0.00439468693725833 & 0.99780265653137 \tabularnewline
31 & 0.00232439392493385 & 0.0046487878498677 & 0.997675606075066 \tabularnewline
32 & 0.00196125346480653 & 0.00392250692961307 & 0.998038746535193 \tabularnewline
33 & 0.0028450463350273 & 0.00569009267005461 & 0.997154953664973 \tabularnewline
34 & 0.00341598285779934 & 0.00683196571559868 & 0.9965840171422 \tabularnewline
35 & 0.00332314529648582 & 0.00664629059297164 & 0.996676854703514 \tabularnewline
36 & 0.00288846851899937 & 0.00577693703799875 & 0.997111531481 \tabularnewline
37 & 0.00244063032136608 & 0.00488126064273217 & 0.997559369678634 \tabularnewline
38 & 0.00357725208776978 & 0.00715450417553956 & 0.99642274791223 \tabularnewline
39 & 0.010356785200282 & 0.020713570400564 & 0.989643214799718 \tabularnewline
40 & 0.0254790935104373 & 0.0509581870208747 & 0.974520906489563 \tabularnewline
41 & 0.0322931685449801 & 0.0645863370899602 & 0.96770683145502 \tabularnewline
42 & 0.0882071096986423 & 0.176414219397285 & 0.911792890301358 \tabularnewline
43 & 0.251731904273715 & 0.503463808547429 & 0.748268095726285 \tabularnewline
44 & 0.358377883037085 & 0.71675576607417 & 0.641622116962915 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&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.0373825339631509[/C][C]0.0747650679263018[/C][C]0.96261746603685[/C][/ROW]
[ROW][C]17[/C][C]0.0866816353472062[/C][C]0.173363270694412[/C][C]0.913318364652794[/C][/ROW]
[ROW][C]18[/C][C]0.098713943587917[/C][C]0.197427887175834[/C][C]0.901286056412083[/C][/ROW]
[ROW][C]19[/C][C]0.0830642263914149[/C][C]0.16612845278283[/C][C]0.916935773608585[/C][/ROW]
[ROW][C]20[/C][C]0.0532067012451282[/C][C]0.106413402490256[/C][C]0.946793298754872[/C][/ROW]
[ROW][C]21[/C][C]0.0392999116390735[/C][C]0.078599823278147[/C][C]0.960700088360926[/C][/ROW]
[ROW][C]22[/C][C]0.0283717832729178[/C][C]0.0567435665458357[/C][C]0.971628216727082[/C][/ROW]
[ROW][C]23[/C][C]0.0365369138178142[/C][C]0.0730738276356284[/C][C]0.963463086182186[/C][/ROW]
[ROW][C]24[/C][C]0.0357363039152121[/C][C]0.0714726078304242[/C][C]0.964263696084788[/C][/ROW]
[ROW][C]25[/C][C]0.019392408173793[/C][C]0.038784816347586[/C][C]0.980607591826207[/C][/ROW]
[ROW][C]26[/C][C]0.0103010090782988[/C][C]0.0206020181565975[/C][C]0.989698990921701[/C][/ROW]
[ROW][C]27[/C][C]0.00626205667615103[/C][C]0.0125241133523021[/C][C]0.99373794332385[/C][/ROW]
[ROW][C]28[/C][C]0.00353334773214608[/C][C]0.00706669546429216[/C][C]0.996466652267854[/C][/ROW]
[ROW][C]29[/C][C]0.00250299595292182[/C][C]0.00500599190584363[/C][C]0.997497004047078[/C][/ROW]
[ROW][C]30[/C][C]0.00219734346862916[/C][C]0.00439468693725833[/C][C]0.99780265653137[/C][/ROW]
[ROW][C]31[/C][C]0.00232439392493385[/C][C]0.0046487878498677[/C][C]0.997675606075066[/C][/ROW]
[ROW][C]32[/C][C]0.00196125346480653[/C][C]0.00392250692961307[/C][C]0.998038746535193[/C][/ROW]
[ROW][C]33[/C][C]0.0028450463350273[/C][C]0.00569009267005461[/C][C]0.997154953664973[/C][/ROW]
[ROW][C]34[/C][C]0.00341598285779934[/C][C]0.00683196571559868[/C][C]0.9965840171422[/C][/ROW]
[ROW][C]35[/C][C]0.00332314529648582[/C][C]0.00664629059297164[/C][C]0.996676854703514[/C][/ROW]
[ROW][C]36[/C][C]0.00288846851899937[/C][C]0.00577693703799875[/C][C]0.997111531481[/C][/ROW]
[ROW][C]37[/C][C]0.00244063032136608[/C][C]0.00488126064273217[/C][C]0.997559369678634[/C][/ROW]
[ROW][C]38[/C][C]0.00357725208776978[/C][C]0.00715450417553956[/C][C]0.99642274791223[/C][/ROW]
[ROW][C]39[/C][C]0.010356785200282[/C][C]0.020713570400564[/C][C]0.989643214799718[/C][/ROW]
[ROW][C]40[/C][C]0.0254790935104373[/C][C]0.0509581870208747[/C][C]0.974520906489563[/C][/ROW]
[ROW][C]41[/C][C]0.0322931685449801[/C][C]0.0645863370899602[/C][C]0.96770683145502[/C][/ROW]
[ROW][C]42[/C][C]0.0882071096986423[/C][C]0.176414219397285[/C][C]0.911792890301358[/C][/ROW]
[ROW][C]43[/C][C]0.251731904273715[/C][C]0.503463808547429[/C][C]0.748268095726285[/C][/ROW]
[ROW][C]44[/C][C]0.358377883037085[/C][C]0.71675576607417[/C][C]0.641622116962915[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108631&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.03738253396315090.07476506792630180.96261746603685
170.08668163534720620.1733632706944120.913318364652794
180.0987139435879170.1974278871758340.901286056412083
190.08306422639141490.166128452782830.916935773608585
200.05320670124512820.1064134024902560.946793298754872
210.03929991163907350.0785998232781470.960700088360926
220.02837178327291780.05674356654583570.971628216727082
230.03653691381781420.07307382763562840.963463086182186
240.03573630391521210.07147260783042420.964263696084788
250.0193924081737930.0387848163475860.980607591826207
260.01030100907829880.02060201815659750.989698990921701
270.006262056676151030.01252411335230210.99373794332385
280.003533347732146080.007066695464292160.996466652267854
290.002502995952921820.005005991905843630.997497004047078
300.002197343468629160.004394686937258330.99780265653137
310.002324393924933850.00464878784986770.997675606075066
320.001961253464806530.003922506929613070.998038746535193
330.00284504633502730.005690092670054610.997154953664973
340.003415982857799340.006831965715598680.9965840171422
350.003323145296485820.006646290592971640.996676854703514
360.002888468518999370.005776937037998750.997111531481
370.002440630321366080.004881260642732170.997559369678634
380.003577252087769780.007154504175539560.99642274791223
390.0103567852002820.0207135704005640.989643214799718
400.02547909351043730.05095818702087470.974520906489563
410.03229316854498010.06458633708996020.96770683145502
420.08820710969864230.1764142193972850.911792890301358
430.2517319042737150.5034638085474290.748268095726285
440.3583778830370850.716755766074170.641622116962915







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level110.379310344827586NOK
5% type I error level150.517241379310345NOK
10% type I error level220.758620689655172NOK

\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 & 11 & 0.379310344827586 & NOK \tabularnewline
5% type I error level & 15 & 0.517241379310345 & NOK \tabularnewline
10% type I error level & 22 & 0.758620689655172 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108631&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]11[/C][C]0.379310344827586[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]15[/C][C]0.517241379310345[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]22[/C][C]0.758620689655172[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108631&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108631&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 level110.379310344827586NOK
5% type I error level150.517241379310345NOK
10% type I error level220.758620689655172NOK



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 1 ; par5 = 1 ; par6 = 0 ; par7 = 0 ; par8 = 1 ;
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')
}