Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 27 Nov 2008 15:00:46 -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/Nov/27/t1227823271pgj3uy5coraws84.htm/, Retrieved Sun, 19 May 2024 10:20:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25919, Retrieved Sun, 19 May 2024 10:20:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact128
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2008-11-27 22:00:46] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
123,9	1
124,9	1
112,7	1
121,9	1
100,6	1
104,3	1
120,4	0
107,5	0
102,9	0
125,6	0
107,5	0
108,8	0
128,4	1
121,1	1
119,5	1
128,7	1
108,7	1
105,5	1
119,8	0
111,3	0
110,6	0
120,1	0
97,5	0
107,7	0
127,3	1
117,2	1
119,8	1
116,2	1
111	1
112,4	1
130,6	0
109,1	0
118,8	0
123,9	0
101,6	0
112,8	0
128	1
129,6	1
125,8	1
119,5	1
115,7	1
113,6	1
129,7	0
112	0
116,8	0
127	0
112,1	0
114,2	0
121,1	1
131,6	1
125	1
120,4	1
117,7	1
117,5	1
120,6	0
127,5	0
112,3	0
124,5	0
115,2	0
105,4	0




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Consumptieindex[t] = + 115.126666666667 + 3.85999999999999Dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Consumptieindex[t] =  +  115.126666666667 +  3.85999999999999Dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Consumptieindex[t] =  +  115.126666666667 +  3.85999999999999Dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25919&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
Consumptieindex[t] = + 115.126666666667 + 3.85999999999999Dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)115.1266666666671.51716975.882600
Dummy3.859999999999992.1456011.7990.0772170.038609

