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 07:55:07 -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/t1229093867hqlurtx2m3gql68.htm/, Retrieved Sat, 18 May 2024 11:50:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32822, Retrieved Sat, 18 May 2024 11:50:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact204
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 14:55:07] [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'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&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]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Transportmiddelen[t] = + 99.6558333333333 + 11.2402777777778Conjunctuur[t] + 0.128055555555534M1[t] + 5.52805555555555M2[t] + 25.6280555555556M3[t] + 3.78805555555556M4[t] + 4.10805555555556M5[t] + 29.3480555555556M6[t] -22.0319444444444M7[t] -19.0719444444444M8[t] + 16.16M9[t] + 12.7M10[t] + 12.36M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Transportmiddelen[t] =  +  99.6558333333333 +  11.2402777777778Conjunctuur[t] +  0.128055555555534M1[t] +  5.52805555555555M2[t] +  25.6280555555556M3[t] +  3.78805555555556M4[t] +  4.10805555555556M5[t] +  29.3480555555556M6[t] -22.0319444444444M7[t] -19.0719444444444M8[t] +  16.16M9[t] +  12.7M10[t] +  12.36M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Transportmiddelen[t] =  +  99.6558333333333 +  11.2402777777778Conjunctuur[t] +  0.128055555555534M1[t] +  5.52805555555555M2[t] +  25.6280555555556M3[t] +  3.78805555555556M4[t] +  4.10805555555556M5[t] +  29.3480555555556M6[t] -22.0319444444444M7[t] -19.0719444444444M8[t] +  16.16M9[t] +  12.7M10[t] +  12.36M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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] = + 99.6558333333333 + 11.2402777777778Conjunctuur[t] + 0.128055555555534M1[t] + 5.52805555555555M2[t] + 25.6280555555556M3[t] + 3.78805555555556M4[t] + 4.10805555555556M5[t] + 29.3480555555556M6[t] -22.0319444444444M7[t] -19.0719444444444M8[t] + 16.16M9[t] + 12.7M10[t] + 12.36M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)99.65583333333335.37840418.528900
Conjunctuur11.24027777777782.9880023.76180.0004670.000234
M10.1280555555555347.1960620.01780.9858780.492939
M25.528055555555557.1960620.76820.4462080.223104
M325.62805555555567.1960623.56140.0008580.000429
M43.788055555555567.1960620.52640.6010810.300541
M54.108055555555567.1960620.57090.5708040.285402
M629.34805555555567.1960624.07830.0001748.7e-05
M7-22.03194444444447.196062-3.06170.0036340.001817
M8-19.07194444444447.196062-2.65030.0109220.005461
M916.167.1712052.25350.0289360.014468
M1012.77.1712051.7710.083050.041525
M1112.367.1712051.72360.0913610.04568

\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) & 99.6558333333333 & 5.378404 & 18.5289 & 0 & 0 \tabularnewline
Conjunctuur & 11.2402777777778 & 2.988002 & 3.7618 & 0.000467 & 0.000234 \tabularnewline
M1 & 0.128055555555534 & 7.196062 & 0.0178 & 0.985878 & 0.492939 \tabularnewline
M2 & 5.52805555555555 & 7.196062 & 0.7682 & 0.446208 & 0.223104 \tabularnewline
M3 & 25.6280555555556 & 7.196062 & 3.5614 & 0.000858 & 0.000429 \tabularnewline
M4 & 3.78805555555556 & 7.196062 & 0.5264 & 0.601081 & 0.300541 \tabularnewline
M5 & 4.10805555555556 & 7.196062 & 0.5709 & 0.570804 & 0.285402 \tabularnewline
M6 & 29.3480555555556 & 7.196062 & 4.0783 & 0.000174 & 8.7e-05 \tabularnewline
M7 & -22.0319444444444 & 7.196062 & -3.0617 & 0.003634 & 0.001817 \tabularnewline
M8 & -19.0719444444444 & 7.196062 & -2.6503 & 0.010922 & 0.005461 \tabularnewline
M9 & 16.16 & 7.171205 & 2.2535 & 0.028936 & 0.014468 \tabularnewline
M10 & 12.7 & 7.171205 & 1.771 & 0.08305 & 0.041525 \tabularnewline
M11 & 12.36 & 7.171205 & 1.7236 & 0.091361 & 0.04568 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&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]99.6558333333333[/C][C]5.378404[/C][C]18.5289[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Conjunctuur[/C][C]11.2402777777778[/C][C]2.988002[/C][C]3.7618[/C][C]0.000467[/C][C]0.000234[/C][/ROW]
[ROW][C]M1[/C][C]0.128055555555534[/C][C]7.196062[/C][C]0.0178[/C][C]0.985878[/C][C]0.492939[/C][/ROW]
[ROW][C]M2[/C][C]5.52805555555555[/C][C]7.196062[/C][C]0.7682[/C][C]0.446208[/C][C]0.223104[/C][/ROW]
[ROW][C]M3[/C][C]25.6280555555556[/C][C]7.196062[/C][C]3.5614[/C][C]0.000858[/C][C]0.000429[/C][/ROW]
[ROW][C]M4[/C][C]3.78805555555556[/C][C]7.196062[/C][C]0.5264[/C][C]0.601081[/C][C]0.300541[/C][/ROW]
[ROW][C]M5[/C][C]4.10805555555556[/C][C]7.196062[/C][C]0.5709[/C][C]0.570804[/C][C]0.285402[/C][/ROW]
[ROW][C]M6[/C][C]29.3480555555556[/C][C]7.196062[/C][C]4.0783[/C][C]0.000174[/C][C]8.7e-05[/C][/ROW]
[ROW][C]M7[/C][C]-22.0319444444444[/C][C]7.196062[/C][C]-3.0617[/C][C]0.003634[/C][C]0.001817[/C][/ROW]
[ROW][C]M8[/C][C]-19.0719444444444[/C][C]7.196062[/C][C]-2.6503[/C][C]0.010922[/C][C]0.005461[/C][/ROW]
[ROW][C]M9[/C][C]16.16[/C][C]7.171205[/C][C]2.2535[/C][C]0.028936[/C][C]0.014468[/C][/ROW]
[ROW][C]M10[/C][C]12.7[/C][C]7.171205[/C][C]1.771[/C][C]0.08305[/C][C]0.041525[/C][/ROW]
[ROW][C]M11[/C][C]12.36[/C][C]7.171205[/C][C]1.7236[/C][C]0.091361[/C][C]0.04568[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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)99.65583333333335.37840418.528900
Conjunctuur11.24027777777782.9880023.76180.0004670.000234
M10.1280555555555347.1960620.01780.9858780.492939
M25.528055555555557.1960620.76820.4462080.223104
M325.62805555555567.1960623.56140.0008580.000429
M43.788055555555567.1960620.52640.6010810.300541
M54.108055555555567.1960620.57090.5708040.285402
M629.34805555555567.1960624.07830.0001748.7e-05
M7-22.03194444444447.196062-3.06170.0036340.001817
M8-19.07194444444447.196062-2.65030.0109220.005461
M916.167.1712052.25350.0289360.014468
M1012.77.1712051.7710.083050.041525
M1112.367.1712051.72360.0913610.04568







Multiple Linear Regression - Regression Statistics
Multiple R0.847130469538679
R-squared0.717630032420822
Adjusted R-squared0.645535572613372
F-TEST (value)9.95402468286014
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value2.77530043391039e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.3386710156831
Sum Squared Residuals6042.57663888889

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.847130469538679 \tabularnewline
R-squared & 0.717630032420822 \tabularnewline
Adjusted R-squared & 0.645535572613372 \tabularnewline
F-TEST (value) & 9.95402468286014 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 2.77530043391039e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 11.3386710156831 \tabularnewline
Sum Squared Residuals & 6042.57663888889 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.847130469538679[/C][/ROW]
[ROW][C]R-squared[/C][C]0.717630032420822[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.645535572613372[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.95402468286014[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]2.77530043391039e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]11.3386710156831[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6042.57663888889[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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.847130469538679
R-squared0.717630032420822
Adjusted R-squared0.645535572613372
F-TEST (value)9.95402468286014
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value2.77530043391039e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.3386710156831
Sum Squared Residuals6042.57663888889







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
191.299.783888888889-8.58388888888898
299.2105.183888888889-5.98388888888888
3108.2125.283888888889-17.0838888888889
4101.5103.443888888889-1.94388888888889
5106.9103.7638888888893.1361111111111
6104.4129.003888888889-24.6038888888889
777.977.62388888888890.276111111111116
86080.5838888888889-20.5838888888889
999.5115.815833333333-16.3158333333333
1095112.355833333333-17.3558333333333
11105.6112.015833333333-6.41583333333334
12102.599.65583333333332.84416666666667
1393.399.7838888888889-6.48388888888887
1497.3105.183888888889-7.88388888888889
15127125.2838888888891.71611111111111
16111.7103.4438888888898.25611111111111
1796.4103.763888888889-7.36388888888889
18133129.0038888888893.99611111111112
1972.277.6238888888889-5.42388888888889
2095.880.583888888888915.2161111111111
21124.1115.8158333333338.28416666666666
22127.6112.35583333333315.2441666666667
23110.7112.015833333333-1.31583333333333
24104.699.65583333333334.94416666666667
25112.799.783888888888912.9161111111111
26115.3105.18388888888910.1161111111111
27139.4125.28388888888914.1161111111111
28119103.44388888888915.5561111111111
2997.4103.763888888889-6.36388888888888
30154129.00388888888924.9961111111111
3181.577.62388888888893.87611111111111
3288.880.58388888888898.21611111111111
33127.7127.0561111111110.64388888888889
34105.1123.596111111111-18.4961111111111
35114.9123.256111111111-8.35611111111111
36106.4110.896111111111-4.49611111111111
37104.5111.024166666667-6.52416666666664
38121.6116.4241666666675.17583333333333
39141.4136.5241666666674.87583333333333
4099114.684166666667-15.6841666666667
41126.7115.00416666666711.6958333333333
42134.1140.244166666667-6.14416666666667
4381.388.8641666666667-7.56416666666667
4488.691.8241666666667-3.22416666666667
45132.7127.0561111111115.64388888888887
46132.9123.5961111111119.30388888888889
47134.4123.25611111111111.1438888888889
48103.7110.896111111111-7.19611111111111
49119.7111.0241666666678.67583333333335
50115116.424166666667-1.42416666666667
51132.9136.524166666667-3.62416666666667
52108.5114.684166666667-6.18416666666667
53113.9115.004166666667-1.10416666666667
54142140.2441666666671.75583333333333
5597.788.86416666666678.83583333333333
5692.291.82416666666670.375833333333337
57128.8127.0561111111111.7438888888889
58134.9123.59611111111111.3038888888889
59128.2123.2561111111114.94388888888888
60114.8110.8961111111113.90388888888888

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 91.2 & 99.783888888889 & -8.58388888888898 \tabularnewline
2 & 99.2 & 105.183888888889 & -5.98388888888888 \tabularnewline
3 & 108.2 & 125.283888888889 & -17.0838888888889 \tabularnewline
4 & 101.5 & 103.443888888889 & -1.94388888888889 \tabularnewline
5 & 106.9 & 103.763888888889 & 3.1361111111111 \tabularnewline
6 & 104.4 & 129.003888888889 & -24.6038888888889 \tabularnewline
7 & 77.9 & 77.6238888888889 & 0.276111111111116 \tabularnewline
8 & 60 & 80.5838888888889 & -20.5838888888889 \tabularnewline
9 & 99.5 & 115.815833333333 & -16.3158333333333 \tabularnewline
10 & 95 & 112.355833333333 & -17.3558333333333 \tabularnewline
11 & 105.6 & 112.015833333333 & -6.41583333333334 \tabularnewline
12 & 102.5 & 99.6558333333333 & 2.84416666666667 \tabularnewline
13 & 93.3 & 99.7838888888889 & -6.48388888888887 \tabularnewline
14 & 97.3 & 105.183888888889 & -7.88388888888889 \tabularnewline
15 & 127 & 125.283888888889 & 1.71611111111111 \tabularnewline
16 & 111.7 & 103.443888888889 & 8.25611111111111 \tabularnewline
17 & 96.4 & 103.763888888889 & -7.36388888888889 \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 & 115.815833333333 & 8.28416666666666 \tabularnewline
22 & 127.6 & 112.355833333333 & 15.2441666666667 \tabularnewline
23 & 110.7 & 112.015833333333 & -1.31583333333333 \tabularnewline
24 & 104.6 & 99.6558333333333 & 4.94416666666667 \tabularnewline
25 & 112.7 & 99.7838888888889 & 12.9161111111111 \tabularnewline
26 & 115.3 & 105.183888888889 & 10.1161111111111 \tabularnewline
27 & 139.4 & 125.283888888889 & 14.1161111111111 \tabularnewline
28 & 119 & 103.443888888889 & 15.5561111111111 \tabularnewline
29 & 97.4 & 103.763888888889 & -6.36388888888888 \tabularnewline
30 & 154 & 129.003888888889 & 24.9961111111111 \tabularnewline
31 & 81.5 & 77.6238888888889 & 3.87611111111111 \tabularnewline
32 & 88.8 & 80.5838888888889 & 8.21611111111111 \tabularnewline
33 & 127.7 & 127.056111111111 & 0.64388888888889 \tabularnewline
34 & 105.1 & 123.596111111111 & -18.4961111111111 \tabularnewline
35 & 114.9 & 123.256111111111 & -8.35611111111111 \tabularnewline
36 & 106.4 & 110.896111111111 & -4.49611111111111 \tabularnewline
37 & 104.5 & 111.024166666667 & -6.52416666666664 \tabularnewline
38 & 121.6 & 116.424166666667 & 5.17583333333333 \tabularnewline
39 & 141.4 & 136.524166666667 & 4.87583333333333 \tabularnewline
40 & 99 & 114.684166666667 & -15.6841666666667 \tabularnewline
41 & 126.7 & 115.004166666667 & 11.6958333333333 \tabularnewline
42 & 134.1 & 140.244166666667 & -6.14416666666667 \tabularnewline
43 & 81.3 & 88.8641666666667 & -7.56416666666667 \tabularnewline
44 & 88.6 & 91.8241666666667 & -3.22416666666667 \tabularnewline
45 & 132.7 & 127.056111111111 & 5.64388888888887 \tabularnewline
46 & 132.9 & 123.596111111111 & 9.30388888888889 \tabularnewline
47 & 134.4 & 123.256111111111 & 11.1438888888889 \tabularnewline
48 & 103.7 & 110.896111111111 & -7.19611111111111 \tabularnewline
49 & 119.7 & 111.024166666667 & 8.67583333333335 \tabularnewline
50 & 115 & 116.424166666667 & -1.42416666666667 \tabularnewline
51 & 132.9 & 136.524166666667 & -3.62416666666667 \tabularnewline
52 & 108.5 & 114.684166666667 & -6.18416666666667 \tabularnewline
53 & 113.9 & 115.004166666667 & -1.10416666666667 \tabularnewline
54 & 142 & 140.244166666667 & 1.75583333333333 \tabularnewline
55 & 97.7 & 88.8641666666667 & 8.83583333333333 \tabularnewline
56 & 92.2 & 91.8241666666667 & 0.375833333333337 \tabularnewline
57 & 128.8 & 127.056111111111 & 1.7438888888889 \tabularnewline
58 & 134.9 & 123.596111111111 & 11.3038888888889 \tabularnewline
59 & 128.2 & 123.256111111111 & 4.94388888888888 \tabularnewline
60 & 114.8 & 110.896111111111 & 3.90388888888888 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&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]99.783888888889[/C][C]-8.58388888888898[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]105.183888888889[/C][C]-5.98388888888888[/C][/ROW]
[ROW][C]3[/C][C]108.2[/C][C]125.283888888889[/C][C]-17.0838888888889[/C][/ROW]
[ROW][C]4[/C][C]101.5[/C][C]103.443888888889[/C][C]-1.94388888888889[/C][/ROW]
[ROW][C]5[/C][C]106.9[/C][C]103.763888888889[/C][C]3.1361111111111[/C][/ROW]
[ROW][C]6[/C][C]104.4[/C][C]129.003888888889[/C][C]-24.6038888888889[/C][/ROW]
[ROW][C]7[/C][C]77.9[/C][C]77.6238888888889[/C][C]0.276111111111116[/C][/ROW]
[ROW][C]8[/C][C]60[/C][C]80.5838888888889[/C][C]-20.5838888888889[/C][/ROW]
[ROW][C]9[/C][C]99.5[/C][C]115.815833333333[/C][C]-16.3158333333333[/C][/ROW]
[ROW][C]10[/C][C]95[/C][C]112.355833333333[/C][C]-17.3558333333333[/C][/ROW]
[ROW][C]11[/C][C]105.6[/C][C]112.015833333333[/C][C]-6.41583333333334[/C][/ROW]
[ROW][C]12[/C][C]102.5[/C][C]99.6558333333333[/C][C]2.84416666666667[/C][/ROW]
[ROW][C]13[/C][C]93.3[/C][C]99.7838888888889[/C][C]-6.48388888888887[/C][/ROW]
[ROW][C]14[/C][C]97.3[/C][C]105.183888888889[/C][C]-7.88388888888889[/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.36388888888889[/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]115.815833333333[/C][C]8.28416666666666[/C][/ROW]
[ROW][C]22[/C][C]127.6[/C][C]112.355833333333[/C][C]15.2441666666667[/C][/ROW]
[ROW][C]23[/C][C]110.7[/C][C]112.015833333333[/C][C]-1.31583333333333[/C][/ROW]
[ROW][C]24[/C][C]104.6[/C][C]99.6558333333333[/C][C]4.94416666666667[/C][/ROW]
[ROW][C]25[/C][C]112.7[/C][C]99.7838888888889[/C][C]12.9161111111111[/C][/ROW]
[ROW][C]26[/C][C]115.3[/C][C]105.183888888889[/C][C]10.1161111111111[/C][/ROW]
[ROW][C]27[/C][C]139.4[/C][C]125.283888888889[/C][C]14.1161111111111[/C][/ROW]
[ROW][C]28[/C][C]119[/C][C]103.443888888889[/C][C]15.5561111111111[/C][/ROW]
[ROW][C]29[/C][C]97.4[/C][C]103.763888888889[/C][C]-6.36388888888888[/C][/ROW]
[ROW][C]30[/C][C]154[/C][C]129.003888888889[/C][C]24.9961111111111[/C][/ROW]
[ROW][C]31[/C][C]81.5[/C][C]77.6238888888889[/C][C]3.87611111111111[/C][/ROW]
[ROW][C]32[/C][C]88.8[/C][C]80.5838888888889[/C][C]8.21611111111111[/C][/ROW]
[ROW][C]33[/C][C]127.7[/C][C]127.056111111111[/C][C]0.64388888888889[/C][/ROW]
[ROW][C]34[/C][C]105.1[/C][C]123.596111111111[/C][C]-18.4961111111111[/C][/ROW]
[ROW][C]35[/C][C]114.9[/C][C]123.256111111111[/C][C]-8.35611111111111[/C][/ROW]
[ROW][C]36[/C][C]106.4[/C][C]110.896111111111[/C][C]-4.49611111111111[/C][/ROW]
[ROW][C]37[/C][C]104.5[/C][C]111.024166666667[/C][C]-6.52416666666664[/C][/ROW]
[ROW][C]38[/C][C]121.6[/C][C]116.424166666667[/C][C]5.17583333333333[/C][/ROW]
[ROW][C]39[/C][C]141.4[/C][C]136.524166666667[/C][C]4.87583333333333[/C][/ROW]
[ROW][C]40[/C][C]99[/C][C]114.684166666667[/C][C]-15.6841666666667[/C][/ROW]
[ROW][C]41[/C][C]126.7[/C][C]115.004166666667[/C][C]11.6958333333333[/C][/ROW]
[ROW][C]42[/C][C]134.1[/C][C]140.244166666667[/C][C]-6.14416666666667[/C][/ROW]
[ROW][C]43[/C][C]81.3[/C][C]88.8641666666667[/C][C]-7.56416666666667[/C][/ROW]
[ROW][C]44[/C][C]88.6[/C][C]91.8241666666667[/C][C]-3.22416666666667[/C][/ROW]
[ROW][C]45[/C][C]132.7[/C][C]127.056111111111[/C][C]5.64388888888887[/C][/ROW]
[ROW][C]46[/C][C]132.9[/C][C]123.596111111111[/C][C]9.30388888888889[/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]111.024166666667[/C][C]8.67583333333335[/C][/ROW]
[ROW][C]50[/C][C]115[/C][C]116.424166666667[/C][C]-1.42416666666667[/C][/ROW]
[ROW][C]51[/C][C]132.9[/C][C]136.524166666667[/C][C]-3.62416666666667[/C][/ROW]
[ROW][C]52[/C][C]108.5[/C][C]114.684166666667[/C][C]-6.18416666666667[/C][/ROW]
[ROW][C]53[/C][C]113.9[/C][C]115.004166666667[/C][C]-1.10416666666667[/C][/ROW]
[ROW][C]54[/C][C]142[/C][C]140.244166666667[/C][C]1.75583333333333[/C][/ROW]
[ROW][C]55[/C][C]97.7[/C][C]88.8641666666667[/C][C]8.83583333333333[/C][/ROW]
[ROW][C]56[/C][C]92.2[/C][C]91.8241666666667[/C][C]0.375833333333337[/C][/ROW]
[ROW][C]57[/C][C]128.8[/C][C]127.056111111111[/C][C]1.7438888888889[/C][/ROW]
[ROW][C]58[/C][C]134.9[/C][C]123.596111111111[/C][C]11.3038888888889[/C][/ROW]
[ROW][C]59[/C][C]128.2[/C][C]123.256111111111[/C][C]4.94388888888888[/C][/ROW]
[ROW][C]60[/C][C]114.8[/C][C]110.896111111111[/C][C]3.90388888888888[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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.299.783888888889-8.58388888888898
299.2105.183888888889-5.98388888888888
3108.2125.283888888889-17.0838888888889
4101.5103.443888888889-1.94388888888889
5106.9103.7638888888893.1361111111111
6104.4129.003888888889-24.6038888888889
777.977.62388888888890.276111111111116
86080.5838888888889-20.5838888888889
999.5115.815833333333-16.3158333333333
1095112.355833333333-17.3558333333333
11105.6112.015833333333-6.41583333333334
12102.599.65583333333332.84416666666667
1393.399.7838888888889-6.48388888888887
1497.3105.183888888889-7.88388888888889
15127125.2838888888891.71611111111111
16111.7103.4438888888898.25611111111111
1796.4103.763888888889-7.36388888888889
18133129.0038888888893.99611111111112
1972.277.6238888888889-5.42388888888889
2095.880.583888888888915.2161111111111
21124.1115.8158333333338.28416666666666
22127.6112.35583333333315.2441666666667
23110.7112.015833333333-1.31583333333333
24104.699.65583333333334.94416666666667
25112.799.783888888888912.9161111111111
26115.3105.18388888888910.1161111111111
27139.4125.28388888888914.1161111111111
28119103.44388888888915.5561111111111
2997.4103.763888888889-6.36388888888888
30154129.00388888888924.9961111111111
3181.577.62388888888893.87611111111111
3288.880.58388888888898.21611111111111
33127.7127.0561111111110.64388888888889
34105.1123.596111111111-18.4961111111111
35114.9123.256111111111-8.35611111111111
36106.4110.896111111111-4.49611111111111
37104.5111.024166666667-6.52416666666664
38121.6116.4241666666675.17583333333333
39141.4136.5241666666674.87583333333333
4099114.684166666667-15.6841666666667
41126.7115.00416666666711.6958333333333
42134.1140.244166666667-6.14416666666667
4381.388.8641666666667-7.56416666666667
4488.691.8241666666667-3.22416666666667
45132.7127.0561111111115.64388888888887
46132.9123.5961111111119.30388888888889
47134.4123.25611111111111.1438888888889
48103.7110.896111111111-7.19611111111111
49119.7111.0241666666678.67583333333335
50115116.424166666667-1.42416666666667
51132.9136.524166666667-3.62416666666667
52108.5114.684166666667-6.18416666666667
53113.9115.004166666667-1.10416666666667
54142140.2441666666671.75583333333333
5597.788.86416666666678.83583333333333
5692.291.82416666666670.375833333333337
57128.8127.0561111111111.7438888888889
58134.9123.59611111111111.3038888888889
59128.2123.2561111111114.94388888888888
60114.8110.8961111111113.90388888888888







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5610891071911620.8778217856176760.438910892808838
170.5146958355708910.9706083288582170.485304164429109
180.8323252661698530.3353494676602950.167674733830147
190.777820452377560.4443590952448810.222179547622440
200.948701814789540.1025963704209180.0512981852104591
210.9593921049612740.08121579007745150.0406078950387258
220.9791879877994840.04162402440103240.0208120122005162
230.9724636748531790.05507265029364290.0275363251468215
240.9524570278813180.0950859442373640.047542972118682
250.950982790837250.09803441832550170.0490172091627509
260.9405708780286950.1188582439426110.0594291219713053
270.9380475053138720.1239049893722560.0619524946861281
280.9413750890147970.1172498219704060.058624910985203
290.9553282575605150.08934348487896950.0446717424394848
300.9849382946088350.03012341078233090.0150617053911655
310.9741787266056870.05164254678862660.0258212733943133
320.9578054416834560.08438911663308850.0421945583165442
330.9298370950510390.1403258098979230.0701629049489615
340.987835210300070.02432957939985820.0121647896999291
350.9921494639657040.01570107206859120.00785053603429558
360.9838998566711580.0322002866576840.016100143328842
370.9855682296050630.02886354078987410.0144317703949371
380.9759461268365370.04810774632692650.0240538731634632
390.9631476538803230.07370469223935450.0368523461196772
400.9536079224092310.09278415518153760.0463920775907688
410.9555244929482150.08895101410356950.0444755070517847
420.9246354653201050.1507290693597900.0753645346798948
430.9628615612611080.07427687747778450.0371384387388922
440.902997127895820.1940057442083600.0970028721041798

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.561089107191162 & 0.877821785617676 & 0.438910892808838 \tabularnewline
17 & 0.514695835570891 & 0.970608328858217 & 0.485304164429109 \tabularnewline
18 & 0.832325266169853 & 0.335349467660295 & 0.167674733830147 \tabularnewline
19 & 0.77782045237756 & 0.444359095244881 & 0.222179547622440 \tabularnewline
20 & 0.94870181478954 & 0.102596370420918 & 0.0512981852104591 \tabularnewline
21 & 0.959392104961274 & 0.0812157900774515 & 0.0406078950387258 \tabularnewline
22 & 0.979187987799484 & 0.0416240244010324 & 0.0208120122005162 \tabularnewline
23 & 0.972463674853179 & 0.0550726502936429 & 0.0275363251468215 \tabularnewline
24 & 0.952457027881318 & 0.095085944237364 & 0.047542972118682 \tabularnewline
25 & 0.95098279083725 & 0.0980344183255017 & 0.0490172091627509 \tabularnewline
26 & 0.940570878028695 & 0.118858243942611 & 0.0594291219713053 \tabularnewline
27 & 0.938047505313872 & 0.123904989372256 & 0.0619524946861281 \tabularnewline
28 & 0.941375089014797 & 0.117249821970406 & 0.058624910985203 \tabularnewline
29 & 0.955328257560515 & 0.0893434848789695 & 0.0446717424394848 \tabularnewline
30 & 0.984938294608835 & 0.0301234107823309 & 0.0150617053911655 \tabularnewline
31 & 0.974178726605687 & 0.0516425467886266 & 0.0258212733943133 \tabularnewline
32 & 0.957805441683456 & 0.0843891166330885 & 0.0421945583165442 \tabularnewline
33 & 0.929837095051039 & 0.140325809897923 & 0.0701629049489615 \tabularnewline
34 & 0.98783521030007 & 0.0243295793998582 & 0.0121647896999291 \tabularnewline
35 & 0.992149463965704 & 0.0157010720685912 & 0.00785053603429558 \tabularnewline
36 & 0.983899856671158 & 0.032200286657684 & 0.016100143328842 \tabularnewline
37 & 0.985568229605063 & 0.0288635407898741 & 0.0144317703949371 \tabularnewline
38 & 0.975946126836537 & 0.0481077463269265 & 0.0240538731634632 \tabularnewline
39 & 0.963147653880323 & 0.0737046922393545 & 0.0368523461196772 \tabularnewline
40 & 0.953607922409231 & 0.0927841551815376 & 0.0463920775907688 \tabularnewline
41 & 0.955524492948215 & 0.0889510141035695 & 0.0444755070517847 \tabularnewline
42 & 0.924635465320105 & 0.150729069359790 & 0.0753645346798948 \tabularnewline
43 & 0.962861561261108 & 0.0742768774777845 & 0.0371384387388922 \tabularnewline
44 & 0.90299712789582 & 0.194005744208360 & 0.0970028721041798 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32822&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.561089107191162[/C][C]0.877821785617676[/C][C]0.438910892808838[/C][/ROW]
[ROW][C]17[/C][C]0.514695835570891[/C][C]0.970608328858217[/C][C]0.485304164429109[/C][/ROW]
[ROW][C]18[/C][C]0.832325266169853[/C][C]0.335349467660295[/C][C]0.167674733830147[/C][/ROW]
[ROW][C]19[/C][C]0.77782045237756[/C][C]0.444359095244881[/C][C]0.222179547622440[/C][/ROW]
[ROW][C]20[/C][C]0.94870181478954[/C][C]0.102596370420918[/C][C]0.0512981852104591[/C][/ROW]
[ROW][C]21[/C][C]0.959392104961274[/C][C]0.0812157900774515[/C][C]0.0406078950387258[/C][/ROW]
[ROW][C]22[/C][C]0.979187987799484[/C][C]0.0416240244010324[/C][C]0.0208120122005162[/C][/ROW]
[ROW][C]23[/C][C]0.972463674853179[/C][C]0.0550726502936429[/C][C]0.0275363251468215[/C][/ROW]
[ROW][C]24[/C][C]0.952457027881318[/C][C]0.095085944237364[/C][C]0.047542972118682[/C][/ROW]
[ROW][C]25[/C][C]0.95098279083725[/C][C]0.0980344183255017[/C][C]0.0490172091627509[/C][/ROW]
[ROW][C]26[/C][C]0.940570878028695[/C][C]0.118858243942611[/C][C]0.0594291219713053[/C][/ROW]
[ROW][C]27[/C][C]0.938047505313872[/C][C]0.123904989372256[/C][C]0.0619524946861281[/C][/ROW]
[ROW][C]28[/C][C]0.941375089014797[/C][C]0.117249821970406[/C][C]0.058624910985203[/C][/ROW]
[ROW][C]29[/C][C]0.955328257560515[/C][C]0.0893434848789695[/C][C]0.0446717424394848[/C][/ROW]
[ROW][C]30[/C][C]0.984938294608835[/C][C]0.0301234107823309[/C][C]0.0150617053911655[/C][/ROW]
[ROW][C]31[/C][C]0.974178726605687[/C][C]0.0516425467886266[/C][C]0.0258212733943133[/C][/ROW]
[ROW][C]32[/C][C]0.957805441683456[/C][C]0.0843891166330885[/C][C]0.0421945583165442[/C][/ROW]
[ROW][C]33[/C][C]0.929837095051039[/C][C]0.140325809897923[/C][C]0.0701629049489615[/C][/ROW]
[ROW][C]34[/C][C]0.98783521030007[/C][C]0.0243295793998582[/C][C]0.0121647896999291[/C][/ROW]
[ROW][C]35[/C][C]0.992149463965704[/C][C]0.0157010720685912[/C][C]0.00785053603429558[/C][/ROW]
[ROW][C]36[/C][C]0.983899856671158[/C][C]0.032200286657684[/C][C]0.016100143328842[/C][/ROW]
[ROW][C]37[/C][C]0.985568229605063[/C][C]0.0288635407898741[/C][C]0.0144317703949371[/C][/ROW]
[ROW][C]38[/C][C]0.975946126836537[/C][C]0.0481077463269265[/C][C]0.0240538731634632[/C][/ROW]
[ROW][C]39[/C][C]0.963147653880323[/C][C]0.0737046922393545[/C][C]0.0368523461196772[/C][/ROW]
[ROW][C]40[/C][C]0.953607922409231[/C][C]0.0927841551815376[/C][C]0.0463920775907688[/C][/ROW]
[ROW][C]41[/C][C]0.955524492948215[/C][C]0.0889510141035695[/C][C]0.0444755070517847[/C][/ROW]
[ROW][C]42[/C][C]0.924635465320105[/C][C]0.150729069359790[/C][C]0.0753645346798948[/C][/ROW]
[ROW][C]43[/C][C]0.962861561261108[/C][C]0.0742768774777845[/C][C]0.0371384387388922[/C][/ROW]
[ROW][C]44[/C][C]0.90299712789582[/C][C]0.194005744208360[/C][C]0.0970028721041798[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32822&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.5610891071911620.8778217856176760.438910892808838
170.5146958355708910.9706083288582170.485304164429109
180.8323252661698530.3353494676602950.167674733830147
190.777820452377560.4443590952448810.222179547622440
200.948701814789540.1025963704209180.0512981852104591
210.9593921049612740.08121579007745150.0406078950387258
220.9791879877994840.04162402440103240.0208120122005162
230.9724636748531790.05507265029364290.0275363251468215
240.9524570278813180.0950859442373640.047542972118682
250.950982790837250.09803441832550170.0490172091627509
260.9405708780286950.1188582439426110.0594291219713053
270.9380475053138720.1239049893722560.0619524946861281
280.9413750890147970.1172498219704060.058624910985203
290.9553282575605150.08934348487896950.0446717424394848
300.9849382946088350.03012341078233090.0150617053911655
310.9741787266056870.05164254678862660.0258212733943133
320.9578054416834560.08438911663308850.0421945583165442
330.9298370950510390.1403258098979230.0701629049489615
340.987835210300070.02432957939985820.0121647896999291
350.9921494639657040.01570107206859120.00785053603429558
360.9838998566711580.0322002866576840.016100143328842
370.9855682296050630.02886354078987410.0144317703949371
380.9759461268365370.04810774632692650.0240538731634632
390.9631476538803230.07370469223935450.0368523461196772
400.9536079224092310.09278415518153760.0463920775907688
410.9555244929482150.08895101410356950.0444755070517847
420.9246354653201050.1507290693597900.0753645346798948
430.9628615612611080.07427687747778450.0371384387388922
440.902997127895820.1940057442083600.0970028721041798







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32822&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 level70.241379310344828NOK
10% type I error level180.620689655172414NOK



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