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 computationFri, 12 Dec 2008 08:05:09 -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/12/t1229094415b5fzv5fdu2yne25.htm/, Retrieved Sat, 18 May 2024 11:21:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32834, Retrieved Sat, 18 May 2024 11:21:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact212
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [WS 6 Q3 G6 eigen ...] [2007-11-15 11:12:24] [22f18fc6a98517db16300404be421f9a]
- R PD  [Multiple Regression] [Multiple Lineair ...] [2008-12-12 15:01:15] [b47fceb71c9525e79a89b5fc6d023d0e]
-   PD      [Multiple Regression] [Multiple Lineair ...] [2008-12-12 15:05:09] [541f63fa3157af9df10fc4d202b2a90b] [Current]
Feedback Forum

Post a new message
Dataseries X:
91.2	0
99.2	0
108.2	0
101.5	0
106.9	0
104.4	0
77.9	0
60	0
99.5	0
95	0
105.6	0
102.5	0
93.3	0
97.3	0
127	0
111.7	0
96.4	0
133	0
72.2	0
95.8	0
124.1	0
127.6	0
110.7	0
104.6	0
112.7	0
115.3	0
139.4	0
119	0
97.4	0
154	0
81.5	0
88.8	0
127.7	1
105.1	1
114.9	1
106.4	1
104.5	1
121.6	1
141.4	1
99	1
126.7	1
134.1	1
81.3	1
88.6	1
132.7	1
132.9	1
134.4	1
103.7	1
119.7	1
115	1
132.9	1
108.5	1
113.9	1
142	1
97.7	1
92.2	1
128.8	1
134.9	1
128.2	1
114.8	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Transportmiddelen[t] = + 86.8583333333334 -10.0888888888889Conjunctuur[t] + 3.68291666666671M1[t] + 8.37194444444446M2[t] + 27.7609722222222M3[t] + 5.21000000000002M4[t] + 4.81902777777777M5[t] + 29.3480555555555M6[t] -22.7429166666667M7[t] -20.4938888888889M8[t] + 18.2929166666667M9[t] + 14.1219444444444M10[t] + 13.0709722222222M11[t] + 0.710972222222222t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Transportmiddelen[t] =  +  86.8583333333334 -10.0888888888889Conjunctuur[t] +  3.68291666666671M1[t] +  8.37194444444446M2[t] +  27.7609722222222M3[t] +  5.21000000000002M4[t] +  4.81902777777777M5[t] +  29.3480555555555M6[t] -22.7429166666667M7[t] -20.4938888888889M8[t] +  18.2929166666667M9[t] +  14.1219444444444M10[t] +  13.0709722222222M11[t] +  0.710972222222222t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Transportmiddelen[t] =  +  86.8583333333334 -10.0888888888889Conjunctuur[t] +  3.68291666666671M1[t] +  8.37194444444446M2[t] +  27.7609722222222M3[t] +  5.21000000000002M4[t] +  4.81902777777777M5[t] +  29.3480555555555M6[t] -22.7429166666667M7[t] -20.4938888888889M8[t] +  18.2929166666667M9[t] +  14.1219444444444M10[t] +  13.0709722222222M11[t] +  0.710972222222222t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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
Transportmiddelen[t] = + 86.8583333333334 -10.0888888888889Conjunctuur[t] + 3.68291666666671M1[t] + 8.37194444444446M2[t] + 27.7609722222222M3[t] + 5.21000000000002M4[t] + 4.81902777777777M5[t] + 29.3480555555555M6[t] -22.7429166666667M7[t] -20.4938888888889M8[t] + 18.2929166666667M9[t] + 14.1219444444444M10[t] + 13.0709722222222M11[t] + 0.710972222222222t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)86.85833333333345.01664417.31400
Conjunctuur-10.08888888888894.827268-2.090.0421760.021088
M13.682916666666715.854410.62910.5324060.266203
M28.371944444444465.8394651.43370.1584250.079213
M327.76097222222225.8278144.76351.9e-051e-05
M45.210000000000025.8194780.89530.3753040.187652
M54.819027777777775.814470.82880.4114980.205749
M629.34805555555555.81285.04897e-064e-06
M7-22.74291666666675.81447-3.91143e-040.00015
M8-20.49388888888895.819478-3.52160.0009810.00049
M918.29291666666675.8077873.14970.002870.001435
M1014.12194444444445.7994222.43510.0188260.009413
M1113.07097222222225.7943972.25580.0288820.014441
t0.7109722222222220.1393515.1026e-063e-06

