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 computationTue, 16 Dec 2008 13:44:10 -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/2008/Dec/16/t1229460282wg87r7k2gedq24d.htm/, Retrieved Wed, 15 May 2024 17:54:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34189, Retrieved Wed, 15 May 2024 17:54:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordspaper: multiple regression: samenwerking
Estimated Impact174
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Mean Plot] [paper: mean plot:...] [2008-12-16 15:14:50] [47f64d63202c1921bd27f3073f07a153]
- RMPD  [Multiple Regression] [paper: regression...] [2008-12-16 15:25:05] [47f64d63202c1921bd27f3073f07a153]
-    D    [Multiple Regression] [paper: regression...] [2008-12-16 15:39:35] [47f64d63202c1921bd27f3073f07a153]
-    D        [Multiple Regression] [paper: multiple r...] [2008-12-16 20:44:10] [74c7506a1ea162af3aa8be25bcd05d28] [Current]
Feedback Forum

Post a new message
Dataseries X:
25	0
23.6	0
22.3	0
21.8	0
20.8	0
19.7	0
18.3	0
17.4	0
17	0
18.1	0
23.9	0
25.6	0
25.3	0
23.6	0
21.9	0
21.4	0
20.6	0
20.5	0
20.2	0
20.6	0
19.7	0
19.3	0
22.8	0
23.5	0
23.8	0
22.6	0
22	0
21.7	0
20.7	0
20.2	0
19.1	0
19.5	0
18.7	0
18.6	0
22.2	0
23.2	0
23.5	1
21.3	1
20	1
18.7	1
18.9	1
18.3	1
18.4	1
19.9	1
19.2	1
18.5	1
20.9	1
20.5	1
19.4	1
18.1	1
17	1
17	1
17.3	1
16.7	1
15.5	1
15.3	1
13.7	1
14.1	1
17.3	1
18.1	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Werklozen[t] = + 24.7555555555556 -1.31388888888889Samenwerking[t] + 0.593611111111107M1[t] -0.909444444444443M2[t] -2.0525M3[t] -2.51555555555556M4[t] -2.91861111111111M5[t] -3.44166666666667M6[t] -4.16472222222222M7[t] -3.86777777777778M8[t] -4.69083333333333M9[t] -4.57388888888889M10[t] -0.816944444444445M11[t] -0.0569444444444444t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werklozen[t] =  +  24.7555555555556 -1.31388888888889Samenwerking[t] +  0.593611111111107M1[t] -0.909444444444443M2[t] -2.0525M3[t] -2.51555555555556M4[t] -2.91861111111111M5[t] -3.44166666666667M6[t] -4.16472222222222M7[t] -3.86777777777778M8[t] -4.69083333333333M9[t] -4.57388888888889M10[t] -0.816944444444445M11[t] -0.0569444444444444t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werklozen[t] =  +  24.7555555555556 -1.31388888888889Samenwerking[t] +  0.593611111111107M1[t] -0.909444444444443M2[t] -2.0525M3[t] -2.51555555555556M4[t] -2.91861111111111M5[t] -3.44166666666667M6[t] -4.16472222222222M7[t] -3.86777777777778M8[t] -4.69083333333333M9[t] -4.57388888888889M10[t] -0.816944444444445M11[t] -0.0569444444444444t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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
Werklozen[t] = + 24.7555555555556 -1.31388888888889Samenwerking[t] + 0.593611111111107M1[t] -0.909444444444443M2[t] -2.0525M3[t] -2.51555555555556M4[t] -2.91861111111111M5[t] -3.44166666666667M6[t] -4.16472222222222M7[t] -3.86777777777778M8[t] -4.69083333333333M9[t] -4.57388888888889M10[t] -0.816944444444445M11[t] -0.0569444444444444t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)24.75555555555560.80890630.603800
Samenwerking-1.313888888888890.726419-1.80870.0770330.038517
M10.5936111111111070.9017060.65830.5136140.256807
M2-0.9094444444444430.896571-1.01440.3157180.157859
M3-2.05250.891899-2.30130.0259580.012979
M4-2.515555555555560.887699-2.83380.0068090.003404
M5-2.918611111111110.883976-3.30170.0018640.000932
M6-3.441666666666670.880736-3.90770.0003040.000152
M7-4.164722222222220.877986-4.74352.1e-051e-05
M8-3.867777777777780.875729-4.41666e-053e-05
M9-4.690833333333330.87397-5.36733e-061e-06
M10-4.573888888888890.872711-5.2414e-062e-06
M11-0.8169444444444450.871955-0.93690.3536970.176849
t-0.05694444444444440.02097-2.71550.0092890.004644