\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) & 115.126666666667 & 1.517169 & 75.8826 & 0 & 0 \tabularnewline
Dummy & 3.85999999999999 & 2.145601 & 1.799 & 0.077217 & 0.038609 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&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]115.126666666667[/C][C]1.517169[/C][C]75.8826[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]3.85999999999999[/C][C]2.145601[/C][C]1.799[/C][C]0.077217[/C][C]0.038609[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.229896959660599
R-squared0.0528526120611873
Adjusted R-squared0.0365224846829320
F-TEST (value)3.2365094795013
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0772171342105187
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.30987502845294
Sum Squared Residuals4005.13333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.229896959660599 \tabularnewline
R-squared & 0.0528526120611873 \tabularnewline
Adjusted R-squared & 0.0365224846829320 \tabularnewline
F-TEST (value) & 3.2365094795013 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.0772171342105187 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 8.30987502845294 \tabularnewline
Sum Squared Residuals & 4005.13333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.229896959660599[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0528526120611873[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0365224846829320[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]3.2365094795013[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.0772171342105187[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]8.30987502845294[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4005.13333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25919&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.229896959660599
R-squared0.0528526120611873
Adjusted R-squared0.0365224846829320
F-TEST (value)3.2365094795013
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.0772171342105187
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.30987502845294
Sum Squared Residuals4005.13333333333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1123.9118.9866666666674.91333333333309
2124.9118.9866666666675.91333333333335
3112.7118.986666666667-6.28666666666665
4121.9118.9866666666672.91333333333335
5100.6118.986666666667-18.3866666666667
6104.3118.986666666667-14.6866666666667
7120.4115.1266666666675.27333333333334
8107.5115.126666666667-7.62666666666666
9102.9115.126666666667-12.2266666666667
10125.6115.12666666666710.4733333333333
11107.5115.126666666667-7.62666666666666
12108.8115.126666666667-6.32666666666667
13128.4118.9866666666679.41333333333335
14121.1118.9866666666672.11333333333334
15119.5118.9866666666670.513333333333343
16128.7118.9866666666679.71333333333333
17108.7118.986666666667-10.2866666666667
18105.5118.986666666667-13.4866666666667
19119.8115.1266666666674.67333333333333
20111.3115.126666666667-3.82666666666667
21110.6115.126666666667-4.52666666666667
22120.1115.1266666666674.97333333333333
2397.5115.126666666667-17.6266666666667
24107.7115.126666666667-7.42666666666666
25127.3118.9866666666678.31333333333334
26117.2118.986666666667-1.78666666666665
27119.8118.9866666666670.81333333333334
28116.2118.986666666667-2.78666666666665
29111118.986666666667-7.98666666666666
30112.4118.986666666667-6.58666666666665
31130.6115.12666666666715.4733333333333
32109.1115.126666666667-6.02666666666667
33118.8115.1266666666673.67333333333333
34123.9115.1266666666678.77333333333334
35101.6115.126666666667-13.5266666666667
36112.8115.126666666667-2.32666666666667
37128118.9866666666679.01333333333334
38129.6118.98666666666710.6133333333333
39125.8118.9866666666676.81333333333334
40119.5118.9866666666670.513333333333343
41115.7118.986666666667-3.28666666666665
42113.6118.986666666667-5.38666666666666
43129.7115.12666666666714.5733333333333
44112115.126666666667-3.12666666666666
45116.8115.1266666666671.67333333333333
46127115.12666666666711.8733333333333
47112.1115.126666666667-3.02666666666667
48114.2115.126666666667-0.926666666666661
49121.1118.9866666666672.11333333333334
50131.6118.98666666666712.6133333333333
51125118.9866666666676.01333333333334
52120.4118.9866666666671.41333333333335
53117.7118.986666666667-1.28666666666665
54117.5118.986666666667-1.48666666666666
55120.6115.1266666666675.47333333333333
56127.5115.12666666666712.3733333333333
57112.3115.126666666667-2.82666666666667
58124.5115.1266666666679.37333333333334
59115.2115.1266666666670.0733333333333387
60105.4115.126666666667-9.72666666666666

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 123.9 & 118.986666666667 & 4.91333333333309 \tabularnewline
2 & 124.9 & 118.986666666667 & 5.91333333333335 \tabularnewline
3 & 112.7 & 118.986666666667 & -6.28666666666665 \tabularnewline
4 & 121.9 & 118.986666666667 & 2.91333333333335 \tabularnewline
5 & 100.6 & 118.986666666667 & -18.3866666666667 \tabularnewline
6 & 104.3 & 118.986666666667 & -14.6866666666667 \tabularnewline
7 & 120.4 & 115.126666666667 & 5.27333333333334 \tabularnewline
8 & 107.5 & 115.126666666667 & -7.62666666666666 \tabularnewline
9 & 102.9 & 115.126666666667 & -12.2266666666667 \tabularnewline
10 & 125.6 & 115.126666666667 & 10.4733333333333 \tabularnewline
11 & 107.5 & 115.126666666667 & -7.62666666666666 \tabularnewline
12 & 108.8 & 115.126666666667 & -6.32666666666667 \tabularnewline
13 & 128.4 & 118.986666666667 & 9.41333333333335 \tabularnewline
14 & 121.1 & 118.986666666667 & 2.11333333333334 \tabularnewline
15 & 119.5 & 118.986666666667 & 0.513333333333343 \tabularnewline
16 & 128.7 & 118.986666666667 & 9.71333333333333 \tabularnewline
17 & 108.7 & 118.986666666667 & -10.2866666666667 \tabularnewline
18 & 105.5 & 118.986666666667 & -13.4866666666667 \tabularnewline
19 & 119.8 & 115.126666666667 & 4.67333333333333 \tabularnewline
20 & 111.3 & 115.126666666667 & -3.82666666666667 \tabularnewline
21 & 110.6 & 115.126666666667 & -4.52666666666667 \tabularnewline
22 & 120.1 & 115.126666666667 & 4.97333333333333 \tabularnewline
23 & 97.5 & 115.126666666667 & -17.6266666666667 \tabularnewline
24 & 107.7 & 115.126666666667 & -7.42666666666666 \tabularnewline
25 & 127.3 & 118.986666666667 & 8.31333333333334 \tabularnewline
26 & 117.2 & 118.986666666667 & -1.78666666666665 \tabularnewline
27 & 119.8 & 118.986666666667 & 0.81333333333334 \tabularnewline
28 & 116.2 & 118.986666666667 & -2.78666666666665 \tabularnewline
29 & 111 & 118.986666666667 & -7.98666666666666 \tabularnewline
30 & 112.4 & 118.986666666667 & -6.58666666666665 \tabularnewline
31 & 130.6 & 115.126666666667 & 15.4733333333333 \tabularnewline
32 & 109.1 & 115.126666666667 & -6.02666666666667 \tabularnewline
33 & 118.8 & 115.126666666667 & 3.67333333333333 \tabularnewline
34 & 123.9 & 115.126666666667 & 8.77333333333334 \tabularnewline
35 & 101.6 & 115.126666666667 & -13.5266666666667 \tabularnewline
36 & 112.8 & 115.126666666667 & -2.32666666666667 \tabularnewline
37 & 128 & 118.986666666667 & 9.01333333333334 \tabularnewline
38 & 129.6 & 118.986666666667 & 10.6133333333333 \tabularnewline
39 & 125.8 & 118.986666666667 & 6.81333333333334 \tabularnewline
40 & 119.5 & 118.986666666667 & 0.513333333333343 \tabularnewline
41 & 115.7 & 118.986666666667 & -3.28666666666665 \tabularnewline
42 & 113.6 & 118.986666666667 & -5.38666666666666 \tabularnewline
43 & 129.7 & 115.126666666667 & 14.5733333333333 \tabularnewline
44 & 112 & 115.126666666667 & -3.12666666666666 \tabularnewline
45 & 116.8 & 115.126666666667 & 1.67333333333333 \tabularnewline
46 & 127 & 115.126666666667 & 11.8733333333333 \tabularnewline
47 & 112.1 & 115.126666666667 & -3.02666666666667 \tabularnewline
48 & 114.2 & 115.126666666667 & -0.926666666666661 \tabularnewline
49 & 121.1 & 118.986666666667 & 2.11333333333334 \tabularnewline
50 & 131.6 & 118.986666666667 & 12.6133333333333 \tabularnewline
51 & 125 & 118.986666666667 & 6.01333333333334 \tabularnewline
52 & 120.4 & 118.986666666667 & 1.41333333333335 \tabularnewline
53 & 117.7 & 118.986666666667 & -1.28666666666665 \tabularnewline
54 & 117.5 & 118.986666666667 & -1.48666666666666 \tabularnewline
55 & 120.6 & 115.126666666667 & 5.47333333333333 \tabularnewline
56 & 127.5 & 115.126666666667 & 12.3733333333333 \tabularnewline
57 & 112.3 & 115.126666666667 & -2.82666666666667 \tabularnewline
58 & 124.5 & 115.126666666667 & 9.37333333333334 \tabularnewline
59 & 115.2 & 115.126666666667 & 0.0733333333333387 \tabularnewline
60 & 105.4 & 115.126666666667 & -9.72666666666666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&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]123.9[/C][C]118.986666666667[/C][C]4.91333333333309[/C][/ROW]
[ROW][C]2[/C][C]124.9[/C][C]118.986666666667[/C][C]5.91333333333335[/C][/ROW]
[ROW][C]3[/C][C]112.7[/C][C]118.986666666667[/C][C]-6.28666666666665[/C][/ROW]
[ROW][C]4[/C][C]121.9[/C][C]118.986666666667[/C][C]2.91333333333335[/C][/ROW]
[ROW][C]5[/C][C]100.6[/C][C]118.986666666667[/C][C]-18.3866666666667[/C][/ROW]
[ROW][C]6[/C][C]104.3[/C][C]118.986666666667[/C][C]-14.6866666666667[/C][/ROW]
[ROW][C]7[/C][C]120.4[/C][C]115.126666666667[/C][C]5.27333333333334[/C][/ROW]
[ROW][C]8[/C][C]107.5[/C][C]115.126666666667[/C][C]-7.62666666666666[/C][/ROW]
[ROW][C]9[/C][C]102.9[/C][C]115.126666666667[/C][C]-12.2266666666667[/C][/ROW]
[ROW][C]10[/C][C]125.6[/C][C]115.126666666667[/C][C]10.4733333333333[/C][/ROW]
[ROW][C]11[/C][C]107.5[/C][C]115.126666666667[/C][C]-7.62666666666666[/C][/ROW]
[ROW][C]12[/C][C]108.8[/C][C]115.126666666667[/C][C]-6.32666666666667[/C][/ROW]
[ROW][C]13[/C][C]128.4[/C][C]118.986666666667[/C][C]9.41333333333335[/C][/ROW]
[ROW][C]14[/C][C]121.1[/C][C]118.986666666667[/C][C]2.11333333333334[/C][/ROW]
[ROW][C]15[/C][C]119.5[/C][C]118.986666666667[/C][C]0.513333333333343[/C][/ROW]
[ROW][C]16[/C][C]128.7[/C][C]118.986666666667[/C][C]9.71333333333333[/C][/ROW]
[ROW][C]17[/C][C]108.7[/C][C]118.986666666667[/C][C]-10.2866666666667[/C][/ROW]
[ROW][C]18[/C][C]105.5[/C][C]118.986666666667[/C][C]-13.4866666666667[/C][/ROW]
[ROW][C]19[/C][C]119.8[/C][C]115.126666666667[/C][C]4.67333333333333[/C][/ROW]
[ROW][C]20[/C][C]111.3[/C][C]115.126666666667[/C][C]-3.82666666666667[/C][/ROW]
[ROW][C]21[/C][C]110.6[/C][C]115.126666666667[/C][C]-4.52666666666667[/C][/ROW]
[ROW][C]22[/C][C]120.1[/C][C]115.126666666667[/C][C]4.97333333333333[/C][/ROW]
[ROW][C]23[/C][C]97.5[/C][C]115.126666666667[/C][C]-17.6266666666667[/C][/ROW]
[ROW][C]24[/C][C]107.7[/C][C]115.126666666667[/C][C]-7.42666666666666[/C][/ROW]
[ROW][C]25[/C][C]127.3[/C][C]118.986666666667[/C][C]8.31333333333334[/C][/ROW]
[ROW][C]26[/C][C]117.2[/C][C]118.986666666667[/C][C]-1.78666666666665[/C][/ROW]
[ROW][C]27[/C][C]119.8[/C][C]118.986666666667[/C][C]0.81333333333334[/C][/ROW]
[ROW][C]28[/C][C]116.2[/C][C]118.986666666667[/C][C]-2.78666666666665[/C][/ROW]
[ROW][C]29[/C][C]111[/C][C]118.986666666667[/C][C]-7.98666666666666[/C][/ROW]
[ROW][C]30[/C][C]112.4[/C][C]118.986666666667[/C][C]-6.58666666666665[/C][/ROW]
[ROW][C]31[/C][C]130.6[/C][C]115.126666666667[/C][C]15.4733333333333[/C][/ROW]
[ROW][C]32[/C][C]109.1[/C][C]115.126666666667[/C][C]-6.02666666666667[/C][/ROW]
[ROW][C]33[/C][C]118.8[/C][C]115.126666666667[/C][C]3.67333333333333[/C][/ROW]
[ROW][C]34[/C][C]123.9[/C][C]115.126666666667[/C][C]8.77333333333334[/C][/ROW]
[ROW][C]35[/C][C]101.6[/C][C]115.126666666667[/C][C]-13.5266666666667[/C][/ROW]
[ROW][C]36[/C][C]112.8[/C][C]115.126666666667[/C][C]-2.32666666666667[/C][/ROW]
[ROW][C]37[/C][C]128[/C][C]118.986666666667[/C][C]9.01333333333334[/C][/ROW]
[ROW][C]38[/C][C]129.6[/C][C]118.986666666667[/C][C]10.6133333333333[/C][/ROW]
[ROW][C]39[/C][C]125.8[/C][C]118.986666666667[/C][C]6.81333333333334[/C][/ROW]
[ROW][C]40[/C][C]119.5[/C][C]118.986666666667[/C][C]0.513333333333343[/C][/ROW]
[ROW][C]41[/C][C]115.7[/C][C]118.986666666667[/C][C]-3.28666666666665[/C][/ROW]
[ROW][C]42[/C][C]113.6[/C][C]118.986666666667[/C][C]-5.38666666666666[/C][/ROW]
[ROW][C]43[/C][C]129.7[/C][C]115.126666666667[/C][C]14.5733333333333[/C][/ROW]
[ROW][C]44[/C][C]112[/C][C]115.126666666667[/C][C]-3.12666666666666[/C][/ROW]
[ROW][C]45[/C][C]116.8[/C][C]115.126666666667[/C][C]1.67333333333333[/C][/ROW]
[ROW][C]46[/C][C]127[/C][C]115.126666666667[/C][C]11.8733333333333[/C][/ROW]
[ROW][C]47[/C][C]112.1[/C][C]115.126666666667[/C][C]-3.02666666666667[/C][/ROW]
[ROW][C]48[/C][C]114.2[/C][C]115.126666666667[/C][C]-0.926666666666661[/C][/ROW]
[ROW][C]49[/C][C]121.1[/C][C]118.986666666667[/C][C]2.11333333333334[/C][/ROW]
[ROW][C]50[/C][C]131.6[/C][C]118.986666666667[/C][C]12.6133333333333[/C][/ROW]
[ROW][C]51[/C][C]125[/C][C]118.986666666667[/C][C]6.01333333333334[/C][/ROW]
[ROW][C]52[/C][C]120.4[/C][C]118.986666666667[/C][C]1.41333333333335[/C][/ROW]
[ROW][C]53[/C][C]117.7[/C][C]118.986666666667[/C][C]-1.28666666666665[/C][/ROW]
[ROW][C]54[/C][C]117.5[/C][C]118.986666666667[/C][C]-1.48666666666666[/C][/ROW]
[ROW][C]55[/C][C]120.6[/C][C]115.126666666667[/C][C]5.47333333333333[/C][/ROW]
[ROW][C]56[/C][C]127.5[/C][C]115.126666666667[/C][C]12.3733333333333[/C][/ROW]
[ROW][C]57[/C][C]112.3[/C][C]115.126666666667[/C][C]-2.82666666666667[/C][/ROW]
[ROW][C]58[/C][C]124.5[/C][C]115.126666666667[/C][C]9.37333333333334[/C][/ROW]
[ROW][C]59[/C][C]115.2[/C][C]115.126666666667[/C][C]0.0733333333333387[/C][/ROW]
[ROW][C]60[/C][C]105.4[/C][C]115.126666666667[/C][C]-9.72666666666666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25919&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
1123.9118.9866666666674.91333333333309
2124.9118.9866666666675.91333333333335
3112.7118.986666666667-6.28666666666665
4121.9118.9866666666672.91333333333335
5100.6118.986666666667-18.3866666666667
6104.3118.986666666667-14.6866666666667
7120.4115.1266666666675.27333333333334
8107.5115.126666666667-7.62666666666666
9102.9115.126666666667-12.2266666666667
10125.6115.12666666666710.4733333333333
11107.5115.126666666667-7.62666666666666
12108.8115.126666666667-6.32666666666667
13128.4118.9866666666679.41333333333335
14121.1118.9866666666672.11333333333334
15119.5118.9866666666670.513333333333343
16128.7118.9866666666679.71333333333333
17108.7118.986666666667-10.2866666666667
18105.5118.986666666667-13.4866666666667
19119.8115.1266666666674.67333333333333
20111.3115.126666666667-3.82666666666667
21110.6115.126666666667-4.52666666666667
22120.1115.1266666666674.97333333333333
2397.5115.126666666667-17.6266666666667
24107.7115.126666666667-7.42666666666666
25127.3118.9866666666678.31333333333334
26117.2118.986666666667-1.78666666666665
27119.8118.9866666666670.81333333333334
28116.2118.986666666667-2.78666666666665
29111118.986666666667-7.98666666666666
30112.4118.986666666667-6.58666666666665
31130.6115.12666666666715.4733333333333
32109.1115.126666666667-6.02666666666667
33118.8115.1266666666673.67333333333333
34123.9115.1266666666678.77333333333334
35101.6115.126666666667-13.5266666666667
36112.8115.126666666667-2.32666666666667
37128118.9866666666679.01333333333334
38129.6118.98666666666710.6133333333333
39125.8118.9866666666676.81333333333334
40119.5118.9866666666670.513333333333343
41115.7118.986666666667-3.28666666666665
42113.6118.986666666667-5.38666666666666
43129.7115.12666666666714.5733333333333
44112115.126666666667-3.12666666666666
45116.8115.1266666666671.67333333333333
46127115.12666666666711.8733333333333
47112.1115.126666666667-3.02666666666667
48114.2115.126666666667-0.926666666666661
49121.1118.9866666666672.11333333333334
50131.6118.98666666666712.6133333333333
51125118.9866666666676.01333333333334
52120.4118.9866666666671.41333333333335
53117.7118.986666666667-1.28666666666665
54117.5118.986666666667-1.48666666666666
55120.6115.1266666666675.47333333333333
56127.5115.12666666666712.3733333333333
57112.3115.126666666667-2.82666666666667
58124.5115.1266666666679.37333333333334
59115.2115.1266666666670.0733333333333387
60105.4115.126666666667-9.72666666666666







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.8879184926251850.2241630147496290.112081507374815
60.9137081437525240.1725837124949520.0862918562474762
70.8510355442491240.2979289115017520.148964455750876
80.8434770373408760.3130459253182490.156522962659124
90.8509975530742870.2980048938514260.149002446925713
100.9001066030947320.1997867938105360.0998933969052682
110.8754148224136560.2491703551726870.124585177586344
120.8344339806340460.3311320387319070.165566019365954
130.8732090039072740.2535819921854520.126790996092726
140.8285254763108010.3429490473783980.171474523689199
150.7680102672521920.4639794654956160.231989732747808
160.791614832703520.4167703345929610.208385167296481
170.807850822183580.3842983556328410.192149177816420
180.8674571712801090.2650856574397820.132542828719891
190.843942017656770.312115964686460.15605798234323
200.7980022201831430.4039955596337140.201997779816857
210.7497436422814840.5005127154370330.250256357718516
220.7167618802865140.5664762394269730.283238119713486
230.8794249107516290.2411501784967430.120575089248371
240.8699981097121150.260003780575770.130001890287885
250.8745617298850460.2508765402299070.125438270114954
260.8336411783345190.3327176433309630.166358821665481
270.7833042941324650.4333914117350710.216695705867535
280.7327161458631050.534567708273790.267283854136895
290.7377334012968060.5245331974063880.262266598703194
300.7303425001684020.5393149996631970.269657499831598
310.8734217705403690.2531564589192620.126578229459631
320.8600795328981730.2798409342036550.139920467101827
330.8233592053965710.3532815892068580.176640794603429
340.8272741838649780.3454516322700450.172725816135022
350.9199422913668960.1601154172662080.080057708633104
360.8973281714614640.2053436570770730.102671828538536
370.896363279653460.2072734406930800.103636720346540
380.9118012293452670.1763975413094670.0881987706547333
390.8964838368336970.2070323263326060.103516163166303
400.8538223106397280.2923553787205430.146177689360272
410.8184575324647390.3630849350705210.181542467535261
420.8113605228324840.3772789543350310.188639477167516
430.9002914900632560.1994170198734870.0997085099367436
440.8742196067061340.2515607865877330.125780393293866
450.8203740023069460.3592519953861080.179625997693054
460.8668848611616420.2662302776767170.133115138838358
470.8271815958602260.3456368082795480.172818404139774
480.7636837022834290.4726325954331430.236316297716571
490.6763455956735110.6473088086529770.323654404326489
500.7511860512890990.4976278974218020.248813948710901
510.701918316027560.5961633679448810.298081683972440
520.591896940559550.81620611888090.40810305944045
530.456892067109230.913784134218460.54310793289077
540.3175775474557150.6351550949114290.682422452544285
550.2059838424650450.411967684930090.794016157534955

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.887918492625185 & 0.224163014749629 & 0.112081507374815 \tabularnewline
6 & 0.913708143752524 & 0.172583712494952 & 0.0862918562474762 \tabularnewline
7 & 0.851035544249124 & 0.297928911501752 & 0.148964455750876 \tabularnewline
8 & 0.843477037340876 & 0.313045925318249 & 0.156522962659124 \tabularnewline
9 & 0.850997553074287 & 0.298004893851426 & 0.149002446925713 \tabularnewline
10 & 0.900106603094732 & 0.199786793810536 & 0.0998933969052682 \tabularnewline
11 & 0.875414822413656 & 0.249170355172687 & 0.124585177586344 \tabularnewline
12 & 0.834433980634046 & 0.331132038731907 & 0.165566019365954 \tabularnewline
13 & 0.873209003907274 & 0.253581992185452 & 0.126790996092726 \tabularnewline
14 & 0.828525476310801 & 0.342949047378398 & 0.171474523689199 \tabularnewline
15 & 0.768010267252192 & 0.463979465495616 & 0.231989732747808 \tabularnewline
16 & 0.79161483270352 & 0.416770334592961 & 0.208385167296481 \tabularnewline
17 & 0.80785082218358 & 0.384298355632841 & 0.192149177816420 \tabularnewline
18 & 0.867457171280109 & 0.265085657439782 & 0.132542828719891 \tabularnewline
19 & 0.84394201765677 & 0.31211596468646 & 0.15605798234323 \tabularnewline
20 & 0.798002220183143 & 0.403995559633714 & 0.201997779816857 \tabularnewline
21 & 0.749743642281484 & 0.500512715437033 & 0.250256357718516 \tabularnewline
22 & 0.716761880286514 & 0.566476239426973 & 0.283238119713486 \tabularnewline
23 & 0.879424910751629 & 0.241150178496743 & 0.120575089248371 \tabularnewline
24 & 0.869998109712115 & 0.26000378057577 & 0.130001890287885 \tabularnewline
25 & 0.874561729885046 & 0.250876540229907 & 0.125438270114954 \tabularnewline
26 & 0.833641178334519 & 0.332717643330963 & 0.166358821665481 \tabularnewline
27 & 0.783304294132465 & 0.433391411735071 & 0.216695705867535 \tabularnewline
28 & 0.732716145863105 & 0.53456770827379 & 0.267283854136895 \tabularnewline
29 & 0.737733401296806 & 0.524533197406388 & 0.262266598703194 \tabularnewline
30 & 0.730342500168402 & 0.539314999663197 & 0.269657499831598 \tabularnewline
31 & 0.873421770540369 & 0.253156458919262 & 0.126578229459631 \tabularnewline
32 & 0.860079532898173 & 0.279840934203655 & 0.139920467101827 \tabularnewline
33 & 0.823359205396571 & 0.353281589206858 & 0.176640794603429 \tabularnewline
34 & 0.827274183864978 & 0.345451632270045 & 0.172725816135022 \tabularnewline
35 & 0.919942291366896 & 0.160115417266208 & 0.080057708633104 \tabularnewline
36 & 0.897328171461464 & 0.205343657077073 & 0.102671828538536 \tabularnewline
37 & 0.89636327965346 & 0.207273440693080 & 0.103636720346540 \tabularnewline
38 & 0.911801229345267 & 0.176397541309467 & 0.0881987706547333 \tabularnewline
39 & 0.896483836833697 & 0.207032326332606 & 0.103516163166303 \tabularnewline
40 & 0.853822310639728 & 0.292355378720543 & 0.146177689360272 \tabularnewline
41 & 0.818457532464739 & 0.363084935070521 & 0.181542467535261 \tabularnewline
42 & 0.811360522832484 & 0.377278954335031 & 0.188639477167516 \tabularnewline
43 & 0.900291490063256 & 0.199417019873487 & 0.0997085099367436 \tabularnewline
44 & 0.874219606706134 & 0.251560786587733 & 0.125780393293866 \tabularnewline
45 & 0.820374002306946 & 0.359251995386108 & 0.179625997693054 \tabularnewline
46 & 0.866884861161642 & 0.266230277676717 & 0.133115138838358 \tabularnewline
47 & 0.827181595860226 & 0.345636808279548 & 0.172818404139774 \tabularnewline
48 & 0.763683702283429 & 0.472632595433143 & 0.236316297716571 \tabularnewline
49 & 0.676345595673511 & 0.647308808652977 & 0.323654404326489 \tabularnewline
50 & 0.751186051289099 & 0.497627897421802 & 0.248813948710901 \tabularnewline
51 & 0.70191831602756 & 0.596163367944881 & 0.298081683972440 \tabularnewline
52 & 0.59189694055955 & 0.8162061188809 & 0.40810305944045 \tabularnewline
53 & 0.45689206710923 & 0.91378413421846 & 0.54310793289077 \tabularnewline
54 & 0.317577547455715 & 0.635155094911429 & 0.682422452544285 \tabularnewline
55 & 0.205983842465045 & 0.41196768493009 & 0.794016157534955 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25919&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]5[/C][C]0.887918492625185[/C][C]0.224163014749629[/C][C]0.112081507374815[/C][/ROW]
[ROW][C]6[/C][C]0.913708143752524[/C][C]0.172583712494952[/C][C]0.0862918562474762[/C][/ROW]
[ROW][C]7[/C][C]0.851035544249124[/C][C]0.297928911501752[/C][C]0.148964455750876[/C][/ROW]
[ROW][C]8[/C][C]0.843477037340876[/C][C]0.313045925318249[/C][C]0.156522962659124[/C][/ROW]
[ROW][C]9[/C][C]0.850997553074287[/C][C]0.298004893851426[/C][C]0.149002446925713[/C][/ROW]
[ROW][C]10[/C][C]0.900106603094732[/C][C]0.199786793810536[/C][C]0.0998933969052682[/C][/ROW]
[ROW][C]11[/C][C]0.875414822413656[/C][C]0.249170355172687[/C][C]0.124585177586344[/C][/ROW]
[ROW][C]12[/C][C]0.834433980634046[/C][C]0.331132038731907[/C][C]0.165566019365954[/C][/ROW]
[ROW][C]13[/C][C]0.873209003907274[/C][C]0.253581992185452[/C][C]0.126790996092726[/C][/ROW]
[ROW][C]14[/C][C]0.828525476310801[/C][C]0.342949047378398[/C][C]0.171474523689199[/C][/ROW]
[ROW][C]15[/C][C]0.768010267252192[/C][C]0.463979465495616[/C][C]0.231989732747808[/C][/ROW]
[ROW][C]16[/C][C]0.79161483270352[/C][C]0.416770334592961[/C][C]0.208385167296481[/C][/ROW]
[ROW][C]17[/C][C]0.80785082218358[/C][C]0.384298355632841[/C][C]0.192149177816420[/C][/ROW]
[ROW][C]18[/C][C]0.867457171280109[/C][C]0.265085657439782[/C][C]0.132542828719891[/C][/ROW]
[ROW][C]19[/C][C]0.84394201765677[/C][C]0.31211596468646[/C][C]0.15605798234323[/C][/ROW]
[ROW][C]20[/C][C]0.798002220183143[/C][C]0.403995559633714[/C][C]0.201997779816857[/C][/ROW]
[ROW][C]21[/C][C]0.749743642281484[/C][C]0.500512715437033[/C][C]0.250256357718516[/C][/ROW]
[ROW][C]22[/C][C]0.716761880286514[/C][C]0.566476239426973[/C][C]0.283238119713486[/C][/ROW]
[ROW][C]23[/C][C]0.879424910751629[/C][C]0.241150178496743[/C][C]0.120575089248371[/C][/ROW]
[ROW][C]24[/C][C]0.869998109712115[/C][C]0.26000378057577[/C][C]0.130001890287885[/C][/ROW]
[ROW][C]25[/C][C]0.874561729885046[/C][C]0.250876540229907[/C][C]0.125438270114954[/C][/ROW]
[ROW][C]26[/C][C]0.833641178334519[/C][C]0.332717643330963[/C][C]0.166358821665481[/C][/ROW]
[ROW][C]27[/C][C]0.783304294132465[/C][C]0.433391411735071[/C][C]0.216695705867535[/C][/ROW]
[ROW][C]28[/C][C]0.732716145863105[/C][C]0.53456770827379[/C][C]0.267283854136895[/C][/ROW]
[ROW][C]29[/C][C]0.737733401296806[/C][C]0.524533197406388[/C][C]0.262266598703194[/C][/ROW]
[ROW][C]30[/C][C]0.730342500168402[/C][C]0.539314999663197[/C][C]0.269657499831598[/C][/ROW]
[ROW][C]31[/C][C]0.873421770540369[/C][C]0.253156458919262[/C][C]0.126578229459631[/C][/ROW]
[ROW][C]32[/C][C]0.860079532898173[/C][C]0.279840934203655[/C][C]0.139920467101827[/C][/ROW]
[ROW][C]33[/C][C]0.823359205396571[/C][C]0.353281589206858[/C][C]0.176640794603429[/C][/ROW]
[ROW][C]34[/C][C]0.827274183864978[/C][C]0.345451632270045[/C][C]0.172725816135022[/C][/ROW]
[ROW][C]35[/C][C]0.919942291366896[/C][C]0.160115417266208[/C][C]0.080057708633104[/C][/ROW]
[ROW][C]36[/C][C]0.897328171461464[/C][C]0.205343657077073[/C][C]0.102671828538536[/C][/ROW]
[ROW][C]37[/C][C]0.89636327965346[/C][C]0.207273440693080[/C][C]0.103636720346540[/C][/ROW]
[ROW][C]38[/C][C]0.911801229345267[/C][C]0.176397541309467[/C][C]0.0881987706547333[/C][/ROW]
[ROW][C]39[/C][C]0.896483836833697[/C][C]0.207032326332606[/C][C]0.103516163166303[/C][/ROW]
[ROW][C]40[/C][C]0.853822310639728[/C][C]0.292355378720543[/C][C]0.146177689360272[/C][/ROW]
[ROW][C]41[/C][C]0.818457532464739[/C][C]0.363084935070521[/C][C]0.181542467535261[/C][/ROW]
[ROW][C]42[/C][C]0.811360522832484[/C][C]0.377278954335031[/C][C]0.188639477167516[/C][/ROW]
[ROW][C]43[/C][C]0.900291490063256[/C][C]0.199417019873487[/C][C]0.0997085099367436[/C][/ROW]
[ROW][C]44[/C][C]0.874219606706134[/C][C]0.251560786587733[/C][C]0.125780393293866[/C][/ROW]
[ROW][C]45[/C][C]0.820374002306946[/C][C]0.359251995386108[/C][C]0.179625997693054[/C][/ROW]
[ROW][C]46[/C][C]0.866884861161642[/C][C]0.266230277676717[/C][C]0.133115138838358[/C][/ROW]
[ROW][C]47[/C][C]0.827181595860226[/C][C]0.345636808279548[/C][C]0.172818404139774[/C][/ROW]
[ROW][C]48[/C][C]0.763683702283429[/C][C]0.472632595433143[/C][C]0.236316297716571[/C][/ROW]
[ROW][C]49[/C][C]0.676345595673511[/C][C]0.647308808652977[/C][C]0.323654404326489[/C][/ROW]
[ROW][C]50[/C][C]0.751186051289099[/C][C]0.497627897421802[/C][C]0.248813948710901[/C][/ROW]
[ROW][C]51[/C][C]0.70191831602756[/C][C]0.596163367944881[/C][C]0.298081683972440[/C][/ROW]
[ROW][C]52[/C][C]0.59189694055955[/C][C]0.8162061188809[/C][C]0.40810305944045[/C][/ROW]
[ROW][C]53[/C][C]0.45689206710923[/C][C]0.91378413421846[/C][C]0.54310793289077[/C][/ROW]
[ROW][C]54[/C][C]0.317577547455715[/C][C]0.635155094911429[/C][C]0.682422452544285[/C][/ROW]
[ROW][C]55[/C][C]0.205983842465045[/C][C]0.41196768493009[/C][C]0.794016157534955[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25919&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25919&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
50.8879184926251850.2241630147496290.112081507374815
60.9137081437525240.1725837124949520.0862918562474762
70.8510355442491240.2979289115017520.148964455750876
80.8434770373408760.3130459253182490.156522962659124
90.8509975530742870.2980048938514260.149002446925713
100.9001066030947320.1997867938105360.0998933969052682
110.8754148224136560.2491703551726870.124585177586344
120.8344339806340460.3311320387319070.165566019365954
130.8732090039072740.2535819921854520.126790996092726
140.8285254763108010.3429490473783980.171474523689199
150.7680102672521920.4639794654956160.231989732747808
160.791614832703520.4167703345929610.208385167296481
170.807850822183580.3842983556328410.192149177816420
180.8674571712801090.2650856574397820.132542828719891
190.843942017656770.312115964686460.15605798234323
200.7980022201831430.4039955596337140.201997779816857
210.7497436422814840.5005127154370330.250256357718516
220.7167618802865140.5664762394269730.283238119713486
230.8794249107516290.2411501784967430.120575089248371
240.8699981097121150.260003780575770.130001890287885
250.8745617298850460.2508765402299070.125438270114954
260.8336411783345190.3327176433309630.166358821665481
270.7833042941324650.4333914117350710.216695705867535
280.7327161458631050.534567708273790.267283854136895
290.7377334012968060.5245331974063880.262266598703194
300.7303425001684020.5393149996631970.269657499831598
310.8734217705403690.2531564589192620.126578229459631
320.8600795328981730.2798409342036550.139920467101827
330.8233592053965710.3532815892068580.176640794603429
340.8272741838649780.3454516322700450.172725816135022
350.9199422913668960.1601154172662080.080057708633104
360.8973281714614640.2053436570770730.102671828538536
370.896363279653460.2072734406930800.103636720346540
380.9118012293452670.1763975413094670.0881987706547333
390.8964838368336970.2070323263326060.103516163166303
400.8538223106397280.2923553787205430.146177689360272
410.8184575324647390.3630849350705210.181542467535261
420.8113605228324840.3772789543350310.188639477167516
430.9002914900632560.1994170198734870.0997085099367436
440.8742196067061340.2515607865877330.125780393293866
450.8203740023069460.3592519953861080.179625997693054
460.8668848611616420.2662302776767170.133115138838358
470.8271815958602260.3456368082795480.172818404139774
480.7636837022834290.4726325954331430.236316297716571
490.6763455956735110.6473088086529770.323654404326489
500.7511860512890990.4976278974218020.248813948710901
510.701918316027560.5961633679448810.298081683972440
520.591896940559550.81620611888090.40810305944045
530.456892067109230.913784134218460.54310793289077
540.3175775474557150.6351550949114290.682422452544285
550.2059838424650450.411967684930090.794016157534955







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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25919&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 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}