\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) & 86.8583333333334 & 5.016644 & 17.314 & 0 & 0 \tabularnewline
Conjunctuur & -10.0888888888889 & 4.827268 & -2.09 & 0.042176 & 0.021088 \tabularnewline
M1 & 3.68291666666671 & 5.85441 & 0.6291 & 0.532406 & 0.266203 \tabularnewline
M2 & 8.37194444444446 & 5.839465 & 1.4337 & 0.158425 & 0.079213 \tabularnewline
M3 & 27.7609722222222 & 5.827814 & 4.7635 & 1.9e-05 & 1e-05 \tabularnewline
M4 & 5.21000000000002 & 5.819478 & 0.8953 & 0.375304 & 0.187652 \tabularnewline
M5 & 4.81902777777777 & 5.81447 & 0.8288 & 0.411498 & 0.205749 \tabularnewline
M6 & 29.3480555555555 & 5.8128 & 5.0489 & 7e-06 & 4e-06 \tabularnewline
M7 & -22.7429166666667 & 5.81447 & -3.9114 & 3e-04 & 0.00015 \tabularnewline
M8 & -20.4938888888889 & 5.819478 & -3.5216 & 0.000981 & 0.00049 \tabularnewline
M9 & 18.2929166666667 & 5.807787 & 3.1497 & 0.00287 & 0.001435 \tabularnewline
M10 & 14.1219444444444 & 5.799422 & 2.4351 & 0.018826 & 0.009413 \tabularnewline
M11 & 13.0709722222222 & 5.794397 & 2.2558 & 0.028882 & 0.014441 \tabularnewline
t & 0.710972222222222 & 0.139351 & 5.102 & 6e-06 & 3e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&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]86.8583333333334[/C][C]5.016644[/C][C]17.314[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Conjunctuur[/C][C]-10.0888888888889[/C][C]4.827268[/C][C]-2.09[/C][C]0.042176[/C][C]0.021088[/C][/ROW]
[ROW][C]M1[/C][C]3.68291666666671[/C][C]5.85441[/C][C]0.6291[/C][C]0.532406[/C][C]0.266203[/C][/ROW]
[ROW][C]M2[/C][C]8.37194444444446[/C][C]5.839465[/C][C]1.4337[/C][C]0.158425[/C][C]0.079213[/C][/ROW]
[ROW][C]M3[/C][C]27.7609722222222[/C][C]5.827814[/C][C]4.7635[/C][C]1.9e-05[/C][C]1e-05[/C][/ROW]
[ROW][C]M4[/C][C]5.21000000000002[/C][C]5.819478[/C][C]0.8953[/C][C]0.375304[/C][C]0.187652[/C][/ROW]
[ROW][C]M5[/C][C]4.81902777777777[/C][C]5.81447[/C][C]0.8288[/C][C]0.411498[/C][C]0.205749[/C][/ROW]
[ROW][C]M6[/C][C]29.3480555555555[/C][C]5.8128[/C][C]5.0489[/C][C]7e-06[/C][C]4e-06[/C][/ROW]
[ROW][C]M7[/C][C]-22.7429166666667[/C][C]5.81447[/C][C]-3.9114[/C][C]3e-04[/C][C]0.00015[/C][/ROW]
[ROW][C]M8[/C][C]-20.4938888888889[/C][C]5.819478[/C][C]-3.5216[/C][C]0.000981[/C][C]0.00049[/C][/ROW]
[ROW][C]M9[/C][C]18.2929166666667[/C][C]5.807787[/C][C]3.1497[/C][C]0.00287[/C][C]0.001435[/C][/ROW]
[ROW][C]M10[/C][C]14.1219444444444[/C][C]5.799422[/C][C]2.4351[/C][C]0.018826[/C][C]0.009413[/C][/ROW]
[ROW][C]M11[/C][C]13.0709722222222[/C][C]5.794397[/C][C]2.2558[/C][C]0.028882[/C][C]0.014441[/C][/ROW]
[ROW][C]t[/C][C]0.710972222222222[/C][C]0.139351[/C][C]5.102[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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)86.85833333333345.01664417.31400
Conjunctuur-10.08888888888894.827268-2.090.0421760.021088
M13.682916666666715.854410.62910.5324060.266203
M28.371944444444465.8394651.43370.1584250.079213
M327.76097222222225.8278144.76351.9e-051e-05
M45.210000000000025.8194780.89530.3753040.187652
M54.819027777777775.814470.82880.4114980.205749
M629.34805555555555.81285.04897e-064e-06
M7-22.74291666666675.81447-3.91143e-040.00015
M8-20.49388888888895.819478-3.52160.0009810.00049
M918.29291666666675.8077873.14970.002870.001435
M1014.12194444444445.7994222.43510.0188260.009413
M1113.07097222222225.7943972.25580.0288820.014441
t0.7109722222222220.1393515.1026e-063e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.905358234767946
R-squared0.81967353326213
Adjusted R-squared0.768711705705776
F-TEST (value)16.0840686562059
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.00297589414822e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.15909687444977
Sum Squared Residuals3858.89655555555

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.905358234767946 \tabularnewline
R-squared & 0.81967353326213 \tabularnewline
Adjusted R-squared & 0.768711705705776 \tabularnewline
F-TEST (value) & 16.0840686562059 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 6.00297589414822e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9.15909687444977 \tabularnewline
Sum Squared Residuals & 3858.89655555555 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.905358234767946[/C][/ROW]
[ROW][C]R-squared[/C][C]0.81967353326213[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.768711705705776[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.0840686562059[/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.00297589414822e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]9.15909687444977[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3858.89655555555[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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.905358234767946
R-squared0.81967353326213
Adjusted R-squared0.768711705705776
F-TEST (value)16.0840686562059
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value6.00297589414822e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.15909687444977
Sum Squared Residuals3858.89655555555







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
191.291.252222222222-0.0522222222220999
299.296.65222222222222.54777777777779
3108.2116.752222222222-8.55222222222225
4101.594.91222222222226.58777777777777
5106.995.232222222222211.6677777777778
6104.4120.472222222222-16.0722222222222
777.969.09222222222228.80777777777777
86072.0522222222222-12.0522222222222
999.5111.55-12.05
1095108.09-13.0900000000000
11105.6107.75-2.15000000000003
12102.595.397.11
1393.399.783888888889-6.48388888888893
1497.3105.183888888889-7.88388888888888
15127125.2838888888891.71611111111111
16111.7103.4438888888898.25611111111111
1796.4103.763888888889-7.36388888888888
18133129.0038888888893.99611111111112
1972.277.6238888888889-5.42388888888889
2095.880.583888888888915.2161111111111
21124.1120.0816666666674.01833333333333
22127.6116.62166666666710.9783333333333
23110.7116.281666666667-5.58166666666665
24104.6103.9216666666670.67833333333333
25112.7108.3155555555564.38444444444441
26115.3113.7155555555561.58444444444443
27139.4133.8155555555565.58444444444445
28119111.9755555555567.02444444444445
2997.4112.295555555556-14.8955555555555
30154137.53555555555616.4644444444444
3181.586.1555555555556-4.65555555555556
3288.889.1155555555556-0.315555555555565
33127.7118.5244444444449.17555555555556
34105.1115.064444444444-9.96444444444445
35114.9114.7244444444440.175555555555562
36106.4102.3644444444444.03555555555556
37104.5106.758333333333-2.25833333333337
38121.6112.1583333333339.44166666666664
39141.4132.2583333333339.14166666666667
4099110.418333333333-11.4183333333333
41126.7110.73833333333315.9616666666667
42134.1135.978333333333-1.87833333333334
4381.384.5983333333333-3.29833333333334
4488.687.55833333333331.04166666666665
45132.7127.0561111111115.64388888888888
46132.9123.5961111111119.3038888888889
47134.4123.25611111111111.1438888888889
48103.7110.896111111111-7.19611111111111
49119.7115.294.40999999999997
50115120.69-5.69000000000001
51132.9140.79-7.88999999999999
52108.5118.95-10.45
53113.9119.27-5.36999999999998
54142144.51-2.50999999999999
5597.793.134.57
5692.296.09-3.89
57128.8135.587777777778-6.78777777777776
58134.9132.1277777777782.77222222222224
59128.2131.787777777778-3.58777777777778
60114.8119.427777777778-4.62777777777778

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 91.2 & 91.252222222222 & -0.0522222222220999 \tabularnewline
2 & 99.2 & 96.6522222222222 & 2.54777777777779 \tabularnewline
3 & 108.2 & 116.752222222222 & -8.55222222222225 \tabularnewline
4 & 101.5 & 94.9122222222222 & 6.58777777777777 \tabularnewline
5 & 106.9 & 95.2322222222222 & 11.6677777777778 \tabularnewline
6 & 104.4 & 120.472222222222 & -16.0722222222222 \tabularnewline
7 & 77.9 & 69.0922222222222 & 8.80777777777777 \tabularnewline
8 & 60 & 72.0522222222222 & -12.0522222222222 \tabularnewline
9 & 99.5 & 111.55 & -12.05 \tabularnewline
10 & 95 & 108.09 & -13.0900000000000 \tabularnewline
11 & 105.6 & 107.75 & -2.15000000000003 \tabularnewline
12 & 102.5 & 95.39 & 7.11 \tabularnewline
13 & 93.3 & 99.783888888889 & -6.48388888888893 \tabularnewline
14 & 97.3 & 105.183888888889 & -7.88388888888888 \tabularnewline
15 & 127 & 125.283888888889 & 1.71611111111111 \tabularnewline
16 & 111.7 & 103.443888888889 & 8.25611111111111 \tabularnewline
17 & 96.4 & 103.763888888889 & -7.36388888888888 \tabularnewline
18 & 133 & 129.003888888889 & 3.99611111111112 \tabularnewline
19 & 72.2 & 77.6238888888889 & -5.42388888888889 \tabularnewline
20 & 95.8 & 80.5838888888889 & 15.2161111111111 \tabularnewline
21 & 124.1 & 120.081666666667 & 4.01833333333333 \tabularnewline
22 & 127.6 & 116.621666666667 & 10.9783333333333 \tabularnewline
23 & 110.7 & 116.281666666667 & -5.58166666666665 \tabularnewline
24 & 104.6 & 103.921666666667 & 0.67833333333333 \tabularnewline
25 & 112.7 & 108.315555555556 & 4.38444444444441 \tabularnewline
26 & 115.3 & 113.715555555556 & 1.58444444444443 \tabularnewline
27 & 139.4 & 133.815555555556 & 5.58444444444445 \tabularnewline
28 & 119 & 111.975555555556 & 7.02444444444445 \tabularnewline
29 & 97.4 & 112.295555555556 & -14.8955555555555 \tabularnewline
30 & 154 & 137.535555555556 & 16.4644444444444 \tabularnewline
31 & 81.5 & 86.1555555555556 & -4.65555555555556 \tabularnewline
32 & 88.8 & 89.1155555555556 & -0.315555555555565 \tabularnewline
33 & 127.7 & 118.524444444444 & 9.17555555555556 \tabularnewline
34 & 105.1 & 115.064444444444 & -9.96444444444445 \tabularnewline
35 & 114.9 & 114.724444444444 & 0.175555555555562 \tabularnewline
36 & 106.4 & 102.364444444444 & 4.03555555555556 \tabularnewline
37 & 104.5 & 106.758333333333 & -2.25833333333337 \tabularnewline
38 & 121.6 & 112.158333333333 & 9.44166666666664 \tabularnewline
39 & 141.4 & 132.258333333333 & 9.14166666666667 \tabularnewline
40 & 99 & 110.418333333333 & -11.4183333333333 \tabularnewline
41 & 126.7 & 110.738333333333 & 15.9616666666667 \tabularnewline
42 & 134.1 & 135.978333333333 & -1.87833333333334 \tabularnewline
43 & 81.3 & 84.5983333333333 & -3.29833333333334 \tabularnewline
44 & 88.6 & 87.5583333333333 & 1.04166666666665 \tabularnewline
45 & 132.7 & 127.056111111111 & 5.64388888888888 \tabularnewline
46 & 132.9 & 123.596111111111 & 9.3038888888889 \tabularnewline
47 & 134.4 & 123.256111111111 & 11.1438888888889 \tabularnewline
48 & 103.7 & 110.896111111111 & -7.19611111111111 \tabularnewline
49 & 119.7 & 115.29 & 4.40999999999997 \tabularnewline
50 & 115 & 120.69 & -5.69000000000001 \tabularnewline
51 & 132.9 & 140.79 & -7.88999999999999 \tabularnewline
52 & 108.5 & 118.95 & -10.45 \tabularnewline
53 & 113.9 & 119.27 & -5.36999999999998 \tabularnewline
54 & 142 & 144.51 & -2.50999999999999 \tabularnewline
55 & 97.7 & 93.13 & 4.57 \tabularnewline
56 & 92.2 & 96.09 & -3.89 \tabularnewline
57 & 128.8 & 135.587777777778 & -6.78777777777776 \tabularnewline
58 & 134.9 & 132.127777777778 & 2.77222222222224 \tabularnewline
59 & 128.2 & 131.787777777778 & -3.58777777777778 \tabularnewline
60 & 114.8 & 119.427777777778 & -4.62777777777778 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&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]91.2[/C][C]91.252222222222[/C][C]-0.0522222222220999[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]96.6522222222222[/C][C]2.54777777777779[/C][/ROW]
[ROW][C]3[/C][C]108.2[/C][C]116.752222222222[/C][C]-8.55222222222225[/C][/ROW]
[ROW][C]4[/C][C]101.5[/C][C]94.9122222222222[/C][C]6.58777777777777[/C][/ROW]
[ROW][C]5[/C][C]106.9[/C][C]95.2322222222222[/C][C]11.6677777777778[/C][/ROW]
[ROW][C]6[/C][C]104.4[/C][C]120.472222222222[/C][C]-16.0722222222222[/C][/ROW]
[ROW][C]7[/C][C]77.9[/C][C]69.0922222222222[/C][C]8.80777777777777[/C][/ROW]
[ROW][C]8[/C][C]60[/C][C]72.0522222222222[/C][C]-12.0522222222222[/C][/ROW]
[ROW][C]9[/C][C]99.5[/C][C]111.55[/C][C]-12.05[/C][/ROW]
[ROW][C]10[/C][C]95[/C][C]108.09[/C][C]-13.0900000000000[/C][/ROW]
[ROW][C]11[/C][C]105.6[/C][C]107.75[/C][C]-2.15000000000003[/C][/ROW]
[ROW][C]12[/C][C]102.5[/C][C]95.39[/C][C]7.11[/C][/ROW]
[ROW][C]13[/C][C]93.3[/C][C]99.783888888889[/C][C]-6.48388888888893[/C][/ROW]
[ROW][C]14[/C][C]97.3[/C][C]105.183888888889[/C][C]-7.88388888888888[/C][/ROW]
[ROW][C]15[/C][C]127[/C][C]125.283888888889[/C][C]1.71611111111111[/C][/ROW]
[ROW][C]16[/C][C]111.7[/C][C]103.443888888889[/C][C]8.25611111111111[/C][/ROW]
[ROW][C]17[/C][C]96.4[/C][C]103.763888888889[/C][C]-7.36388888888888[/C][/ROW]
[ROW][C]18[/C][C]133[/C][C]129.003888888889[/C][C]3.99611111111112[/C][/ROW]
[ROW][C]19[/C][C]72.2[/C][C]77.6238888888889[/C][C]-5.42388888888889[/C][/ROW]
[ROW][C]20[/C][C]95.8[/C][C]80.5838888888889[/C][C]15.2161111111111[/C][/ROW]
[ROW][C]21[/C][C]124.1[/C][C]120.081666666667[/C][C]4.01833333333333[/C][/ROW]
[ROW][C]22[/C][C]127.6[/C][C]116.621666666667[/C][C]10.9783333333333[/C][/ROW]
[ROW][C]23[/C][C]110.7[/C][C]116.281666666667[/C][C]-5.58166666666665[/C][/ROW]
[ROW][C]24[/C][C]104.6[/C][C]103.921666666667[/C][C]0.67833333333333[/C][/ROW]
[ROW][C]25[/C][C]112.7[/C][C]108.315555555556[/C][C]4.38444444444441[/C][/ROW]
[ROW][C]26[/C][C]115.3[/C][C]113.715555555556[/C][C]1.58444444444443[/C][/ROW]
[ROW][C]27[/C][C]139.4[/C][C]133.815555555556[/C][C]5.58444444444445[/C][/ROW]
[ROW][C]28[/C][C]119[/C][C]111.975555555556[/C][C]7.02444444444445[/C][/ROW]
[ROW][C]29[/C][C]97.4[/C][C]112.295555555556[/C][C]-14.8955555555555[/C][/ROW]
[ROW][C]30[/C][C]154[/C][C]137.535555555556[/C][C]16.4644444444444[/C][/ROW]
[ROW][C]31[/C][C]81.5[/C][C]86.1555555555556[/C][C]-4.65555555555556[/C][/ROW]
[ROW][C]32[/C][C]88.8[/C][C]89.1155555555556[/C][C]-0.315555555555565[/C][/ROW]
[ROW][C]33[/C][C]127.7[/C][C]118.524444444444[/C][C]9.17555555555556[/C][/ROW]
[ROW][C]34[/C][C]105.1[/C][C]115.064444444444[/C][C]-9.96444444444445[/C][/ROW]
[ROW][C]35[/C][C]114.9[/C][C]114.724444444444[/C][C]0.175555555555562[/C][/ROW]
[ROW][C]36[/C][C]106.4[/C][C]102.364444444444[/C][C]4.03555555555556[/C][/ROW]
[ROW][C]37[/C][C]104.5[/C][C]106.758333333333[/C][C]-2.25833333333337[/C][/ROW]
[ROW][C]38[/C][C]121.6[/C][C]112.158333333333[/C][C]9.44166666666664[/C][/ROW]
[ROW][C]39[/C][C]141.4[/C][C]132.258333333333[/C][C]9.14166666666667[/C][/ROW]
[ROW][C]40[/C][C]99[/C][C]110.418333333333[/C][C]-11.4183333333333[/C][/ROW]
[ROW][C]41[/C][C]126.7[/C][C]110.738333333333[/C][C]15.9616666666667[/C][/ROW]
[ROW][C]42[/C][C]134.1[/C][C]135.978333333333[/C][C]-1.87833333333334[/C][/ROW]
[ROW][C]43[/C][C]81.3[/C][C]84.5983333333333[/C][C]-3.29833333333334[/C][/ROW]
[ROW][C]44[/C][C]88.6[/C][C]87.5583333333333[/C][C]1.04166666666665[/C][/ROW]
[ROW][C]45[/C][C]132.7[/C][C]127.056111111111[/C][C]5.64388888888888[/C][/ROW]
[ROW][C]46[/C][C]132.9[/C][C]123.596111111111[/C][C]9.3038888888889[/C][/ROW]
[ROW][C]47[/C][C]134.4[/C][C]123.256111111111[/C][C]11.1438888888889[/C][/ROW]
[ROW][C]48[/C][C]103.7[/C][C]110.896111111111[/C][C]-7.19611111111111[/C][/ROW]
[ROW][C]49[/C][C]119.7[/C][C]115.29[/C][C]4.40999999999997[/C][/ROW]
[ROW][C]50[/C][C]115[/C][C]120.69[/C][C]-5.69000000000001[/C][/ROW]
[ROW][C]51[/C][C]132.9[/C][C]140.79[/C][C]-7.88999999999999[/C][/ROW]
[ROW][C]52[/C][C]108.5[/C][C]118.95[/C][C]-10.45[/C][/ROW]
[ROW][C]53[/C][C]113.9[/C][C]119.27[/C][C]-5.36999999999998[/C][/ROW]
[ROW][C]54[/C][C]142[/C][C]144.51[/C][C]-2.50999999999999[/C][/ROW]
[ROW][C]55[/C][C]97.7[/C][C]93.13[/C][C]4.57[/C][/ROW]
[ROW][C]56[/C][C]92.2[/C][C]96.09[/C][C]-3.89[/C][/ROW]
[ROW][C]57[/C][C]128.8[/C][C]135.587777777778[/C][C]-6.78777777777776[/C][/ROW]
[ROW][C]58[/C][C]134.9[/C][C]132.127777777778[/C][C]2.77222222222224[/C][/ROW]
[ROW][C]59[/C][C]128.2[/C][C]131.787777777778[/C][C]-3.58777777777778[/C][/ROW]
[ROW][C]60[/C][C]114.8[/C][C]119.427777777778[/C][C]-4.62777777777778[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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
191.291.252222222222-0.0522222222220999
299.296.65222222222222.54777777777779
3108.2116.752222222222-8.55222222222225
4101.594.91222222222226.58777777777777
5106.995.232222222222211.6677777777778
6104.4120.472222222222-16.0722222222222
777.969.09222222222228.80777777777777
86072.0522222222222-12.0522222222222
999.5111.55-12.05
1095108.09-13.0900000000000
11105.6107.75-2.15000000000003
12102.595.397.11
1393.399.783888888889-6.48388888888893
1497.3105.183888888889-7.88388888888888
15127125.2838888888891.71611111111111
16111.7103.4438888888898.25611111111111
1796.4103.763888888889-7.36388888888888
18133129.0038888888893.99611111111112
1972.277.6238888888889-5.42388888888889
2095.880.583888888888915.2161111111111
21124.1120.0816666666674.01833333333333
22127.6116.62166666666710.9783333333333
23110.7116.281666666667-5.58166666666665
24104.6103.9216666666670.67833333333333
25112.7108.3155555555564.38444444444441
26115.3113.7155555555561.58444444444443
27139.4133.8155555555565.58444444444445
28119111.9755555555567.02444444444445
2997.4112.295555555556-14.8955555555555
30154137.53555555555616.4644444444444
3181.586.1555555555556-4.65555555555556
3288.889.1155555555556-0.315555555555565
33127.7118.5244444444449.17555555555556
34105.1115.064444444444-9.96444444444445
35114.9114.7244444444440.175555555555562
36106.4102.3644444444444.03555555555556
37104.5106.758333333333-2.25833333333337
38121.6112.1583333333339.44166666666664
39141.4132.2583333333339.14166666666667
4099110.418333333333-11.4183333333333
41126.7110.73833333333315.9616666666667
42134.1135.978333333333-1.87833333333334
4381.384.5983333333333-3.29833333333334
4488.687.55833333333331.04166666666665
45132.7127.0561111111115.64388888888888
46132.9123.5961111111119.3038888888889
47134.4123.25611111111111.1438888888889
48103.7110.896111111111-7.19611111111111
49119.7115.294.40999999999997
50115120.69-5.69000000000001
51132.9140.79-7.88999999999999
52108.5118.95-10.45
53113.9119.27-5.36999999999998
54142144.51-2.50999999999999
5597.793.134.57
5692.296.09-3.89
57128.8135.587777777778-6.78777777777776
58134.9132.1277777777782.77222222222224
59128.2131.787777777778-3.58777777777778
60114.8119.427777777778-4.62777777777778







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6805080434252990.6389839131494020.319491956574701
180.8426475929395260.3147048141209490.157352407060475
190.819650417916470.3606991641670610.180349582083530
200.9376617811150120.1246764377699750.0623382188849877
210.920578248272770.1588435034544600.0794217517272302
220.9307140526966210.1385718946067580.0692859473033789
230.9122169906280140.1755660187439710.0877830093719856
240.8761629658077520.2476740683844960.123837034192248
250.8144147417546790.3711705164906420.185585258245321
260.7381960968365850.5236078063268310.261803903163415
270.6523732437812270.6952535124375460.347626756218773
280.6606767013036090.6786465973927830.339323298696391
290.839993729728190.3200125405436200.160006270271810
300.9100750264471860.1798499471056290.0899249735528144
310.8807070419705760.2385859160588490.119292958029424
320.8248673030452310.3502653939095380.175132696954769
330.7608008652162960.4783982695674080.239199134783704
340.9044187594821460.1911624810357090.0955812405178543
350.9047808382943160.1904383234113680.095219161705684
360.8472456093546480.3055087812907040.152754390645352
370.8508283901872380.2983432196255230.149171609812762
380.8111017999069630.3777964001860740.188898200093037
390.7903156386342040.4193687227315910.209684361365796
400.775668835282550.4486623294349010.224331164717451
410.8643215334730150.2713569330539690.135678466526985
420.7661072207499740.4677855585000520.233892779250026
430.8180920475522220.3638159048955560.181907952447778

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.680508043425299 & 0.638983913149402 & 0.319491956574701 \tabularnewline
18 & 0.842647592939526 & 0.314704814120949 & 0.157352407060475 \tabularnewline
19 & 0.81965041791647 & 0.360699164167061 & 0.180349582083530 \tabularnewline
20 & 0.937661781115012 & 0.124676437769975 & 0.0623382188849877 \tabularnewline
21 & 0.92057824827277 & 0.158843503454460 & 0.0794217517272302 \tabularnewline
22 & 0.930714052696621 & 0.138571894606758 & 0.0692859473033789 \tabularnewline
23 & 0.912216990628014 & 0.175566018743971 & 0.0877830093719856 \tabularnewline
24 & 0.876162965807752 & 0.247674068384496 & 0.123837034192248 \tabularnewline
25 & 0.814414741754679 & 0.371170516490642 & 0.185585258245321 \tabularnewline
26 & 0.738196096836585 & 0.523607806326831 & 0.261803903163415 \tabularnewline
27 & 0.652373243781227 & 0.695253512437546 & 0.347626756218773 \tabularnewline
28 & 0.660676701303609 & 0.678646597392783 & 0.339323298696391 \tabularnewline
29 & 0.83999372972819 & 0.320012540543620 & 0.160006270271810 \tabularnewline
30 & 0.910075026447186 & 0.179849947105629 & 0.0899249735528144 \tabularnewline
31 & 0.880707041970576 & 0.238585916058849 & 0.119292958029424 \tabularnewline
32 & 0.824867303045231 & 0.350265393909538 & 0.175132696954769 \tabularnewline
33 & 0.760800865216296 & 0.478398269567408 & 0.239199134783704 \tabularnewline
34 & 0.904418759482146 & 0.191162481035709 & 0.0955812405178543 \tabularnewline
35 & 0.904780838294316 & 0.190438323411368 & 0.095219161705684 \tabularnewline
36 & 0.847245609354648 & 0.305508781290704 & 0.152754390645352 \tabularnewline
37 & 0.850828390187238 & 0.298343219625523 & 0.149171609812762 \tabularnewline
38 & 0.811101799906963 & 0.377796400186074 & 0.188898200093037 \tabularnewline
39 & 0.790315638634204 & 0.419368722731591 & 0.209684361365796 \tabularnewline
40 & 0.77566883528255 & 0.448662329434901 & 0.224331164717451 \tabularnewline
41 & 0.864321533473015 & 0.271356933053969 & 0.135678466526985 \tabularnewline
42 & 0.766107220749974 & 0.467785558500052 & 0.233892779250026 \tabularnewline
43 & 0.818092047552222 & 0.363815904895556 & 0.181907952447778 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32834&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.680508043425299[/C][C]0.638983913149402[/C][C]0.319491956574701[/C][/ROW]
[ROW][C]18[/C][C]0.842647592939526[/C][C]0.314704814120949[/C][C]0.157352407060475[/C][/ROW]
[ROW][C]19[/C][C]0.81965041791647[/C][C]0.360699164167061[/C][C]0.180349582083530[/C][/ROW]
[ROW][C]20[/C][C]0.937661781115012[/C][C]0.124676437769975[/C][C]0.0623382188849877[/C][/ROW]
[ROW][C]21[/C][C]0.92057824827277[/C][C]0.158843503454460[/C][C]0.0794217517272302[/C][/ROW]
[ROW][C]22[/C][C]0.930714052696621[/C][C]0.138571894606758[/C][C]0.0692859473033789[/C][/ROW]
[ROW][C]23[/C][C]0.912216990628014[/C][C]0.175566018743971[/C][C]0.0877830093719856[/C][/ROW]
[ROW][C]24[/C][C]0.876162965807752[/C][C]0.247674068384496[/C][C]0.123837034192248[/C][/ROW]
[ROW][C]25[/C][C]0.814414741754679[/C][C]0.371170516490642[/C][C]0.185585258245321[/C][/ROW]
[ROW][C]26[/C][C]0.738196096836585[/C][C]0.523607806326831[/C][C]0.261803903163415[/C][/ROW]
[ROW][C]27[/C][C]0.652373243781227[/C][C]0.695253512437546[/C][C]0.347626756218773[/C][/ROW]
[ROW][C]28[/C][C]0.660676701303609[/C][C]0.678646597392783[/C][C]0.339323298696391[/C][/ROW]
[ROW][C]29[/C][C]0.83999372972819[/C][C]0.320012540543620[/C][C]0.160006270271810[/C][/ROW]
[ROW][C]30[/C][C]0.910075026447186[/C][C]0.179849947105629[/C][C]0.0899249735528144[/C][/ROW]
[ROW][C]31[/C][C]0.880707041970576[/C][C]0.238585916058849[/C][C]0.119292958029424[/C][/ROW]
[ROW][C]32[/C][C]0.824867303045231[/C][C]0.350265393909538[/C][C]0.175132696954769[/C][/ROW]
[ROW][C]33[/C][C]0.760800865216296[/C][C]0.478398269567408[/C][C]0.239199134783704[/C][/ROW]
[ROW][C]34[/C][C]0.904418759482146[/C][C]0.191162481035709[/C][C]0.0955812405178543[/C][/ROW]
[ROW][C]35[/C][C]0.904780838294316[/C][C]0.190438323411368[/C][C]0.095219161705684[/C][/ROW]
[ROW][C]36[/C][C]0.847245609354648[/C][C]0.305508781290704[/C][C]0.152754390645352[/C][/ROW]
[ROW][C]37[/C][C]0.850828390187238[/C][C]0.298343219625523[/C][C]0.149171609812762[/C][/ROW]
[ROW][C]38[/C][C]0.811101799906963[/C][C]0.377796400186074[/C][C]0.188898200093037[/C][/ROW]
[ROW][C]39[/C][C]0.790315638634204[/C][C]0.419368722731591[/C][C]0.209684361365796[/C][/ROW]
[ROW][C]40[/C][C]0.77566883528255[/C][C]0.448662329434901[/C][C]0.224331164717451[/C][/ROW]
[ROW][C]41[/C][C]0.864321533473015[/C][C]0.271356933053969[/C][C]0.135678466526985[/C][/ROW]
[ROW][C]42[/C][C]0.766107220749974[/C][C]0.467785558500052[/C][C]0.233892779250026[/C][/ROW]
[ROW][C]43[/C][C]0.818092047552222[/C][C]0.363815904895556[/C][C]0.181907952447778[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32834&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32834&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.6805080434252990.6389839131494020.319491956574701
180.8426475929395260.3147048141209490.157352407060475
190.819650417916470.3606991641670610.180349582083530
200.9376617811150120.1246764377699750.0623382188849877
210.920578248272770.1588435034544600.0794217517272302
220.9307140526966210.1385718946067580.0692859473033789
230.9122169906280140.1755660187439710.0877830093719856
240.8761629658077520.2476740683844960.123837034192248
250.8144147417546790.3711705164906420.185585258245321
260.7381960968365850.5236078063268310.261803903163415
270.6523732437812270.6952535124375460.347626756218773
280.6606767013036090.6786465973927830.339323298696391
290.839993729728190.3200125405436200.160006270271810
300.9100750264471860.1798499471056290.0899249735528144
310.8807070419705760.2385859160588490.119292958029424
320.8248673030452310.3502653939095380.175132696954769
330.7608008652162960.4783982695674080.239199134783704
340.9044187594821460.1911624810357090.0955812405178543
350.9047808382943160.1904383234113680.095219161705684
360.8472456093546480.3055087812907040.152754390645352
370.8508283901872380.2983432196255230.149171609812762
380.8111017999069630.3777964001860740.188898200093037
390.7903156386342040.4193687227315910.209684361365796
400.775668835282550.4486623294349010.224331164717451
410.8643215334730150.2713569330539690.135678466526985
420.7661072207499740.4677855585000520.233892779250026
430.8180920475522220.3638159048955560.181907952447778







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

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