Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 21 Nov 2009 02:45:32 -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/2009/Nov/21/t125879687127dmu3lghjvib6d.htm/, Retrieved Sun, 28 Apr 2024 00:54:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58519, Retrieved Sun, 28 Apr 2024 00:54:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact213
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [multiple regression] [2009-11-21 09:45:32] [21abcd6b6f55e53f03dbc7aec5059429] [Current]
Feedback Forum

Post a new message
Dataseries X:
10,9 0
10 0
9,2 0
9,2 0
9,5 0
9,6 0
9,5 0
9,1 0
8,9 0
9 0 
10,1 0
10,3 0
10,2 0
9,6 0
9,2 0
9,3 0
9,4 0
9,4 0
9,2 0
9 0
9 0
9 0
9,8 0
10 0
9,8 0
9,3 0 
9 0
9 0
9,1 0
9,1 0
9,1 0
9,2 0
8,8 0 
8,3 0
8,4 0
8,1 0
7,7 1
7,9 1
7,9 1
8 1
7,9 1
7,6 1
7,1 1
6,8 1
6,5 1
6,9 1
8,2 1 
8,7 1
8,3 1
7,9 1
7,5 1
7,8 1
8,3 1
8,4 1
8,2 1
7,7 1
7,2 1
7,3 1
8,1 1
8,5 1




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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9.32222222222222 -1.55555555555556X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  9.32222222222222 -1.55555555555556X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58519&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  9.32222222222222 -1.55555555555556X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58519&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 9.32222222222222 -1.55555555555556X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)9.322222222222220.09421998.942300
X-1.555555555555560.148973-10.441900

