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 computationSat, 20 Dec 2008 08:56:21 -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/20/t12297886606u8f6ijidjcj0ol.htm/, Retrieved Sun, 19 May 2024 10:41:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35413, Retrieved Sun, 19 May 2024 10:41:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [Werkloosheid - Jo...] [2008-12-14 16:04:23] [44ec60eb6065a3f81a5f756bd5af1faf]
- RMPD  [Multiple Regression] [Werkloosheid - Jo...] [2008-12-20 15:35:07] [44ec60eb6065a3f81a5f756bd5af1faf]
-    D      [Multiple Regression] [Werkloosheid - Jo...] [2008-12-20 15:56:21] [924502d03698cd41cacbcd1327858815] [Current]
Feedback Forum

Post a new message
Dataseries X:
21.1	0
21	0
20.4	0
19.5	0
18.6	0
18.8	0
23.7	0
24.8	0
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	0
21.3	0
20	0
18.7	0
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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&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]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 21.4291666666666 -1.49583333333334X[t] -0.0086111111111364M1[t] -0.460555555555551M2[t] -1.09249999999999M3[t] -0.96444444444444M4[t] -1.67638888888889M5[t] -1.62833333333333M6[t] + 2.43972222222222M7[t] + 3.28777777777778M8[t] + 3.19583333333334M9[t] + 1.66388888888889M10[t] + 0.491944444444446M11[t] -0.0280555555555553t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  21.4291666666666 -1.49583333333334X[t] -0.0086111111111364M1[t] -0.460555555555551M2[t] -1.09249999999999M3[t] -0.96444444444444M4[t] -1.67638888888889M5[t] -1.62833333333333M6[t] +  2.43972222222222M7[t] +  3.28777777777778M8[t] +  3.19583333333334M9[t] +  1.66388888888889M10[t] +  0.491944444444446M11[t] -0.0280555555555553t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  21.4291666666666 -1.49583333333334X[t] -0.0086111111111364M1[t] -0.460555555555551M2[t] -1.09249999999999M3[t] -0.96444444444444M4[t] -1.67638888888889M5[t] -1.62833333333333M6[t] +  2.43972222222222M7[t] +  3.28777777777778M8[t] +  3.19583333333334M9[t] +  1.66388888888889M10[t] +  0.491944444444446M11[t] -0.0280555555555553t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35413&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] = + 21.4291666666666 -1.49583333333334X[t] -0.0086111111111364M1[t] -0.460555555555551M2[t] -1.09249999999999M3[t] -0.96444444444444M4[t] -1.67638888888889M5[t] -1.62833333333333M6[t] + 2.43972222222222M7[t] + 3.28777777777778M8[t] + 3.19583333333334M9[t] + 1.66388888888889M10[t] + 0.491944444444446M11[t] -0.0280555555555553t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)21.42916666666660.66303532.319800
X-1.495833333333340.545011-2.74460.0086120.004306
M1-0.00861111111113640.768296-0.01120.9911060.495553
M2-0.4605555555555510.766038-0.60120.5506460.275323
M3-1.092499999999990.763988-1.430.1594760.079738
M4-0.964444444444440.76215-1.26540.2120910.106046
M5-1.676388888888890.760525-2.20430.0325490.016274
M6-1.628333333333330.759113-2.1450.0372630.018631
M72.439722222222220.7579163.2190.0023610.00118
M83.287777777777780.7569364.34357.6e-053.8e-05
M93.195833333333340.7561724.22630.0001115.6e-05
M101.663888888888890.7556272.2020.0327180.016359
M110.4919444444444460.7552990.65130.5180780.259039
t-0.02805555555555530.012846-2.1840.0340990.01705

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 21.4291666666666 & 0.663035 & 32.3198 & 0 & 0 \tabularnewline
X & -1.49583333333334 & 0.545011 & -2.7446 & 0.008612 & 0.004306 \tabularnewline
M1 & -0.0086111111111364 & 0.768296 & -0.0112 & 0.991106 & 0.495553 \tabularnewline
M2 & -0.460555555555551 & 0.766038 & -0.6012 & 0.550646 & 0.275323 \tabularnewline
M3 & -1.09249999999999 & 0.763988 & -1.43 & 0.159476 & 0.079738 \tabularnewline
M4 & -0.96444444444444 & 0.76215 & -1.2654 & 0.212091 & 0.106046 \tabularnewline
M5 & -1.67638888888889 & 0.760525 & -2.2043 & 0.032549 & 0.016274 \tabularnewline
M6 & -1.62833333333333 & 0.759113 & -2.145 & 0.037263 & 0.018631 \tabularnewline
M7 & 2.43972222222222 & 0.757916 & 3.219 & 0.002361 & 0.00118 \tabularnewline
M8 & 3.28777777777778 & 0.756936 & 4.3435 & 7.6e-05 & 3.8e-05 \tabularnewline
M9 & 3.19583333333334 & 0.756172 & 4.2263 & 0.000111 & 5.6e-05 \tabularnewline
M10 & 1.66388888888889 & 0.755627 & 2.202 & 0.032718 & 0.016359 \tabularnewline
M11 & 0.491944444444446 & 0.755299 & 0.6513 & 0.518078 & 0.259039 \tabularnewline
t & -0.0280555555555553 & 0.012846 & -2.184 & 0.034099 & 0.01705 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]21.4291666666666[/C][C]0.663035[/C][C]32.3198[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-1.49583333333334[/C][C]0.545011[/C][C]-2.7446[/C][C]0.008612[/C][C]0.004306[/C][/ROW]
[ROW][C]M1[/C][C]-0.0086111111111364[/C][C]0.768296[/C][C]-0.0112[/C][C]0.991106[/C][C]0.495553[/C][/ROW]
[ROW][C]M2[/C][C]-0.460555555555551[/C][C]0.766038[/C][C]-0.6012[/C][C]0.550646[/C][C]0.275323[/C][/ROW]
[ROW][C]M3[/C][C]-1.09249999999999[/C][C]0.763988[/C][C]-1.43[/C][C]0.159476[/C][C]0.079738[/C][/ROW]
[ROW][C]M4[/C][C]-0.96444444444444[/C][C]0.76215[/C][C]-1.2654[/C][C]0.212091[/C][C]0.106046[/C][/ROW]
[ROW][C]M5[/C][C]-1.67638888888889[/C][C]0.760525[/C][C]-2.2043[/C][C]0.032549[/C][C]0.016274[/C][/ROW]
[ROW][C]M6[/C][C]-1.62833333333333[/C][C]0.759113[/C][C]-2.145[/C][C]0.037263[/C][C]0.018631[/C][/ROW]
[ROW][C]M7[/C][C]2.43972222222222[/C][C]0.757916[/C][C]3.219[/C][C]0.002361[/C][C]0.00118[/C][/ROW]
[ROW][C]M8[/C][C]3.28777777777778[/C][C]0.756936[/C][C]4.3435[/C][C]7.6e-05[/C][C]3.8e-05[/C][/ROW]
[ROW][C]M9[/C][C]3.19583333333334[/C][C]0.756172[/C][C]4.2263[/C][C]0.000111[/C][C]5.6e-05[/C][/ROW]
[ROW][C]M10[/C][C]1.66388888888889[/C][C]0.755627[/C][C]2.202[/C][C]0.032718[/C][C]0.016359[/C][/ROW]
[ROW][C]M11[/C][C]0.491944444444446[/C][C]0.755299[/C][C]0.6513[/C][C]0.518078[/C][C]0.259039[/C][/ROW]
[ROW][C]t[/C][C]-0.0280555555555553[/C][C]0.012846[/C][C]-2.184[/C][C]0.034099[/C][C]0.01705[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)21.42916666666660.66303532.319800
X-1.495833333333340.545011-2.74460.0086120.004306
M1-0.00861111111113640.768296-0.01120.9911060.495553
M2-0.4605555555555510.766038-0.60120.5506460.275323
M3-1.092499999999990.763988-1.430.1594760.079738
M4-0.964444444444440.76215-1.26540.2120910.106046
M5-1.676388888888890.760525-2.20430.0325490.016274
M6-1.628333333333330.759113-2.1450.0372630.018631
M72.439722222222220.7579163.2190.0023610.00118
M83.287777777777780.7569364.34357.6e-053.8e-05
M93.195833333333340.7561724.22630.0001115.6e-05
M101.663888888888890.7556272.2020.0327180.016359
M110.4919444444444460.7552990.65130.5180780.259039
t-0.02805555555555530.012846-2.1840.0340990.01705







Multiple Linear Regression - Regression Statistics
Multiple R0.881146077902452
R-squared0.776418410602874
Adjusted R-squared0.713232309251513
F-TEST (value)12.2878037099553
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.36077857052442e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.19405987517681
Sum Squared Residuals65.5858333333334

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.881146077902452 \tabularnewline
R-squared & 0.776418410602874 \tabularnewline
Adjusted R-squared & 0.713232309251513 \tabularnewline
F-TEST (value) & 12.2878037099553 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 6.36077857052442e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1.19405987517681 \tabularnewline
Sum Squared Residuals & 65.5858333333334 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.881146077902452[/C][/ROW]
[ROW][C]R-squared[/C][C]0.776418410602874[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.713232309251513[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]12.2878037099553[/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]6.36077857052442e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1.19405987517681[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]65.5858333333334[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35413&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.881146077902452
R-squared0.776418410602874
Adjusted R-squared0.713232309251513
F-TEST (value)12.2878037099553
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.36077857052442e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.19405987517681
Sum Squared Residuals65.5858333333334







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
121.121.3925000000001-0.292500000000114
22120.91250.0875000000000067
320.420.25250.147500000000005
419.520.3525-0.852499999999993
518.619.6125-1.01250000000000
618.819.6325-0.832499999999994
723.723.67250.0275000000000042
824.824.49250.307500000000008
92524.37250.627500000000007
1023.622.81250.787500000000006
1122.321.61250.687500000000008
1221.821.09250.707500000000008
1320.821.0558333333333-0.2558333333333
1419.720.5758333333333-0.875833333333331
1518.319.9158333333333-1.61583333333333
1617.420.0158333333333-2.61583333333333
171719.2758333333333-2.27583333333333
1818.119.2958333333333-1.19583333333333
1923.923.33583333333330.564166666666669
2025.624.15583333333331.44416666666667
2125.324.03583333333331.26416666666667
2223.622.47583333333331.12416666666667
2321.921.27583333333330.624166666666668
2421.420.75583333333330.64416666666667
2520.620.7191666666666-0.119166666666637
2620.520.23916666666670.260833333333332
2720.219.57916666666670.620833333333331
2820.619.67916666666670.920833333333333
2919.718.93916666666670.760833333333332
3019.318.95916666666670.340833333333332
3122.822.9991666666667-0.199166666666666
3223.523.8191666666667-0.319166666666669
3323.823.69916666666670.100833333333332
3422.622.13916666666670.460833333333332
352220.93916666666671.06083333333333
3621.720.41916666666671.28083333333333
3720.720.38250000000000.317500000000024
3820.219.90250.297499999999994
3919.119.2425-0.142500000000004
4019.519.34250.157499999999995
4118.718.60250.0974999999999943
4218.618.6225-0.0225000000000043
4322.222.6625-0.462500000000004
4423.223.4825-0.282500000000007
4523.523.36250.137499999999995
4621.321.8025-0.502500000000005
472020.6025-0.602500000000005
4818.720.0825-1.38250000000000
4918.918.55000000000000.350000000000026
5018.318.070.229999999999999
5118.417.410.989999999999997
5219.917.512.39000000000000
5319.216.772.43
5418.516.791.71000000000000
5520.920.830.0699999999999988
5620.521.65-1.15000000000000
5719.421.53-2.13000000000000
5818.119.97-1.87
591718.77-1.77000000000000
601718.25-1.25000000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 21.1 & 21.3925000000001 & -0.292500000000114 \tabularnewline
2 & 21 & 20.9125 & 0.0875000000000067 \tabularnewline
3 & 20.4 & 20.2525 & 0.147500000000005 \tabularnewline
4 & 19.5 & 20.3525 & -0.852499999999993 \tabularnewline
5 & 18.6 & 19.6125 & -1.01250000000000 \tabularnewline
6 & 18.8 & 19.6325 & -0.832499999999994 \tabularnewline
7 & 23.7 & 23.6725 & 0.0275000000000042 \tabularnewline
8 & 24.8 & 24.4925 & 0.307500000000008 \tabularnewline
9 & 25 & 24.3725 & 0.627500000000007 \tabularnewline
10 & 23.6 & 22.8125 & 0.787500000000006 \tabularnewline
11 & 22.3 & 21.6125 & 0.687500000000008 \tabularnewline
12 & 21.8 & 21.0925 & 0.707500000000008 \tabularnewline
13 & 20.8 & 21.0558333333333 & -0.2558333333333 \tabularnewline
14 & 19.7 & 20.5758333333333 & -0.875833333333331 \tabularnewline
15 & 18.3 & 19.9158333333333 & -1.61583333333333 \tabularnewline
16 & 17.4 & 20.0158333333333 & -2.61583333333333 \tabularnewline
17 & 17 & 19.2758333333333 & -2.27583333333333 \tabularnewline
18 & 18.1 & 19.2958333333333 & -1.19583333333333 \tabularnewline
19 & 23.9 & 23.3358333333333 & 0.564166666666669 \tabularnewline
20 & 25.6 & 24.1558333333333 & 1.44416666666667 \tabularnewline
21 & 25.3 & 24.0358333333333 & 1.26416666666667 \tabularnewline
22 & 23.6 & 22.4758333333333 & 1.12416666666667 \tabularnewline
23 & 21.9 & 21.2758333333333 & 0.624166666666668 \tabularnewline
24 & 21.4 & 20.7558333333333 & 0.64416666666667 \tabularnewline
25 & 20.6 & 20.7191666666666 & -0.119166666666637 \tabularnewline
26 & 20.5 & 20.2391666666667 & 0.260833333333332 \tabularnewline
27 & 20.2 & 19.5791666666667 & 0.620833333333331 \tabularnewline
28 & 20.6 & 19.6791666666667 & 0.920833333333333 \tabularnewline
29 & 19.7 & 18.9391666666667 & 0.760833333333332 \tabularnewline
30 & 19.3 & 18.9591666666667 & 0.340833333333332 \tabularnewline
31 & 22.8 & 22.9991666666667 & -0.199166666666666 \tabularnewline
32 & 23.5 & 23.8191666666667 & -0.319166666666669 \tabularnewline
33 & 23.8 & 23.6991666666667 & 0.100833333333332 \tabularnewline
34 & 22.6 & 22.1391666666667 & 0.460833333333332 \tabularnewline
35 & 22 & 20.9391666666667 & 1.06083333333333 \tabularnewline
36 & 21.7 & 20.4191666666667 & 1.28083333333333 \tabularnewline
37 & 20.7 & 20.3825000000000 & 0.317500000000024 \tabularnewline
38 & 20.2 & 19.9025 & 0.297499999999994 \tabularnewline
39 & 19.1 & 19.2425 & -0.142500000000004 \tabularnewline
40 & 19.5 & 19.3425 & 0.157499999999995 \tabularnewline
41 & 18.7 & 18.6025 & 0.0974999999999943 \tabularnewline
42 & 18.6 & 18.6225 & -0.0225000000000043 \tabularnewline
43 & 22.2 & 22.6625 & -0.462500000000004 \tabularnewline
44 & 23.2 & 23.4825 & -0.282500000000007 \tabularnewline
45 & 23.5 & 23.3625 & 0.137499999999995 \tabularnewline
46 & 21.3 & 21.8025 & -0.502500000000005 \tabularnewline
47 & 20 & 20.6025 & -0.602500000000005 \tabularnewline
48 & 18.7 & 20.0825 & -1.38250000000000 \tabularnewline
49 & 18.9 & 18.5500000000000 & 0.350000000000026 \tabularnewline
50 & 18.3 & 18.07 & 0.229999999999999 \tabularnewline
51 & 18.4 & 17.41 & 0.989999999999997 \tabularnewline
52 & 19.9 & 17.51 & 2.39000000000000 \tabularnewline
53 & 19.2 & 16.77 & 2.43 \tabularnewline
54 & 18.5 & 16.79 & 1.71000000000000 \tabularnewline
55 & 20.9 & 20.83 & 0.0699999999999988 \tabularnewline
56 & 20.5 & 21.65 & -1.15000000000000 \tabularnewline
57 & 19.4 & 21.53 & -2.13000000000000 \tabularnewline
58 & 18.1 & 19.97 & -1.87 \tabularnewline
59 & 17 & 18.77 & -1.77000000000000 \tabularnewline
60 & 17 & 18.25 & -1.25000000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&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]21.1[/C][C]21.3925000000001[/C][C]-0.292500000000114[/C][/ROW]
[ROW][C]2[/C][C]21[/C][C]20.9125[/C][C]0.0875000000000067[/C][/ROW]
[ROW][C]3[/C][C]20.4[/C][C]20.2525[/C][C]0.147500000000005[/C][/ROW]
[ROW][C]4[/C][C]19.5[/C][C]20.3525[/C][C]-0.852499999999993[/C][/ROW]
[ROW][C]5[/C][C]18.6[/C][C]19.6125[/C][C]-1.01250000000000[/C][/ROW]
[ROW][C]6[/C][C]18.8[/C][C]19.6325[/C][C]-0.832499999999994[/C][/ROW]
[ROW][C]7[/C][C]23.7[/C][C]23.6725[/C][C]0.0275000000000042[/C][/ROW]
[ROW][C]8[/C][C]24.8[/C][C]24.4925[/C][C]0.307500000000008[/C][/ROW]
[ROW][C]9[/C][C]25[/C][C]24.3725[/C][C]0.627500000000007[/C][/ROW]
[ROW][C]10[/C][C]23.6[/C][C]22.8125[/C][C]0.787500000000006[/C][/ROW]
[ROW][C]11[/C][C]22.3[/C][C]21.6125[/C][C]0.687500000000008[/C][/ROW]
[ROW][C]12[/C][C]21.8[/C][C]21.0925[/C][C]0.707500000000008[/C][/ROW]
[ROW][C]13[/C][C]20.8[/C][C]21.0558333333333[/C][C]-0.2558333333333[/C][/ROW]
[ROW][C]14[/C][C]19.7[/C][C]20.5758333333333[/C][C]-0.875833333333331[/C][/ROW]
[ROW][C]15[/C][C]18.3[/C][C]19.9158333333333[/C][C]-1.61583333333333[/C][/ROW]
[ROW][C]16[/C][C]17.4[/C][C]20.0158333333333[/C][C]-2.61583333333333[/C][/ROW]
[ROW][C]17[/C][C]17[/C][C]19.2758333333333[/C][C]-2.27583333333333[/C][/ROW]
[ROW][C]18[/C][C]18.1[/C][C]19.2958333333333[/C][C]-1.19583333333333[/C][/ROW]
[ROW][C]19[/C][C]23.9[/C][C]23.3358333333333[/C][C]0.564166666666669[/C][/ROW]
[ROW][C]20[/C][C]25.6[/C][C]24.1558333333333[/C][C]1.44416666666667[/C][/ROW]
[ROW][C]21[/C][C]25.3[/C][C]24.0358333333333[/C][C]1.26416666666667[/C][/ROW]
[ROW][C]22[/C][C]23.6[/C][C]22.4758333333333[/C][C]1.12416666666667[/C][/ROW]
[ROW][C]23[/C][C]21.9[/C][C]21.2758333333333[/C][C]0.624166666666668[/C][/ROW]
[ROW][C]24[/C][C]21.4[/C][C]20.7558333333333[/C][C]0.64416666666667[/C][/ROW]
[ROW][C]25[/C][C]20.6[/C][C]20.7191666666666[/C][C]-0.119166666666637[/C][/ROW]
[ROW][C]26[/C][C]20.5[/C][C]20.2391666666667[/C][C]0.260833333333332[/C][/ROW]
[ROW][C]27[/C][C]20.2[/C][C]19.5791666666667[/C][C]0.620833333333331[/C][/ROW]
[ROW][C]28[/C][C]20.6[/C][C]19.6791666666667[/C][C]0.920833333333333[/C][/ROW]
[ROW][C]29[/C][C]19.7[/C][C]18.9391666666667[/C][C]0.760833333333332[/C][/ROW]
[ROW][C]30[/C][C]19.3[/C][C]18.9591666666667[/C][C]0.340833333333332[/C][/ROW]
[ROW][C]31[/C][C]22.8[/C][C]22.9991666666667[/C][C]-0.199166666666666[/C][/ROW]
[ROW][C]32[/C][C]23.5[/C][C]23.8191666666667[/C][C]-0.319166666666669[/C][/ROW]
[ROW][C]33[/C][C]23.8[/C][C]23.6991666666667[/C][C]0.100833333333332[/C][/ROW]
[ROW][C]34[/C][C]22.6[/C][C]22.1391666666667[/C][C]0.460833333333332[/C][/ROW]
[ROW][C]35[/C][C]22[/C][C]20.9391666666667[/C][C]1.06083333333333[/C][/ROW]
[ROW][C]36[/C][C]21.7[/C][C]20.4191666666667[/C][C]1.28083333333333[/C][/ROW]
[ROW][C]37[/C][C]20.7[/C][C]20.3825000000000[/C][C]0.317500000000024[/C][/ROW]
[ROW][C]38[/C][C]20.2[/C][C]19.9025[/C][C]0.297499999999994[/C][/ROW]
[ROW][C]39[/C][C]19.1[/C][C]19.2425[/C][C]-0.142500000000004[/C][/ROW]
[ROW][C]40[/C][C]19.5[/C][C]19.3425[/C][C]0.157499999999995[/C][/ROW]
[ROW][C]41[/C][C]18.7[/C][C]18.6025[/C][C]0.0974999999999943[/C][/ROW]
[ROW][C]42[/C][C]18.6[/C][C]18.6225[/C][C]-0.0225000000000043[/C][/ROW]
[ROW][C]43[/C][C]22.2[/C][C]22.6625[/C][C]-0.462500000000004[/C][/ROW]
[ROW][C]44[/C][C]23.2[/C][C]23.4825[/C][C]-0.282500000000007[/C][/ROW]
[ROW][C]45[/C][C]23.5[/C][C]23.3625[/C][C]0.137499999999995[/C][/ROW]
[ROW][C]46[/C][C]21.3[/C][C]21.8025[/C][C]-0.502500000000005[/C][/ROW]
[ROW][C]47[/C][C]20[/C][C]20.6025[/C][C]-0.602500000000005[/C][/ROW]
[ROW][C]48[/C][C]18.7[/C][C]20.0825[/C][C]-1.38250000000000[/C][/ROW]
[ROW][C]49[/C][C]18.9[/C][C]18.5500000000000[/C][C]0.350000000000026[/C][/ROW]
[ROW][C]50[/C][C]18.3[/C][C]18.07[/C][C]0.229999999999999[/C][/ROW]
[ROW][C]51[/C][C]18.4[/C][C]17.41[/C][C]0.989999999999997[/C][/ROW]
[ROW][C]52[/C][C]19.9[/C][C]17.51[/C][C]2.39000000000000[/C][/ROW]
[ROW][C]53[/C][C]19.2[/C][C]16.77[/C][C]2.43[/C][/ROW]
[ROW][C]54[/C][C]18.5[/C][C]16.79[/C][C]1.71000000000000[/C][/ROW]
[ROW][C]55[/C][C]20.9[/C][C]20.83[/C][C]0.0699999999999988[/C][/ROW]
[ROW][C]56[/C][C]20.5[/C][C]21.65[/C][C]-1.15000000000000[/C][/ROW]
[ROW][C]57[/C][C]19.4[/C][C]21.53[/C][C]-2.13000000000000[/C][/ROW]
[ROW][C]58[/C][C]18.1[/C][C]19.97[/C][C]-1.87[/C][/ROW]
[ROW][C]59[/C][C]17[/C][C]18.77[/C][C]-1.77000000000000[/C][/ROW]
[ROW][C]60[/C][C]17[/C][C]18.25[/C][C]-1.25000000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35413&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
121.121.3925000000001-0.292500000000114
22120.91250.0875000000000067
320.420.25250.147500000000005
419.520.3525-0.852499999999993
518.619.6125-1.01250000000000
618.819.6325-0.832499999999994
723.723.67250.0275000000000042
824.824.49250.307500000000008
92524.37250.627500000000007
1023.622.81250.787500000000006
1122.321.61250.687500000000008
1221.821.09250.707500000000008
1320.821.0558333333333-0.2558333333333
1419.720.5758333333333-0.875833333333331
1518.319.9158333333333-1.61583333333333
1617.420.0158333333333-2.61583333333333
171719.2758333333333-2.27583333333333
1818.119.2958333333333-1.19583333333333
1923.923.33583333333330.564166666666669
2025.624.15583333333331.44416666666667
2125.324.03583333333331.26416666666667
2223.622.47583333333331.12416666666667
2321.921.27583333333330.624166666666668
2421.420.75583333333330.64416666666667
2520.620.7191666666666-0.119166666666637
2620.520.23916666666670.260833333333332
2720.219.57916666666670.620833333333331
2820.619.67916666666670.920833333333333
2919.718.93916666666670.760833333333332
3019.318.95916666666670.340833333333332
3122.822.9991666666667-0.199166666666666
3223.523.8191666666667-0.319166666666669
3323.823.69916666666670.100833333333332
3422.622.13916666666670.460833333333332
352220.93916666666671.06083333333333
3621.720.41916666666671.28083333333333
3720.720.38250000000000.317500000000024
3820.219.90250.297499999999994
3919.119.2425-0.142500000000004
4019.519.34250.157499999999995
4118.718.60250.0974999999999943
4218.618.6225-0.0225000000000043
4322.222.6625-0.462500000000004
4423.223.4825-0.282500000000007
4523.523.36250.137499999999995
4621.321.8025-0.502500000000005
472020.6025-0.602500000000005
4818.720.0825-1.38250000000000
4918.918.55000000000000.350000000000026
5018.318.070.229999999999999
5118.417.410.989999999999997
5219.917.512.39000000000000
5319.216.772.43
5418.516.791.71000000000000
5520.920.830.0699999999999988
5620.521.65-1.15000000000000
5719.421.53-2.13000000000000
5818.119.97-1.87
591718.77-1.77000000000000
601718.25-1.25000000000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2251549745145040.4503099490290090.774845025485496
180.2141374896033680.4282749792067360.785862510396632
190.2915385395357760.5830770790715520.708461460464224
200.428282522931420.856565045862840.57171747706858
210.3941674601191520.7883349202383040.605832539880848
220.3180989731216270.6361979462432540.681901026878373
230.2220651048055440.4441302096110870.777934895194456
240.1468237452216280.2936474904432560.853176254778372
250.1119612806469390.2239225612938780.888038719353061
260.09648467474261090.1929693494852220.903515325257389
270.1173839576419680.2347679152839350.882616042358032
280.2983662002629210.5967324005258410.70163379973708
290.4039479117532130.8078958235064270.596052088246787
300.4131136637424810.8262273274849620.586886336257519
310.433261186143430.866522372286860.56673881385657
320.4972555409898180.9945110819796360.502744459010182
330.4745263681691310.9490527363382610.525473631830869
340.4058647888525520.8117295777051030.594135211147448
350.3097137730594330.6194275461188650.690286226940567
360.2236686045989410.4473372091978820.776331395401059
370.1512029635326220.3024059270652430.848797036467378
380.09585264584219680.1917052916843940.904147354157803
390.06435643579153760.1287128715830750.935643564208462
400.08710373446222740.1742074689244550.912896265537773
410.1951969099999710.3903938199999430.804803090000029
420.4258502833646880.8517005667293770.574149716635312
430.5281810365054590.9436379269890810.471818963494541

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.225154974514504 & 0.450309949029009 & 0.774845025485496 \tabularnewline
18 & 0.214137489603368 & 0.428274979206736 & 0.785862510396632 \tabularnewline
19 & 0.291538539535776 & 0.583077079071552 & 0.708461460464224 \tabularnewline
20 & 0.42828252293142 & 0.85656504586284 & 0.57171747706858 \tabularnewline
21 & 0.394167460119152 & 0.788334920238304 & 0.605832539880848 \tabularnewline
22 & 0.318098973121627 & 0.636197946243254 & 0.681901026878373 \tabularnewline
23 & 0.222065104805544 & 0.444130209611087 & 0.777934895194456 \tabularnewline
24 & 0.146823745221628 & 0.293647490443256 & 0.853176254778372 \tabularnewline
25 & 0.111961280646939 & 0.223922561293878 & 0.888038719353061 \tabularnewline
26 & 0.0964846747426109 & 0.192969349485222 & 0.903515325257389 \tabularnewline
27 & 0.117383957641968 & 0.234767915283935 & 0.882616042358032 \tabularnewline
28 & 0.298366200262921 & 0.596732400525841 & 0.70163379973708 \tabularnewline
29 & 0.403947911753213 & 0.807895823506427 & 0.596052088246787 \tabularnewline
30 & 0.413113663742481 & 0.826227327484962 & 0.586886336257519 \tabularnewline
31 & 0.43326118614343 & 0.86652237228686 & 0.56673881385657 \tabularnewline
32 & 0.497255540989818 & 0.994511081979636 & 0.502744459010182 \tabularnewline
33 & 0.474526368169131 & 0.949052736338261 & 0.525473631830869 \tabularnewline
34 & 0.405864788852552 & 0.811729577705103 & 0.594135211147448 \tabularnewline
35 & 0.309713773059433 & 0.619427546118865 & 0.690286226940567 \tabularnewline
36 & 0.223668604598941 & 0.447337209197882 & 0.776331395401059 \tabularnewline
37 & 0.151202963532622 & 0.302405927065243 & 0.848797036467378 \tabularnewline
38 & 0.0958526458421968 & 0.191705291684394 & 0.904147354157803 \tabularnewline
39 & 0.0643564357915376 & 0.128712871583075 & 0.935643564208462 \tabularnewline
40 & 0.0871037344622274 & 0.174207468924455 & 0.912896265537773 \tabularnewline
41 & 0.195196909999971 & 0.390393819999943 & 0.804803090000029 \tabularnewline
42 & 0.425850283364688 & 0.851700566729377 & 0.574149716635312 \tabularnewline
43 & 0.528181036505459 & 0.943637926989081 & 0.471818963494541 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35413&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.225154974514504[/C][C]0.450309949029009[/C][C]0.774845025485496[/C][/ROW]
[ROW][C]18[/C][C]0.214137489603368[/C][C]0.428274979206736[/C][C]0.785862510396632[/C][/ROW]
[ROW][C]19[/C][C]0.291538539535776[/C][C]0.583077079071552[/C][C]0.708461460464224[/C][/ROW]
[ROW][C]20[/C][C]0.42828252293142[/C][C]0.85656504586284[/C][C]0.57171747706858[/C][/ROW]
[ROW][C]21[/C][C]0.394167460119152[/C][C]0.788334920238304[/C][C]0.605832539880848[/C][/ROW]
[ROW][C]22[/C][C]0.318098973121627[/C][C]0.636197946243254[/C][C]0.681901026878373[/C][/ROW]
[ROW][C]23[/C][C]0.222065104805544[/C][C]0.444130209611087[/C][C]0.777934895194456[/C][/ROW]
[ROW][C]24[/C][C]0.146823745221628[/C][C]0.293647490443256[/C][C]0.853176254778372[/C][/ROW]
[ROW][C]25[/C][C]0.111961280646939[/C][C]0.223922561293878[/C][C]0.888038719353061[/C][/ROW]
[ROW][C]26[/C][C]0.0964846747426109[/C][C]0.192969349485222[/C][C]0.903515325257389[/C][/ROW]
[ROW][C]27[/C][C]0.117383957641968[/C][C]0.234767915283935[/C][C]0.882616042358032[/C][/ROW]
[ROW][C]28[/C][C]0.298366200262921[/C][C]0.596732400525841[/C][C]0.70163379973708[/C][/ROW]
[ROW][C]29[/C][C]0.403947911753213[/C][C]0.807895823506427[/C][C]0.596052088246787[/C][/ROW]
[ROW][C]30[/C][C]0.413113663742481[/C][C]0.826227327484962[/C][C]0.586886336257519[/C][/ROW]
[ROW][C]31[/C][C]0.43326118614343[/C][C]0.86652237228686[/C][C]0.56673881385657[/C][/ROW]
[ROW][C]32[/C][C]0.497255540989818[/C][C]0.994511081979636[/C][C]0.502744459010182[/C][/ROW]
[ROW][C]33[/C][C]0.474526368169131[/C][C]0.949052736338261[/C][C]0.525473631830869[/C][/ROW]
[ROW][C]34[/C][C]0.405864788852552[/C][C]0.811729577705103[/C][C]0.594135211147448[/C][/ROW]
[ROW][C]35[/C][C]0.309713773059433[/C][C]0.619427546118865[/C][C]0.690286226940567[/C][/ROW]
[ROW][C]36[/C][C]0.223668604598941[/C][C]0.447337209197882[/C][C]0.776331395401059[/C][/ROW]
[ROW][C]37[/C][C]0.151202963532622[/C][C]0.302405927065243[/C][C]0.848797036467378[/C][/ROW]
[ROW][C]38[/C][C]0.0958526458421968[/C][C]0.191705291684394[/C][C]0.904147354157803[/C][/ROW]
[ROW][C]39[/C][C]0.0643564357915376[/C][C]0.128712871583075[/C][C]0.935643564208462[/C][/ROW]
[ROW][C]40[/C][C]0.0871037344622274[/C][C]0.174207468924455[/C][C]0.912896265537773[/C][/ROW]
[ROW][C]41[/C][C]0.195196909999971[/C][C]0.390393819999943[/C][C]0.804803090000029[/C][/ROW]
[ROW][C]42[/C][C]0.425850283364688[/C][C]0.851700566729377[/C][C]0.574149716635312[/C][/ROW]
[ROW][C]43[/C][C]0.528181036505459[/C][C]0.943637926989081[/C][C]0.471818963494541[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35413&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35413&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.2251549745145040.4503099490290090.774845025485496
180.2141374896033680.4282749792067360.785862510396632
190.2915385395357760.5830770790715520.708461460464224
200.428282522931420.856565045862840.57171747706858
210.3941674601191520.7883349202383040.605832539880848
220.3180989731216270.6361979462432540.681901026878373
230.2220651048055440.4441302096110870.777934895194456
240.1468237452216280.2936474904432560.853176254778372
250.1119612806469390.2239225612938780.888038719353061
260.09648467474261090.1929693494852220.903515325257389
270.1173839576419680.2347679152839350.882616042358032
280.2983662002629210.5967324005258410.70163379973708
290.4039479117532130.8078958235064270.596052088246787
300.4131136637424810.8262273274849620.586886336257519
310.433261186143430.866522372286860.56673881385657
320.4972555409898180.9945110819796360.502744459010182
330.4745263681691310.9490527363382610.525473631830869
340.4058647888525520.8117295777051030.594135211147448
350.3097137730594330.6194275461188650.690286226940567
360.2236686045989410.4473372091978820.776331395401059
370.1512029635326220.3024059270652430.848797036467378
380.09585264584219680.1917052916843940.904147354157803
390.06435643579153760.1287128715830750.935643564208462
400.08710373446222740.1742074689244550.912896265537773
410.1951969099999710.3903938199999430.804803090000029
420.4258502833646880.8517005667293770.574149716635312
430.5281810365054590.9436379269890810.471818963494541







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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