\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) & 24.7555555555556 & 0.808906 & 30.6038 & 0 & 0 \tabularnewline
Samenwerking & -1.31388888888889 & 0.726419 & -1.8087 & 0.077033 & 0.038517 \tabularnewline
M1 & 0.593611111111107 & 0.901706 & 0.6583 & 0.513614 & 0.256807 \tabularnewline
M2 & -0.909444444444443 & 0.896571 & -1.0144 & 0.315718 & 0.157859 \tabularnewline
M3 & -2.0525 & 0.891899 & -2.3013 & 0.025958 & 0.012979 \tabularnewline
M4 & -2.51555555555556 & 0.887699 & -2.8338 & 0.006809 & 0.003404 \tabularnewline
M5 & -2.91861111111111 & 0.883976 & -3.3017 & 0.001864 & 0.000932 \tabularnewline
M6 & -3.44166666666667 & 0.880736 & -3.9077 & 0.000304 & 0.000152 \tabularnewline
M7 & -4.16472222222222 & 0.877986 & -4.7435 & 2.1e-05 & 1e-05 \tabularnewline
M8 & -3.86777777777778 & 0.875729 & -4.4166 & 6e-05 & 3e-05 \tabularnewline
M9 & -4.69083333333333 & 0.87397 & -5.3673 & 3e-06 & 1e-06 \tabularnewline
M10 & -4.57388888888889 & 0.872711 & -5.241 & 4e-06 & 2e-06 \tabularnewline
M11 & -0.816944444444445 & 0.871955 & -0.9369 & 0.353697 & 0.176849 \tabularnewline
t & -0.0569444444444444 & 0.02097 & -2.7155 & 0.009289 & 0.004644 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&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]24.7555555555556[/C][C]0.808906[/C][C]30.6038[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Samenwerking[/C][C]-1.31388888888889[/C][C]0.726419[/C][C]-1.8087[/C][C]0.077033[/C][C]0.038517[/C][/ROW]
[ROW][C]M1[/C][C]0.593611111111107[/C][C]0.901706[/C][C]0.6583[/C][C]0.513614[/C][C]0.256807[/C][/ROW]
[ROW][C]M2[/C][C]-0.909444444444443[/C][C]0.896571[/C][C]-1.0144[/C][C]0.315718[/C][C]0.157859[/C][/ROW]
[ROW][C]M3[/C][C]-2.0525[/C][C]0.891899[/C][C]-2.3013[/C][C]0.025958[/C][C]0.012979[/C][/ROW]
[ROW][C]M4[/C][C]-2.51555555555556[/C][C]0.887699[/C][C]-2.8338[/C][C]0.006809[/C][C]0.003404[/C][/ROW]
[ROW][C]M5[/C][C]-2.91861111111111[/C][C]0.883976[/C][C]-3.3017[/C][C]0.001864[/C][C]0.000932[/C][/ROW]
[ROW][C]M6[/C][C]-3.44166666666667[/C][C]0.880736[/C][C]-3.9077[/C][C]0.000304[/C][C]0.000152[/C][/ROW]
[ROW][C]M7[/C][C]-4.16472222222222[/C][C]0.877986[/C][C]-4.7435[/C][C]2.1e-05[/C][C]1e-05[/C][/ROW]
[ROW][C]M8[/C][C]-3.86777777777778[/C][C]0.875729[/C][C]-4.4166[/C][C]6e-05[/C][C]3e-05[/C][/ROW]
[ROW][C]M9[/C][C]-4.69083333333333[/C][C]0.87397[/C][C]-5.3673[/C][C]3e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M10[/C][C]-4.57388888888889[/C][C]0.872711[/C][C]-5.241[/C][C]4e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M11[/C][C]-0.816944444444445[/C][C]0.871955[/C][C]-0.9369[/C][C]0.353697[/C][C]0.176849[/C][/ROW]
[ROW][C]t[/C][C]-0.0569444444444444[/C][C]0.02097[/C][C]-2.7155[/C][C]0.009289[/C][C]0.004644[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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)24.75555555555560.80890630.603800
Samenwerking-1.313888888888890.726419-1.80870.0770330.038517
M10.5936111111111070.9017060.65830.5136140.256807
M2-0.9094444444444430.896571-1.01440.3157180.157859
M3-2.05250.891899-2.30130.0259580.012979
M4-2.515555555555560.887699-2.83380.0068090.003404
M5-2.918611111111110.883976-3.30170.0018640.000932
M6-3.441666666666670.880736-3.90770.0003040.000152
M7-4.164722222222220.877986-4.74352.1e-051e-05
M8-3.867777777777780.875729-4.41666e-053e-05
M9-4.690833333333330.87397-5.36733e-061e-06
M10-4.573888888888890.872711-5.2414e-062e-06
M11-0.8169444444444450.871955-0.93690.3536970.176849
t-0.05694444444444440.02097-2.71550.0092890.004644







Multiple Linear Regression - Regression Statistics
Multiple R0.891763263359902
R-squared0.795241717878302
Adjusted R-squared0.737375246843909
F-TEST (value)13.7427028754812
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value9.53037648798727e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.37828308094082
Sum Squared Residuals87.3845555555556

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.891763263359902 \tabularnewline
R-squared & 0.795241717878302 \tabularnewline
Adjusted R-squared & 0.737375246843909 \tabularnewline
F-TEST (value) & 13.7427028754812 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 9.53037648798727e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.37828308094082 \tabularnewline
Sum Squared Residuals & 87.3845555555556 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.891763263359902[/C][/ROW]
[ROW][C]R-squared[/C][C]0.795241717878302[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.737375246843909[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]13.7427028754812[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]9.53037648798727e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.37828308094082[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]87.3845555555556[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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.891763263359902
R-squared0.795241717878302
Adjusted R-squared0.737375246843909
F-TEST (value)13.7427028754812
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value9.53037648798727e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.37828308094082
Sum Squared Residuals87.3845555555556







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12525.2922222222222-0.292222222222238
223.623.7322222222222-0.13222222222222
322.322.5322222222222-0.232222222222220
421.822.0122222222222-0.212222222222220
520.821.5522222222222-0.75222222222222
619.720.9722222222222-1.27222222222222
718.320.1922222222222-1.89222222222222
817.420.4322222222222-3.03222222222222
91719.5522222222222-2.55222222222222
1018.119.6122222222222-1.51222222222222
1123.923.31222222222220.587777777777779
1225.624.07222222222221.52777777777778
1325.324.60888888888890.691111111111117
1423.623.04888888888890.551111111111112
1521.921.84888888888890.0511111111111101
1621.421.32888888888890.07111111111111
1720.620.8688888888889-0.268888888888888
1820.520.28888888888890.211111111111112
1920.219.50888888888890.69111111111111
2020.619.74888888888890.851111111111113
2119.718.86888888888890.831111111111112
2219.318.92888888888890.371111111111111
2322.822.62888888888890.171111111111112
2423.523.38888888888890.111111111111112
2523.823.9255555555556-0.125555555555551
2622.622.36555555555560.234444444444444
272221.16555555555560.834444444444445
2821.720.64555555555561.05444444444444
2920.720.18555555555560.514444444444443
3020.219.60555555555560.594444444444444
3119.118.82555555555560.274444444444445
3219.519.06555555555560.434444444444443
3318.718.18555555555560.514444444444443
3418.618.24555555555560.354444444444444
3522.221.94555555555560.254444444444443
3623.222.70555555555560.494444444444443
3723.521.92833333333331.57166666666667
3821.320.36833333333330.931666666666666
392019.16833333333330.831666666666667
4018.718.64833333333330.0516666666666663
4118.918.18833333333330.711666666666665
4218.317.60833333333330.691666666666668
4318.416.82833333333331.57166666666667
4419.917.06833333333332.83166666666667
4519.216.18833333333333.01166666666667
4618.516.24833333333332.25166666666667
4720.919.94833333333330.951666666666666
4820.520.7083333333333-0.208333333333334
4919.421.245-1.84500000000000
5018.119.685-1.585
511718.485-1.485
521717.965-0.965
5317.317.505-0.205
5416.716.925-0.225000000000001
5515.516.145-0.644999999999999
5615.316.385-1.085
5713.715.505-1.805
5814.115.565-1.465
5917.319.265-1.965
6018.120.025-1.925

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 25 & 25.2922222222222 & -0.292222222222238 \tabularnewline
2 & 23.6 & 23.7322222222222 & -0.13222222222222 \tabularnewline
3 & 22.3 & 22.5322222222222 & -0.232222222222220 \tabularnewline
4 & 21.8 & 22.0122222222222 & -0.212222222222220 \tabularnewline
5 & 20.8 & 21.5522222222222 & -0.75222222222222 \tabularnewline
6 & 19.7 & 20.9722222222222 & -1.27222222222222 \tabularnewline
7 & 18.3 & 20.1922222222222 & -1.89222222222222 \tabularnewline
8 & 17.4 & 20.4322222222222 & -3.03222222222222 \tabularnewline
9 & 17 & 19.5522222222222 & -2.55222222222222 \tabularnewline
10 & 18.1 & 19.6122222222222 & -1.51222222222222 \tabularnewline
11 & 23.9 & 23.3122222222222 & 0.587777777777779 \tabularnewline
12 & 25.6 & 24.0722222222222 & 1.52777777777778 \tabularnewline
13 & 25.3 & 24.6088888888889 & 0.691111111111117 \tabularnewline
14 & 23.6 & 23.0488888888889 & 0.551111111111112 \tabularnewline
15 & 21.9 & 21.8488888888889 & 0.0511111111111101 \tabularnewline
16 & 21.4 & 21.3288888888889 & 0.07111111111111 \tabularnewline
17 & 20.6 & 20.8688888888889 & -0.268888888888888 \tabularnewline
18 & 20.5 & 20.2888888888889 & 0.211111111111112 \tabularnewline
19 & 20.2 & 19.5088888888889 & 0.69111111111111 \tabularnewline
20 & 20.6 & 19.7488888888889 & 0.851111111111113 \tabularnewline
21 & 19.7 & 18.8688888888889 & 0.831111111111112 \tabularnewline
22 & 19.3 & 18.9288888888889 & 0.371111111111111 \tabularnewline
23 & 22.8 & 22.6288888888889 & 0.171111111111112 \tabularnewline
24 & 23.5 & 23.3888888888889 & 0.111111111111112 \tabularnewline
25 & 23.8 & 23.9255555555556 & -0.125555555555551 \tabularnewline
26 & 22.6 & 22.3655555555556 & 0.234444444444444 \tabularnewline
27 & 22 & 21.1655555555556 & 0.834444444444445 \tabularnewline
28 & 21.7 & 20.6455555555556 & 1.05444444444444 \tabularnewline
29 & 20.7 & 20.1855555555556 & 0.514444444444443 \tabularnewline
30 & 20.2 & 19.6055555555556 & 0.594444444444444 \tabularnewline
31 & 19.1 & 18.8255555555556 & 0.274444444444445 \tabularnewline
32 & 19.5 & 19.0655555555556 & 0.434444444444443 \tabularnewline
33 & 18.7 & 18.1855555555556 & 0.514444444444443 \tabularnewline
34 & 18.6 & 18.2455555555556 & 0.354444444444444 \tabularnewline
35 & 22.2 & 21.9455555555556 & 0.254444444444443 \tabularnewline
36 & 23.2 & 22.7055555555556 & 0.494444444444443 \tabularnewline
37 & 23.5 & 21.9283333333333 & 1.57166666666667 \tabularnewline
38 & 21.3 & 20.3683333333333 & 0.931666666666666 \tabularnewline
39 & 20 & 19.1683333333333 & 0.831666666666667 \tabularnewline
40 & 18.7 & 18.6483333333333 & 0.0516666666666663 \tabularnewline
41 & 18.9 & 18.1883333333333 & 0.711666666666665 \tabularnewline
42 & 18.3 & 17.6083333333333 & 0.691666666666668 \tabularnewline
43 & 18.4 & 16.8283333333333 & 1.57166666666667 \tabularnewline
44 & 19.9 & 17.0683333333333 & 2.83166666666667 \tabularnewline
45 & 19.2 & 16.1883333333333 & 3.01166666666667 \tabularnewline
46 & 18.5 & 16.2483333333333 & 2.25166666666667 \tabularnewline
47 & 20.9 & 19.9483333333333 & 0.951666666666666 \tabularnewline
48 & 20.5 & 20.7083333333333 & -0.208333333333334 \tabularnewline
49 & 19.4 & 21.245 & -1.84500000000000 \tabularnewline
50 & 18.1 & 19.685 & -1.585 \tabularnewline
51 & 17 & 18.485 & -1.485 \tabularnewline
52 & 17 & 17.965 & -0.965 \tabularnewline
53 & 17.3 & 17.505 & -0.205 \tabularnewline
54 & 16.7 & 16.925 & -0.225000000000001 \tabularnewline
55 & 15.5 & 16.145 & -0.644999999999999 \tabularnewline
56 & 15.3 & 16.385 & -1.085 \tabularnewline
57 & 13.7 & 15.505 & -1.805 \tabularnewline
58 & 14.1 & 15.565 & -1.465 \tabularnewline
59 & 17.3 & 19.265 & -1.965 \tabularnewline
60 & 18.1 & 20.025 & -1.925 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&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]25[/C][C]25.2922222222222[/C][C]-0.292222222222238[/C][/ROW]
[ROW][C]2[/C][C]23.6[/C][C]23.7322222222222[/C][C]-0.13222222222222[/C][/ROW]
[ROW][C]3[/C][C]22.3[/C][C]22.5322222222222[/C][C]-0.232222222222220[/C][/ROW]
[ROW][C]4[/C][C]21.8[/C][C]22.0122222222222[/C][C]-0.212222222222220[/C][/ROW]
[ROW][C]5[/C][C]20.8[/C][C]21.5522222222222[/C][C]-0.75222222222222[/C][/ROW]
[ROW][C]6[/C][C]19.7[/C][C]20.9722222222222[/C][C]-1.27222222222222[/C][/ROW]
[ROW][C]7[/C][C]18.3[/C][C]20.1922222222222[/C][C]-1.89222222222222[/C][/ROW]
[ROW][C]8[/C][C]17.4[/C][C]20.4322222222222[/C][C]-3.03222222222222[/C][/ROW]
[ROW][C]9[/C][C]17[/C][C]19.5522222222222[/C][C]-2.55222222222222[/C][/ROW]
[ROW][C]10[/C][C]18.1[/C][C]19.6122222222222[/C][C]-1.51222222222222[/C][/ROW]
[ROW][C]11[/C][C]23.9[/C][C]23.3122222222222[/C][C]0.587777777777779[/C][/ROW]
[ROW][C]12[/C][C]25.6[/C][C]24.0722222222222[/C][C]1.52777777777778[/C][/ROW]
[ROW][C]13[/C][C]25.3[/C][C]24.6088888888889[/C][C]0.691111111111117[/C][/ROW]
[ROW][C]14[/C][C]23.6[/C][C]23.0488888888889[/C][C]0.551111111111112[/C][/ROW]
[ROW][C]15[/C][C]21.9[/C][C]21.8488888888889[/C][C]0.0511111111111101[/C][/ROW]
[ROW][C]16[/C][C]21.4[/C][C]21.3288888888889[/C][C]0.07111111111111[/C][/ROW]
[ROW][C]17[/C][C]20.6[/C][C]20.8688888888889[/C][C]-0.268888888888888[/C][/ROW]
[ROW][C]18[/C][C]20.5[/C][C]20.2888888888889[/C][C]0.211111111111112[/C][/ROW]
[ROW][C]19[/C][C]20.2[/C][C]19.5088888888889[/C][C]0.69111111111111[/C][/ROW]
[ROW][C]20[/C][C]20.6[/C][C]19.7488888888889[/C][C]0.851111111111113[/C][/ROW]
[ROW][C]21[/C][C]19.7[/C][C]18.8688888888889[/C][C]0.831111111111112[/C][/ROW]
[ROW][C]22[/C][C]19.3[/C][C]18.9288888888889[/C][C]0.371111111111111[/C][/ROW]
[ROW][C]23[/C][C]22.8[/C][C]22.6288888888889[/C][C]0.171111111111112[/C][/ROW]
[ROW][C]24[/C][C]23.5[/C][C]23.3888888888889[/C][C]0.111111111111112[/C][/ROW]
[ROW][C]25[/C][C]23.8[/C][C]23.9255555555556[/C][C]-0.125555555555551[/C][/ROW]
[ROW][C]26[/C][C]22.6[/C][C]22.3655555555556[/C][C]0.234444444444444[/C][/ROW]
[ROW][C]27[/C][C]22[/C][C]21.1655555555556[/C][C]0.834444444444445[/C][/ROW]
[ROW][C]28[/C][C]21.7[/C][C]20.6455555555556[/C][C]1.05444444444444[/C][/ROW]
[ROW][C]29[/C][C]20.7[/C][C]20.1855555555556[/C][C]0.514444444444443[/C][/ROW]
[ROW][C]30[/C][C]20.2[/C][C]19.6055555555556[/C][C]0.594444444444444[/C][/ROW]
[ROW][C]31[/C][C]19.1[/C][C]18.8255555555556[/C][C]0.274444444444445[/C][/ROW]
[ROW][C]32[/C][C]19.5[/C][C]19.0655555555556[/C][C]0.434444444444443[/C][/ROW]
[ROW][C]33[/C][C]18.7[/C][C]18.1855555555556[/C][C]0.514444444444443[/C][/ROW]
[ROW][C]34[/C][C]18.6[/C][C]18.2455555555556[/C][C]0.354444444444444[/C][/ROW]
[ROW][C]35[/C][C]22.2[/C][C]21.9455555555556[/C][C]0.254444444444443[/C][/ROW]
[ROW][C]36[/C][C]23.2[/C][C]22.7055555555556[/C][C]0.494444444444443[/C][/ROW]
[ROW][C]37[/C][C]23.5[/C][C]21.9283333333333[/C][C]1.57166666666667[/C][/ROW]
[ROW][C]38[/C][C]21.3[/C][C]20.3683333333333[/C][C]0.931666666666666[/C][/ROW]
[ROW][C]39[/C][C]20[/C][C]19.1683333333333[/C][C]0.831666666666667[/C][/ROW]
[ROW][C]40[/C][C]18.7[/C][C]18.6483333333333[/C][C]0.0516666666666663[/C][/ROW]
[ROW][C]41[/C][C]18.9[/C][C]18.1883333333333[/C][C]0.711666666666665[/C][/ROW]
[ROW][C]42[/C][C]18.3[/C][C]17.6083333333333[/C][C]0.691666666666668[/C][/ROW]
[ROW][C]43[/C][C]18.4[/C][C]16.8283333333333[/C][C]1.57166666666667[/C][/ROW]
[ROW][C]44[/C][C]19.9[/C][C]17.0683333333333[/C][C]2.83166666666667[/C][/ROW]
[ROW][C]45[/C][C]19.2[/C][C]16.1883333333333[/C][C]3.01166666666667[/C][/ROW]
[ROW][C]46[/C][C]18.5[/C][C]16.2483333333333[/C][C]2.25166666666667[/C][/ROW]
[ROW][C]47[/C][C]20.9[/C][C]19.9483333333333[/C][C]0.951666666666666[/C][/ROW]
[ROW][C]48[/C][C]20.5[/C][C]20.7083333333333[/C][C]-0.208333333333334[/C][/ROW]
[ROW][C]49[/C][C]19.4[/C][C]21.245[/C][C]-1.84500000000000[/C][/ROW]
[ROW][C]50[/C][C]18.1[/C][C]19.685[/C][C]-1.585[/C][/ROW]
[ROW][C]51[/C][C]17[/C][C]18.485[/C][C]-1.485[/C][/ROW]
[ROW][C]52[/C][C]17[/C][C]17.965[/C][C]-0.965[/C][/ROW]
[ROW][C]53[/C][C]17.3[/C][C]17.505[/C][C]-0.205[/C][/ROW]
[ROW][C]54[/C][C]16.7[/C][C]16.925[/C][C]-0.225000000000001[/C][/ROW]
[ROW][C]55[/C][C]15.5[/C][C]16.145[/C][C]-0.644999999999999[/C][/ROW]
[ROW][C]56[/C][C]15.3[/C][C]16.385[/C][C]-1.085[/C][/ROW]
[ROW][C]57[/C][C]13.7[/C][C]15.505[/C][C]-1.805[/C][/ROW]
[ROW][C]58[/C][C]14.1[/C][C]15.565[/C][C]-1.465[/C][/ROW]
[ROW][C]59[/C][C]17.3[/C][C]19.265[/C][C]-1.965[/C][/ROW]
[ROW][C]60[/C][C]18.1[/C][C]20.025[/C][C]-1.925[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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
12525.2922222222222-0.292222222222238
223.623.7322222222222-0.13222222222222
322.322.5322222222222-0.232222222222220
421.822.0122222222222-0.212222222222220
520.821.5522222222222-0.75222222222222
619.720.9722222222222-1.27222222222222
718.320.1922222222222-1.89222222222222
817.420.4322222222222-3.03222222222222
91719.5522222222222-2.55222222222222
1018.119.6122222222222-1.51222222222222
1123.923.31222222222220.587777777777779
1225.624.07222222222221.52777777777778
1325.324.60888888888890.691111111111117
1423.623.04888888888890.551111111111112
1521.921.84888888888890.0511111111111101
1621.421.32888888888890.07111111111111
1720.620.8688888888889-0.268888888888888
1820.520.28888888888890.211111111111112
1920.219.50888888888890.69111111111111
2020.619.74888888888890.851111111111113
2119.718.86888888888890.831111111111112
2219.318.92888888888890.371111111111111
2322.822.62888888888890.171111111111112
2423.523.38888888888890.111111111111112
2523.823.9255555555556-0.125555555555551
2622.622.36555555555560.234444444444444
272221.16555555555560.834444444444445
2821.720.64555555555561.05444444444444
2920.720.18555555555560.514444444444443
3020.219.60555555555560.594444444444444
3119.118.82555555555560.274444444444445
3219.519.06555555555560.434444444444443
3318.718.18555555555560.514444444444443
3418.618.24555555555560.354444444444444
3522.221.94555555555560.254444444444443
3623.222.70555555555560.494444444444443
3723.521.92833333333331.57166666666667
3821.320.36833333333330.931666666666666
392019.16833333333330.831666666666667
4018.718.64833333333330.0516666666666663
4118.918.18833333333330.711666666666665
4218.317.60833333333330.691666666666668
4318.416.82833333333331.57166666666667
4419.917.06833333333332.83166666666667
4519.216.18833333333333.01166666666667
4618.516.24833333333332.25166666666667
4720.919.94833333333330.951666666666666
4820.520.7083333333333-0.208333333333334
4919.421.245-1.84500000000000
5018.119.685-1.585
511718.485-1.485
521717.965-0.965
5317.317.505-0.205
5416.716.925-0.225000000000001
5515.516.145-0.644999999999999
5615.316.385-1.085
5713.715.505-1.805
5814.115.565-1.465
5917.319.265-1.965
6018.120.025-1.925







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01903243293285680.03806486586571350.980967567067143
180.03464305401912850.0692861080382570.965356945980872
190.1797367830153200.3594735660306410.82026321698468
200.5885100695318310.8229798609363380.411489930468169
210.6935323454761610.6129353090476780.306467654523839
220.6969935574519010.6060128850961970.303006442548099
230.8254911370580080.3490177258839840.174508862941992
240.9568350215809410.08632995683811710.0431649784190586
250.9632794800926170.07344103981476520.0367205199073826
260.9503113974780020.0993772050439960.049688602521998
270.9260706094791730.1478587810416540.073929390520827
280.911040747185890.177918505628220.08895925281411
290.8622021171152670.2755957657694660.137797882884733
300.7978616016941740.4042767966116530.202138398305826
310.7286867884264430.5426264231471140.271313211573557
320.6775241291963990.6449517416072020.322475870803601
330.6078753859214050.784249228157190.392124614078595
340.5560737048140940.8878525903718110.443926295185905
350.5083750398004670.9832499203990660.491624960199533
360.4455846325290340.8911692650580680.554415367470966
370.371081275830420.742162551660840.62891872416958
380.2754133811164610.5508267622329210.72458661888354
390.1890181948386140.3780363896772270.810981805161386
400.1927608622492830.3855217244985660.807239137750717
410.2206666967315680.4413333934631360.779333303268432
420.3495241482108970.6990482964217950.650475851789103
430.3072989803053540.6145979606107080.692701019694646

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0190324329328568 & 0.0380648658657135 & 0.980967567067143 \tabularnewline
18 & 0.0346430540191285 & 0.069286108038257 & 0.965356945980872 \tabularnewline
19 & 0.179736783015320 & 0.359473566030641 & 0.82026321698468 \tabularnewline
20 & 0.588510069531831 & 0.822979860936338 & 0.411489930468169 \tabularnewline
21 & 0.693532345476161 & 0.612935309047678 & 0.306467654523839 \tabularnewline
22 & 0.696993557451901 & 0.606012885096197 & 0.303006442548099 \tabularnewline
23 & 0.825491137058008 & 0.349017725883984 & 0.174508862941992 \tabularnewline
24 & 0.956835021580941 & 0.0863299568381171 & 0.0431649784190586 \tabularnewline
25 & 0.963279480092617 & 0.0734410398147652 & 0.0367205199073826 \tabularnewline
26 & 0.950311397478002 & 0.099377205043996 & 0.049688602521998 \tabularnewline
27 & 0.926070609479173 & 0.147858781041654 & 0.073929390520827 \tabularnewline
28 & 0.91104074718589 & 0.17791850562822 & 0.08895925281411 \tabularnewline
29 & 0.862202117115267 & 0.275595765769466 & 0.137797882884733 \tabularnewline
30 & 0.797861601694174 & 0.404276796611653 & 0.202138398305826 \tabularnewline
31 & 0.728686788426443 & 0.542626423147114 & 0.271313211573557 \tabularnewline
32 & 0.677524129196399 & 0.644951741607202 & 0.322475870803601 \tabularnewline
33 & 0.607875385921405 & 0.78424922815719 & 0.392124614078595 \tabularnewline
34 & 0.556073704814094 & 0.887852590371811 & 0.443926295185905 \tabularnewline
35 & 0.508375039800467 & 0.983249920399066 & 0.491624960199533 \tabularnewline
36 & 0.445584632529034 & 0.891169265058068 & 0.554415367470966 \tabularnewline
37 & 0.37108127583042 & 0.74216255166084 & 0.62891872416958 \tabularnewline
38 & 0.275413381116461 & 0.550826762232921 & 0.72458661888354 \tabularnewline
39 & 0.189018194838614 & 0.378036389677227 & 0.810981805161386 \tabularnewline
40 & 0.192760862249283 & 0.385521724498566 & 0.807239137750717 \tabularnewline
41 & 0.220666696731568 & 0.441333393463136 & 0.779333303268432 \tabularnewline
42 & 0.349524148210897 & 0.699048296421795 & 0.650475851789103 \tabularnewline
43 & 0.307298980305354 & 0.614597960610708 & 0.692701019694646 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&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]17[/C][C]0.0190324329328568[/C][C]0.0380648658657135[/C][C]0.980967567067143[/C][/ROW]
[ROW][C]18[/C][C]0.0346430540191285[/C][C]0.069286108038257[/C][C]0.965356945980872[/C][/ROW]
[ROW][C]19[/C][C]0.179736783015320[/C][C]0.359473566030641[/C][C]0.82026321698468[/C][/ROW]
[ROW][C]20[/C][C]0.588510069531831[/C][C]0.822979860936338[/C][C]0.411489930468169[/C][/ROW]
[ROW][C]21[/C][C]0.693532345476161[/C][C]0.612935309047678[/C][C]0.306467654523839[/C][/ROW]
[ROW][C]22[/C][C]0.696993557451901[/C][C]0.606012885096197[/C][C]0.303006442548099[/C][/ROW]
[ROW][C]23[/C][C]0.825491137058008[/C][C]0.349017725883984[/C][C]0.174508862941992[/C][/ROW]
[ROW][C]24[/C][C]0.956835021580941[/C][C]0.0863299568381171[/C][C]0.0431649784190586[/C][/ROW]
[ROW][C]25[/C][C]0.963279480092617[/C][C]0.0734410398147652[/C][C]0.0367205199073826[/C][/ROW]
[ROW][C]26[/C][C]0.950311397478002[/C][C]0.099377205043996[/C][C]0.049688602521998[/C][/ROW]
[ROW][C]27[/C][C]0.926070609479173[/C][C]0.147858781041654[/C][C]0.073929390520827[/C][/ROW]
[ROW][C]28[/C][C]0.91104074718589[/C][C]0.17791850562822[/C][C]0.08895925281411[/C][/ROW]
[ROW][C]29[/C][C]0.862202117115267[/C][C]0.275595765769466[/C][C]0.137797882884733[/C][/ROW]
[ROW][C]30[/C][C]0.797861601694174[/C][C]0.404276796611653[/C][C]0.202138398305826[/C][/ROW]
[ROW][C]31[/C][C]0.728686788426443[/C][C]0.542626423147114[/C][C]0.271313211573557[/C][/ROW]
[ROW][C]32[/C][C]0.677524129196399[/C][C]0.644951741607202[/C][C]0.322475870803601[/C][/ROW]
[ROW][C]33[/C][C]0.607875385921405[/C][C]0.78424922815719[/C][C]0.392124614078595[/C][/ROW]
[ROW][C]34[/C][C]0.556073704814094[/C][C]0.887852590371811[/C][C]0.443926295185905[/C][/ROW]
[ROW][C]35[/C][C]0.508375039800467[/C][C]0.983249920399066[/C][C]0.491624960199533[/C][/ROW]
[ROW][C]36[/C][C]0.445584632529034[/C][C]0.891169265058068[/C][C]0.554415367470966[/C][/ROW]
[ROW][C]37[/C][C]0.37108127583042[/C][C]0.74216255166084[/C][C]0.62891872416958[/C][/ROW]
[ROW][C]38[/C][C]0.275413381116461[/C][C]0.550826762232921[/C][C]0.72458661888354[/C][/ROW]
[ROW][C]39[/C][C]0.189018194838614[/C][C]0.378036389677227[/C][C]0.810981805161386[/C][/ROW]
[ROW][C]40[/C][C]0.192760862249283[/C][C]0.385521724498566[/C][C]0.807239137750717[/C][/ROW]
[ROW][C]41[/C][C]0.220666696731568[/C][C]0.441333393463136[/C][C]0.779333303268432[/C][/ROW]
[ROW][C]42[/C][C]0.349524148210897[/C][C]0.699048296421795[/C][C]0.650475851789103[/C][/ROW]
[ROW][C]43[/C][C]0.307298980305354[/C][C]0.614597960610708[/C][C]0.692701019694646[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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
170.01903243293285680.03806486586571350.980967567067143
180.03464305401912850.0692861080382570.965356945980872
190.1797367830153200.3594735660306410.82026321698468
200.5885100695318310.8229798609363380.411489930468169
210.6935323454761610.6129353090476780.306467654523839
220.6969935574519010.6060128850961970.303006442548099
230.8254911370580080.3490177258839840.174508862941992
240.9568350215809410.08632995683811710.0431649784190586
250.9632794800926170.07344103981476520.0367205199073826
260.9503113974780020.0993772050439960.049688602521998
270.9260706094791730.1478587810416540.073929390520827
280.911040747185890.177918505628220.08895925281411
290.8622021171152670.2755957657694660.137797882884733
300.7978616016941740.4042767966116530.202138398305826
310.7286867884264430.5426264231471140.271313211573557
320.6775241291963990.6449517416072020.322475870803601
330.6078753859214050.784249228157190.392124614078595
340.5560737048140940.8878525903718110.443926295185905
350.5083750398004670.9832499203990660.491624960199533
360.4455846325290340.8911692650580680.554415367470966
370.371081275830420.742162551660840.62891872416958
380.2754133811164610.5508267622329210.72458661888354
390.1890181948386140.3780363896772270.810981805161386
400.1927608622492830.3855217244985660.807239137750717
410.2206666967315680.4413333934631360.779333303268432
420.3495241482108970.6990482964217950.650475851789103
430.3072989803053540.6145979606107080.692701019694646







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

\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 & 1 & 0.037037037037037 & OK \tabularnewline
10% type I error level & 5 & 0.185185185185185 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34189&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]1[/C][C]0.037037037037037[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]5[/C][C]0.185185185185185[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34189&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34189&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 level10.037037037037037OK
10% type I error level50.185185185185185NOK



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