\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) & 9.32222222222222 & 0.094219 & 98.9423 & 0 & 0 \tabularnewline
X & -1.55555555555556 & 0.148973 & -10.4419 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58519&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]9.32222222222222[/C][C]0.094219[/C][C]98.9423[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-1.55555555555556[/C][C]0.148973[/C][C]-10.4419[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58519&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58519&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)9.322222222222220.09421998.942300
X-1.555555555555560.148973-10.441900







Multiple Linear Regression - Regression Statistics
Multiple R0.807936981724256
R-squared0.6527621664377
Adjusted R-squared0.646775307238351
F-TEST (value)109.032490109100
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.10622663543836e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.565312784271948
Sum Squared Residuals18.5355555555555

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.807936981724256 \tabularnewline
R-squared & 0.6527621664377 \tabularnewline
Adjusted R-squared & 0.646775307238351 \tabularnewline
F-TEST (value) & 109.032490109100 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 6.10622663543836e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.565312784271948 \tabularnewline
Sum Squared Residuals & 18.5355555555555 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58519&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.807936981724256[/C][/ROW]
[ROW][C]R-squared[/C][C]0.6527621664377[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.646775307238351[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]109.032490109100[/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]6.10622663543836e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.565312784271948[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]18.5355555555555[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58519&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58519&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.807936981724256
R-squared0.6527621664377
Adjusted R-squared0.646775307238351
F-TEST (value)109.032490109100
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.10622663543836e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.565312784271948
Sum Squared Residuals18.5355555555555







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
110.99.322222222222221.57777777777778
2109.322222222222220.67777777777778
39.29.32222222222222-0.122222222222223
49.29.32222222222222-0.122222222222223
59.59.322222222222220.177777777777778
69.69.322222222222220.277777777777778
79.59.322222222222220.177777777777778
89.19.32222222222222-0.222222222222222
98.99.32222222222222-0.422222222222222
1099.32222222222222-0.322222222222222
1110.19.322222222222220.777777777777778
1210.39.322222222222220.977777777777779
1310.29.322222222222220.877777777777777
149.69.322222222222220.277777777777778
159.29.32222222222222-0.122222222222223
169.39.32222222222222-0.0222222222222214
179.49.322222222222220.0777777777777783
189.49.322222222222220.0777777777777783
199.29.32222222222222-0.122222222222223
2099.32222222222222-0.322222222222222
2199.32222222222222-0.322222222222222
2299.32222222222222-0.322222222222222
239.89.322222222222220.477777777777779
24109.322222222222220.677777777777778
259.89.322222222222220.477777777777779
269.39.32222222222222-0.0222222222222214
2799.32222222222222-0.322222222222222
2899.32222222222222-0.322222222222222
299.19.32222222222222-0.222222222222222
309.19.32222222222222-0.222222222222222
319.19.32222222222222-0.222222222222222
329.29.32222222222222-0.122222222222223
338.89.32222222222222-0.522222222222221
348.39.32222222222222-1.02222222222222
358.49.32222222222222-0.922222222222222
368.19.32222222222222-1.22222222222222
377.77.76666666666667-0.0666666666666666
387.97.766666666666670.133333333333334
397.97.766666666666670.133333333333334
4087.766666666666670.233333333333333
417.97.766666666666670.133333333333334
427.67.76666666666667-0.166666666666667
437.17.76666666666667-0.666666666666667
446.87.76666666666667-0.966666666666667
456.57.76666666666667-1.26666666666667
466.97.76666666666667-0.866666666666666
478.27.766666666666670.433333333333333
488.77.766666666666670.933333333333333
498.37.766666666666670.533333333333334
507.97.766666666666670.133333333333334
517.57.76666666666667-0.266666666666667
527.87.766666666666670.0333333333333331
538.37.766666666666670.533333333333334
548.47.766666666666670.633333333333334
558.27.766666666666670.433333333333333
567.77.76666666666667-0.0666666666666666
577.27.76666666666667-0.566666666666667
587.37.76666666666667-0.466666666666667
598.17.766666666666670.333333333333333
608.57.766666666666670.733333333333333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 10.9 & 9.32222222222222 & 1.57777777777778 \tabularnewline
2 & 10 & 9.32222222222222 & 0.67777777777778 \tabularnewline
3 & 9.2 & 9.32222222222222 & -0.122222222222223 \tabularnewline
4 & 9.2 & 9.32222222222222 & -0.122222222222223 \tabularnewline
5 & 9.5 & 9.32222222222222 & 0.177777777777778 \tabularnewline
6 & 9.6 & 9.32222222222222 & 0.277777777777778 \tabularnewline
7 & 9.5 & 9.32222222222222 & 0.177777777777778 \tabularnewline
8 & 9.1 & 9.32222222222222 & -0.222222222222222 \tabularnewline
9 & 8.9 & 9.32222222222222 & -0.422222222222222 \tabularnewline
10 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
11 & 10.1 & 9.32222222222222 & 0.777777777777778 \tabularnewline
12 & 10.3 & 9.32222222222222 & 0.977777777777779 \tabularnewline
13 & 10.2 & 9.32222222222222 & 0.877777777777777 \tabularnewline
14 & 9.6 & 9.32222222222222 & 0.277777777777778 \tabularnewline
15 & 9.2 & 9.32222222222222 & -0.122222222222223 \tabularnewline
16 & 9.3 & 9.32222222222222 & -0.0222222222222214 \tabularnewline
17 & 9.4 & 9.32222222222222 & 0.0777777777777783 \tabularnewline
18 & 9.4 & 9.32222222222222 & 0.0777777777777783 \tabularnewline
19 & 9.2 & 9.32222222222222 & -0.122222222222223 \tabularnewline
20 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
21 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
22 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
23 & 9.8 & 9.32222222222222 & 0.477777777777779 \tabularnewline
24 & 10 & 9.32222222222222 & 0.677777777777778 \tabularnewline
25 & 9.8 & 9.32222222222222 & 0.477777777777779 \tabularnewline
26 & 9.3 & 9.32222222222222 & -0.0222222222222214 \tabularnewline
27 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
28 & 9 & 9.32222222222222 & -0.322222222222222 \tabularnewline
29 & 9.1 & 9.32222222222222 & -0.222222222222222 \tabularnewline
30 & 9.1 & 9.32222222222222 & -0.222222222222222 \tabularnewline
31 & 9.1 & 9.32222222222222 & -0.222222222222222 \tabularnewline
32 & 9.2 & 9.32222222222222 & -0.122222222222223 \tabularnewline
33 & 8.8 & 9.32222222222222 & -0.522222222222221 \tabularnewline
34 & 8.3 & 9.32222222222222 & -1.02222222222222 \tabularnewline
35 & 8.4 & 9.32222222222222 & -0.922222222222222 \tabularnewline
36 & 8.1 & 9.32222222222222 & -1.22222222222222 \tabularnewline
37 & 7.7 & 7.76666666666667 & -0.0666666666666666 \tabularnewline
38 & 7.9 & 7.76666666666667 & 0.133333333333334 \tabularnewline
39 & 7.9 & 7.76666666666667 & 0.133333333333334 \tabularnewline
40 & 8 & 7.76666666666667 & 0.233333333333333 \tabularnewline
41 & 7.9 & 7.76666666666667 & 0.133333333333334 \tabularnewline
42 & 7.6 & 7.76666666666667 & -0.166666666666667 \tabularnewline
43 & 7.1 & 7.76666666666667 & -0.666666666666667 \tabularnewline
44 & 6.8 & 7.76666666666667 & -0.966666666666667 \tabularnewline
45 & 6.5 & 7.76666666666667 & -1.26666666666667 \tabularnewline
46 & 6.9 & 7.76666666666667 & -0.866666666666666 \tabularnewline
47 & 8.2 & 7.76666666666667 & 0.433333333333333 \tabularnewline
48 & 8.7 & 7.76666666666667 & 0.933333333333333 \tabularnewline
49 & 8.3 & 7.76666666666667 & 0.533333333333334 \tabularnewline
50 & 7.9 & 7.76666666666667 & 0.133333333333334 \tabularnewline
51 & 7.5 & 7.76666666666667 & -0.266666666666667 \tabularnewline
52 & 7.8 & 7.76666666666667 & 0.0333333333333331 \tabularnewline
53 & 8.3 & 7.76666666666667 & 0.533333333333334 \tabularnewline
54 & 8.4 & 7.76666666666667 & 0.633333333333334 \tabularnewline
55 & 8.2 & 7.76666666666667 & 0.433333333333333 \tabularnewline
56 & 7.7 & 7.76666666666667 & -0.0666666666666666 \tabularnewline
57 & 7.2 & 7.76666666666667 & -0.566666666666667 \tabularnewline
58 & 7.3 & 7.76666666666667 & -0.466666666666667 \tabularnewline
59 & 8.1 & 7.76666666666667 & 0.333333333333333 \tabularnewline
60 & 8.5 & 7.76666666666667 & 0.733333333333333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58519&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]10.9[/C][C]9.32222222222222[/C][C]1.57777777777778[/C][/ROW]
[ROW][C]2[/C][C]10[/C][C]9.32222222222222[/C][C]0.67777777777778[/C][/ROW]
[ROW][C]3[/C][C]9.2[/C][C]9.32222222222222[/C][C]-0.122222222222223[/C][/ROW]
[ROW][C]4[/C][C]9.2[/C][C]9.32222222222222[/C][C]-0.122222222222223[/C][/ROW]
[ROW][C]5[/C][C]9.5[/C][C]9.32222222222222[/C][C]0.177777777777778[/C][/ROW]
[ROW][C]6[/C][C]9.6[/C][C]9.32222222222222[/C][C]0.277777777777778[/C][/ROW]
[ROW][C]7[/C][C]9.5[/C][C]9.32222222222222[/C][C]0.177777777777778[/C][/ROW]
[ROW][C]8[/C][C]9.1[/C][C]9.32222222222222[/C][C]-0.222222222222222[/C][/ROW]
[ROW][C]9[/C][C]8.9[/C][C]9.32222222222222[/C][C]-0.422222222222222[/C][/ROW]
[ROW][C]10[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]11[/C][C]10.1[/C][C]9.32222222222222[/C][C]0.777777777777778[/C][/ROW]
[ROW][C]12[/C][C]10.3[/C][C]9.32222222222222[/C][C]0.977777777777779[/C][/ROW]
[ROW][C]13[/C][C]10.2[/C][C]9.32222222222222[/C][C]0.877777777777777[/C][/ROW]
[ROW][C]14[/C][C]9.6[/C][C]9.32222222222222[/C][C]0.277777777777778[/C][/ROW]
[ROW][C]15[/C][C]9.2[/C][C]9.32222222222222[/C][C]-0.122222222222223[/C][/ROW]
[ROW][C]16[/C][C]9.3[/C][C]9.32222222222222[/C][C]-0.0222222222222214[/C][/ROW]
[ROW][C]17[/C][C]9.4[/C][C]9.32222222222222[/C][C]0.0777777777777783[/C][/ROW]
[ROW][C]18[/C][C]9.4[/C][C]9.32222222222222[/C][C]0.0777777777777783[/C][/ROW]
[ROW][C]19[/C][C]9.2[/C][C]9.32222222222222[/C][C]-0.122222222222223[/C][/ROW]
[ROW][C]20[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]21[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]22[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]23[/C][C]9.8[/C][C]9.32222222222222[/C][C]0.477777777777779[/C][/ROW]
[ROW][C]24[/C][C]10[/C][C]9.32222222222222[/C][C]0.677777777777778[/C][/ROW]
[ROW][C]25[/C][C]9.8[/C][C]9.32222222222222[/C][C]0.477777777777779[/C][/ROW]
[ROW][C]26[/C][C]9.3[/C][C]9.32222222222222[/C][C]-0.0222222222222214[/C][/ROW]
[ROW][C]27[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]28[/C][C]9[/C][C]9.32222222222222[/C][C]-0.322222222222222[/C][/ROW]
[ROW][C]29[/C][C]9.1[/C][C]9.32222222222222[/C][C]-0.222222222222222[/C][/ROW]
[ROW][C]30[/C][C]9.1[/C][C]9.32222222222222[/C][C]-0.222222222222222[/C][/ROW]
[ROW][C]31[/C][C]9.1[/C][C]9.32222222222222[/C][C]-0.222222222222222[/C][/ROW]
[ROW][C]32[/C][C]9.2[/C][C]9.32222222222222[/C][C]-0.122222222222223[/C][/ROW]
[ROW][C]33[/C][C]8.8[/C][C]9.32222222222222[/C][C]-0.522222222222221[/C][/ROW]
[ROW][C]34[/C][C]8.3[/C][C]9.32222222222222[/C][C]-1.02222222222222[/C][/ROW]
[ROW][C]35[/C][C]8.4[/C][C]9.32222222222222[/C][C]-0.922222222222222[/C][/ROW]
[ROW][C]36[/C][C]8.1[/C][C]9.32222222222222[/C][C]-1.22222222222222[/C][/ROW]
[ROW][C]37[/C][C]7.7[/C][C]7.76666666666667[/C][C]-0.0666666666666666[/C][/ROW]
[ROW][C]38[/C][C]7.9[/C][C]7.76666666666667[/C][C]0.133333333333334[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]7.76666666666667[/C][C]0.133333333333334[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]7.76666666666667[/C][C]0.233333333333333[/C][/ROW]
[ROW][C]41[/C][C]7.9[/C][C]7.76666666666667[/C][C]0.133333333333334[/C][/ROW]
[ROW][C]42[/C][C]7.6[/C][C]7.76666666666667[/C][C]-0.166666666666667[/C][/ROW]
[ROW][C]43[/C][C]7.1[/C][C]7.76666666666667[/C][C]-0.666666666666667[/C][/ROW]
[ROW][C]44[/C][C]6.8[/C][C]7.76666666666667[/C][C]-0.966666666666667[/C][/ROW]
[ROW][C]45[/C][C]6.5[/C][C]7.76666666666667[/C][C]-1.26666666666667[/C][/ROW]
[ROW][C]46[/C][C]6.9[/C][C]7.76666666666667[/C][C]-0.866666666666666[/C][/ROW]
[ROW][C]47[/C][C]8.2[/C][C]7.76666666666667[/C][C]0.433333333333333[/C][/ROW]
[ROW][C]48[/C][C]8.7[/C][C]7.76666666666667[/C][C]0.933333333333333[/C][/ROW]
[ROW][C]49[/C][C]8.3[/C][C]7.76666666666667[/C][C]0.533333333333334[/C][/ROW]
[ROW][C]50[/C][C]7.9[/C][C]7.76666666666667[/C][C]0.133333333333334[/C][/ROW]
[ROW][C]51[/C][C]7.5[/C][C]7.76666666666667[/C][C]-0.266666666666667[/C][/ROW]
[ROW][C]52[/C][C]7.8[/C][C]7.76666666666667[/C][C]0.0333333333333331[/C][/ROW]
[ROW][C]53[/C][C]8.3[/C][C]7.76666666666667[/C][C]0.533333333333334[/C][/ROW]
[ROW][C]54[/C][C]8.4[/C][C]7.76666666666667[/C][C]0.633333333333334[/C][/ROW]
[ROW][C]55[/C][C]8.2[/C][C]7.76666666666667[/C][C]0.433333333333333[/C][/ROW]
[ROW][C]56[/C][C]7.7[/C][C]7.76666666666667[/C][C]-0.0666666666666666[/C][/ROW]
[ROW][C]57[/C][C]7.2[/C][C]7.76666666666667[/C][C]-0.566666666666667[/C][/ROW]
[ROW][C]58[/C][C]7.3[/C][C]7.76666666666667[/C][C]-0.466666666666667[/C][/ROW]
[ROW][C]59[/C][C]8.1[/C][C]7.76666666666667[/C][C]0.333333333333333[/C][/ROW]
[ROW][C]60[/C][C]8.5[/C][C]7.76666666666667[/C][C]0.733333333333333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58519&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58519&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
110.99.322222222222221.57777777777778
2109.322222222222220.67777777777778
39.29.32222222222222-0.122222222222223
49.29.32222222222222-0.122222222222223
59.59.322222222222220.177777777777778
69.69.322222222222220.277777777777778
79.59.322222222222220.177777777777778
89.19.32222222222222-0.222222222222222
98.99.32222222222222-0.422222222222222
1099.32222222222222-0.322222222222222
1110.19.322222222222220.777777777777778
1210.39.322222222222220.977777777777779
1310.29.322222222222220.877777777777777
149.69.322222222222220.277777777777778
159.29.32222222222222-0.122222222222223
169.39.32222222222222-0.0222222222222214
179.49.322222222222220.0777777777777783
189.49.322222222222220.0777777777777783
199.29.32222222222222-0.122222222222223
2099.32222222222222-0.322222222222222
2199.32222222222222-0.322222222222222
2299.32222222222222-0.322222222222222
239.89.322222222222220.477777777777779
24109.322222222222220.677777777777778
259.89.322222222222220.477777777777779
269.39.32222222222222-0.0222222222222214
2799.32222222222222-0.322222222222222
2899.32222222222222-0.322222222222222
299.19.32222222222222-0.222222222222222
309.19.32222222222222-0.222222222222222
319.19.32222222222222-0.222222222222222
329.29.32222222222222-0.122222222222223
338.89.32222222222222-0.522222222222221
348.39.32222222222222-1.02222222222222
358.49.32222222222222-0.922222222222222
368.19.32222222222222-1.22222222222222
377.77.76666666666667-0.0666666666666666
387.97.766666666666670.133333333333334
397.97.766666666666670.133333333333334
4087.766666666666670.233333333333333
417.97.766666666666670.133333333333334
427.67.76666666666667-0.166666666666667
437.17.76666666666667-0.666666666666667
446.87.76666666666667-0.966666666666667
456.57.76666666666667-1.26666666666667
466.97.76666666666667-0.866666666666666
478.27.766666666666670.433333333333333
488.77.766666666666670.933333333333333
498.37.766666666666670.533333333333334
507.97.766666666666670.133333333333334
517.57.76666666666667-0.266666666666667
527.87.766666666666670.0333333333333331
538.37.766666666666670.533333333333334
548.47.766666666666670.633333333333334
558.27.766666666666670.433333333333333
567.77.76666666666667-0.0666666666666666
577.27.76666666666667-0.566666666666667
587.37.76666666666667-0.466666666666667
598.17.766666666666670.333333333333333
608.57.766666666666670.733333333333333







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.9180073700583250.1639852598833490.0819926299416747
60.8506159309250370.2987681381499260.149384069074963
70.7688026247432770.4623947505134460.231197375256723
80.7421634987724280.5156730024551450.257836501227572
90.7525789855181630.4948420289636740.247421014481837
100.7184699737038240.5630600525923510.281530026296176
110.7305136757888570.5389726484222870.269486324211143
120.7990404341893970.4019191316212060.200959565810603
130.8313298509612850.3373402980774300.168670149038715
140.7799189111962580.4401621776074840.220081088803742
150.7402043731501530.5195912536996940.259795626849847
160.6837148734652910.6325702530694180.316285126534709
170.6172320302024640.7655359395950720.382767969797536
180.5486355598462820.9027288803074360.451364440153718
190.4929863119449550.985972623889910.507013688055045
200.4673733254468330.9347466508936660.532626674553167
210.4355681365427050.871136273085410.564431863457295
220.3992308031954470.7984616063908930.600769196804553
230.3876049435789510.7752098871579020.612395056421049
240.4516119708234180.9032239416468350.548388029176582
250.4754061454500620.9508122909001230.524593854549938
260.4317411878557490.8634823757114970.568258812144251
270.4027476881914090.8054953763828190.597252311808591
280.3715156169593650.743031233918730.628484383040635
290.3350586548197360.6701173096394720.664941345180264
300.3035642676710220.6071285353420430.696435732328978
310.2800150826753170.5600301653506350.719984917324683
320.2799682401155420.5599364802310840.720031759884458
330.2881516549138690.5763033098277370.711848345086131
340.3604028996375180.7208057992750370.639597100362482
350.3946302840305370.7892605680610730.605369715969463
360.4678353874117920.9356707748235830.532164612588208
370.3912305007615870.7824610015231740.608769499238413
380.3214396425586030.6428792851172070.678560357441397
390.2561687734228830.5123375468457670.743831226577117
400.2031238766031340.4062477532062670.796876123396866
410.1526617011773790.3053234023547580.84733829882262
420.1132709127539610.2265418255079220.886729087246039
430.1225100634884520.2450201269769030.877489936511548
440.2038229773697960.4076459547395910.796177022630205
450.5287435507388520.9425128985222950.471256449261148
460.7341193841924280.5317612316151440.265880615807572
470.6853264203599470.6293471592801060.314673579640053
480.793232814425390.4135343711492190.206767185574610
490.7644919889751640.4710160220496730.235508011024836
500.6705239800827050.658952039834590.329476019917295
510.6187425447567810.7625149104864380.381257455243219
520.5036381407376940.9927237185246120.496361859262306
530.4300814285835910.8601628571671820.569918571416409
540.4026262705041710.8052525410083430.597373729495829
550.3136034918660210.6272069837320420.686396508133979

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.918007370058325 & 0.163985259883349 & 0.0819926299416747 \tabularnewline
6 & 0.850615930925037 & 0.298768138149926 & 0.149384069074963 \tabularnewline
7 & 0.768802624743277 & 0.462394750513446 & 0.231197375256723 \tabularnewline
8 & 0.742163498772428 & 0.515673002455145 & 0.257836501227572 \tabularnewline
9 & 0.752578985518163 & 0.494842028963674 & 0.247421014481837 \tabularnewline
10 & 0.718469973703824 & 0.563060052592351 & 0.281530026296176 \tabularnewline
11 & 0.730513675788857 & 0.538972648422287 & 0.269486324211143 \tabularnewline
12 & 0.799040434189397 & 0.401919131621206 & 0.200959565810603 \tabularnewline
13 & 0.831329850961285 & 0.337340298077430 & 0.168670149038715 \tabularnewline
14 & 0.779918911196258 & 0.440162177607484 & 0.220081088803742 \tabularnewline
15 & 0.740204373150153 & 0.519591253699694 & 0.259795626849847 \tabularnewline
16 & 0.683714873465291 & 0.632570253069418 & 0.316285126534709 \tabularnewline
17 & 0.617232030202464 & 0.765535939595072 & 0.382767969797536 \tabularnewline
18 & 0.548635559846282 & 0.902728880307436 & 0.451364440153718 \tabularnewline
19 & 0.492986311944955 & 0.98597262388991 & 0.507013688055045 \tabularnewline
20 & 0.467373325446833 & 0.934746650893666 & 0.532626674553167 \tabularnewline
21 & 0.435568136542705 & 0.87113627308541 & 0.564431863457295 \tabularnewline
22 & 0.399230803195447 & 0.798461606390893 & 0.600769196804553 \tabularnewline
23 & 0.387604943578951 & 0.775209887157902 & 0.612395056421049 \tabularnewline
24 & 0.451611970823418 & 0.903223941646835 & 0.548388029176582 \tabularnewline
25 & 0.475406145450062 & 0.950812290900123 & 0.524593854549938 \tabularnewline
26 & 0.431741187855749 & 0.863482375711497 & 0.568258812144251 \tabularnewline
27 & 0.402747688191409 & 0.805495376382819 & 0.597252311808591 \tabularnewline
28 & 0.371515616959365 & 0.74303123391873 & 0.628484383040635 \tabularnewline
29 & 0.335058654819736 & 0.670117309639472 & 0.664941345180264 \tabularnewline
30 & 0.303564267671022 & 0.607128535342043 & 0.696435732328978 \tabularnewline
31 & 0.280015082675317 & 0.560030165350635 & 0.719984917324683 \tabularnewline
32 & 0.279968240115542 & 0.559936480231084 & 0.720031759884458 \tabularnewline
33 & 0.288151654913869 & 0.576303309827737 & 0.711848345086131 \tabularnewline
34 & 0.360402899637518 & 0.720805799275037 & 0.639597100362482 \tabularnewline
35 & 0.394630284030537 & 0.789260568061073 & 0.605369715969463 \tabularnewline
36 & 0.467835387411792 & 0.935670774823583 & 0.532164612588208 \tabularnewline
37 & 0.391230500761587 & 0.782461001523174 & 0.608769499238413 \tabularnewline
38 & 0.321439642558603 & 0.642879285117207 & 0.678560357441397 \tabularnewline
39 & 0.256168773422883 & 0.512337546845767 & 0.743831226577117 \tabularnewline
40 & 0.203123876603134 & 0.406247753206267 & 0.796876123396866 \tabularnewline
41 & 0.152661701177379 & 0.305323402354758 & 0.84733829882262 \tabularnewline
42 & 0.113270912753961 & 0.226541825507922 & 0.886729087246039 \tabularnewline
43 & 0.122510063488452 & 0.245020126976903 & 0.877489936511548 \tabularnewline
44 & 0.203822977369796 & 0.407645954739591 & 0.796177022630205 \tabularnewline
45 & 0.528743550738852 & 0.942512898522295 & 0.471256449261148 \tabularnewline
46 & 0.734119384192428 & 0.531761231615144 & 0.265880615807572 \tabularnewline
47 & 0.685326420359947 & 0.629347159280106 & 0.314673579640053 \tabularnewline
48 & 0.79323281442539 & 0.413534371149219 & 0.206767185574610 \tabularnewline
49 & 0.764491988975164 & 0.471016022049673 & 0.235508011024836 \tabularnewline
50 & 0.670523980082705 & 0.65895203983459 & 0.329476019917295 \tabularnewline
51 & 0.618742544756781 & 0.762514910486438 & 0.381257455243219 \tabularnewline
52 & 0.503638140737694 & 0.992723718524612 & 0.496361859262306 \tabularnewline
53 & 0.430081428583591 & 0.860162857167182 & 0.569918571416409 \tabularnewline
54 & 0.402626270504171 & 0.805252541008343 & 0.597373729495829 \tabularnewline
55 & 0.313603491866021 & 0.627206983732042 & 0.686396508133979 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58519&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.918007370058325[/C][C]0.163985259883349[/C][C]0.0819926299416747[/C][/ROW]
[ROW][C]6[/C][C]0.850615930925037[/C][C]0.298768138149926[/C][C]0.149384069074963[/C][/ROW]
[ROW][C]7[/C][C]0.768802624743277[/C][C]0.462394750513446[/C][C]0.231197375256723[/C][/ROW]
[ROW][C]8[/C][C]0.742163498772428[/C][C]0.515673002455145[/C][C]0.257836501227572[/C][/ROW]
[ROW][C]9[/C][C]0.752578985518163[/C][C]0.494842028963674[/C][C]0.247421014481837[/C][/ROW]
[ROW][C]10[/C][C]0.718469973703824[/C][C]0.563060052592351[/C][C]0.281530026296176[/C][/ROW]
[ROW][C]11[/C][C]0.730513675788857[/C][C]0.538972648422287[/C][C]0.269486324211143[/C][/ROW]
[ROW][C]12[/C][C]0.799040434189397[/C][C]0.401919131621206[/C][C]0.200959565810603[/C][/ROW]
[ROW][C]13[/C][C]0.831329850961285[/C][C]0.337340298077430[/C][C]0.168670149038715[/C][/ROW]
[ROW][C]14[/C][C]0.779918911196258[/C][C]0.440162177607484[/C][C]0.220081088803742[/C][/ROW]
[ROW][C]15[/C][C]0.740204373150153[/C][C]0.519591253699694[/C][C]0.259795626849847[/C][/ROW]
[ROW][C]16[/C][C]0.683714873465291[/C][C]0.632570253069418[/C][C]0.316285126534709[/C][/ROW]
[ROW][C]17[/C][C]0.617232030202464[/C][C]0.765535939595072[/C][C]0.382767969797536[/C][/ROW]
[ROW][C]18[/C][C]0.548635559846282[/C][C]0.902728880307436[/C][C]0.451364440153718[/C][/ROW]
[ROW][C]19[/C][C]0.492986311944955[/C][C]0.98597262388991[/C][C]0.507013688055045[/C][/ROW]
[ROW][C]20[/C][C]0.467373325446833[/C][C]0.934746650893666[/C][C]0.532626674553167[/C][/ROW]
[ROW][C]21[/C][C]0.435568136542705[/C][C]0.87113627308541[/C][C]0.564431863457295[/C][/ROW]
[ROW][C]22[/C][C]0.399230803195447[/C][C]0.798461606390893[/C][C]0.600769196804553[/C][/ROW]
[ROW][C]23[/C][C]0.387604943578951[/C][C]0.775209887157902[/C][C]0.612395056421049[/C][/ROW]
[ROW][C]24[/C][C]0.451611970823418[/C][C]0.903223941646835[/C][C]0.548388029176582[/C][/ROW]
[ROW][C]25[/C][C]0.475406145450062[/C][C]0.950812290900123[/C][C]0.524593854549938[/C][/ROW]
[ROW][C]26[/C][C]0.431741187855749[/C][C]0.863482375711497[/C][C]0.568258812144251[/C][/ROW]
[ROW][C]27[/C][C]0.402747688191409[/C][C]0.805495376382819[/C][C]0.597252311808591[/C][/ROW]
[ROW][C]28[/C][C]0.371515616959365[/C][C]0.74303123391873[/C][C]0.628484383040635[/C][/ROW]
[ROW][C]29[/C][C]0.335058654819736[/C][C]0.670117309639472[/C][C]0.664941345180264[/C][/ROW]
[ROW][C]30[/C][C]0.303564267671022[/C][C]0.607128535342043[/C][C]0.696435732328978[/C][/ROW]
[ROW][C]31[/C][C]0.280015082675317[/C][C]0.560030165350635[/C][C]0.719984917324683[/C][/ROW]
[ROW][C]32[/C][C]0.279968240115542[/C][C]0.559936480231084[/C][C]0.720031759884458[/C][/ROW]
[ROW][C]33[/C][C]0.288151654913869[/C][C]0.576303309827737[/C][C]0.711848345086131[/C][/ROW]
[ROW][C]34[/C][C]0.360402899637518[/C][C]0.720805799275037[/C][C]0.639597100362482[/C][/ROW]
[ROW][C]35[/C][C]0.394630284030537[/C][C]0.789260568061073[/C][C]0.605369715969463[/C][/ROW]
[ROW][C]36[/C][C]0.467835387411792[/C][C]0.935670774823583[/C][C]0.532164612588208[/C][/ROW]
[ROW][C]37[/C][C]0.391230500761587[/C][C]0.782461001523174[/C][C]0.608769499238413[/C][/ROW]
[ROW][C]38[/C][C]0.321439642558603[/C][C]0.642879285117207[/C][C]0.678560357441397[/C][/ROW]
[ROW][C]39[/C][C]0.256168773422883[/C][C]0.512337546845767[/C][C]0.743831226577117[/C][/ROW]
[ROW][C]40[/C][C]0.203123876603134[/C][C]0.406247753206267[/C][C]0.796876123396866[/C][/ROW]
[ROW][C]41[/C][C]0.152661701177379[/C][C]0.305323402354758[/C][C]0.84733829882262[/C][/ROW]
[ROW][C]42[/C][C]0.113270912753961[/C][C]0.226541825507922[/C][C]0.886729087246039[/C][/ROW]
[ROW][C]43[/C][C]0.122510063488452[/C][C]0.245020126976903[/C][C]0.877489936511548[/C][/ROW]
[ROW][C]44[/C][C]0.203822977369796[/C][C]0.407645954739591[/C][C]0.796177022630205[/C][/ROW]
[ROW][C]45[/C][C]0.528743550738852[/C][C]0.942512898522295[/C][C]0.471256449261148[/C][/ROW]
[ROW][C]46[/C][C]0.734119384192428[/C][C]0.531761231615144[/C][C]0.265880615807572[/C][/ROW]
[ROW][C]47[/C][C]0.685326420359947[/C][C]0.629347159280106[/C][C]0.314673579640053[/C][/ROW]
[ROW][C]48[/C][C]0.79323281442539[/C][C]0.413534371149219[/C][C]0.206767185574610[/C][/ROW]
[ROW][C]49[/C][C]0.764491988975164[/C][C]0.471016022049673[/C][C]0.235508011024836[/C][/ROW]
[ROW][C]50[/C][C]0.670523980082705[/C][C]0.65895203983459[/C][C]0.329476019917295[/C][/ROW]
[ROW][C]51[/C][C]0.618742544756781[/C][C]0.762514910486438[/C][C]0.381257455243219[/C][/ROW]
[ROW][C]52[/C][C]0.503638140737694[/C][C]0.992723718524612[/C][C]0.496361859262306[/C][/ROW]
[ROW][C]53[/C][C]0.430081428583591[/C][C]0.860162857167182[/C][C]0.569918571416409[/C][/ROW]
[ROW][C]54[/C][C]0.402626270504171[/C][C]0.805252541008343[/C][C]0.597373729495829[/C][/ROW]
[ROW][C]55[/C][C]0.313603491866021[/C][C]0.627206983732042[/C][C]0.686396508133979[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58519&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58519&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.9180073700583250.1639852598833490.0819926299416747
60.8506159309250370.2987681381499260.149384069074963
70.7688026247432770.4623947505134460.231197375256723
80.7421634987724280.5156730024551450.257836501227572
90.7525789855181630.4948420289636740.247421014481837
100.7184699737038240.5630600525923510.281530026296176
110.7305136757888570.5389726484222870.269486324211143
120.7990404341893970.4019191316212060.200959565810603
130.8313298509612850.3373402980774300.168670149038715
140.7799189111962580.4401621776074840.220081088803742
150.7402043731501530.5195912536996940.259795626849847
160.6837148734652910.6325702530694180.316285126534709
170.6172320302024640.7655359395950720.382767969797536
180.5486355598462820.9027288803074360.451364440153718
190.4929863119449550.985972623889910.507013688055045
200.4673733254468330.9347466508936660.532626674553167
210.4355681365427050.871136273085410.564431863457295
220.3992308031954470.7984616063908930.600769196804553
230.3876049435789510.7752098871579020.612395056421049
240.4516119708234180.9032239416468350.548388029176582
250.4754061454500620.9508122909001230.524593854549938
260.4317411878557490.8634823757114970.568258812144251
270.4027476881914090.8054953763828190.597252311808591
280.3715156169593650.743031233918730.628484383040635
290.3350586548197360.6701173096394720.664941345180264
300.3035642676710220.6071285353420430.696435732328978
310.2800150826753170.5600301653506350.719984917324683
320.2799682401155420.5599364802310840.720031759884458
330.2881516549138690.5763033098277370.711848345086131
340.3604028996375180.7208057992750370.639597100362482
350.3946302840305370.7892605680610730.605369715969463
360.4678353874117920.9356707748235830.532164612588208
370.3912305007615870.7824610015231740.608769499238413
380.3214396425586030.6428792851172070.678560357441397
390.2561687734228830.5123375468457670.743831226577117
400.2031238766031340.4062477532062670.796876123396866
410.1526617011773790.3053234023547580.84733829882262
420.1132709127539610.2265418255079220.886729087246039
430.1225100634884520.2450201269769030.877489936511548
440.2038229773697960.4076459547395910.796177022630205
450.5287435507388520.9425128985222950.471256449261148
460.7341193841924280.5317612316151440.265880615807572
470.6853264203599470.6293471592801060.314673579640053
480.793232814425390.4135343711492190.206767185574610
490.7644919889751640.4710160220496730.235508011024836
500.6705239800827050.658952039834590.329476019917295
510.6187425447567810.7625149104864380.381257455243219
520.5036381407376940.9927237185246120.496361859262306
530.4300814285835910.8601628571671820.569918571416409
540.4026262705041710.8052525410083430.597373729495829
550.3136034918660210.6272069837320420.686396508133979







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

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