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 computationSun, 14 Dec 2014 14:30:24 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Dec/14/t141856754754r7k6gd4ryjfxo.htm/, Retrieved Thu, 16 May 2024 05:57:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=267634, Retrieved Thu, 16 May 2024 05:57:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact90
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Survey Scores] [Intrinsic Motivat...] [2010-10-12 11:18:40] [b98453cac15ba1066b407e146608df68]
- RMP   [Survey Scores] [] [2014-10-09 22:08:50] [32b17a345b130fdf5cc88718ed94a974]
- RMPD      [Multiple Regression] [] [2014-12-14 14:30:24] [e9774d91d06602b4e3bbce6871390c37] [Current]
Feedback Forum

Post a new message
Dataseries X:
2011 1 11 8 7 18 12 20 4 0
2011 1 16 12 9 22 14 18 5 0
2011 1 24 24 19 22 25 24 4 1
2011 1 15 16 12 19 15 20 4 1
2011 1 17 19 16 25 20 20 9 1
2011 1 19 16 17 28 21 24 8 0
2011 1 19 15 9 16 15 21 11 1
2011 1 28 28 28 28 28 28 4 1
2011 1 26 21 20 21 11 10 4 1
2011 1 15 18 16 22 22 22 6 1
2011 1 26 22 22 24 22 19 4 1
2011 1 24 22 12 26 24 23 4 0
2011 1 25 25 18 28 23 24 4 0
2011 0 22 20 20 24 24 24 11 0
2011 1 15 16 12 20 21 25 4 1
2011 1 21 19 16 26 20 24 4 0
2011 1 27 26 21 28 25 28 6 0
2011 1 26 20 17 23 24 22 8 1
2011 1 22 19 17 24 21 26 5 0
2011 1 22 23 18 22 25 21 9 1
2011 1 20 18 15 21 23 26 4 1
2011 0 21 16 20 25 20 23 7 1
2011 1 22 21 21 21 22 24 4 1
2011 1 21 20 12 26 25 25 4 0
2011 1 8 15 6 23 23 24 7 0
2011 1 22 19 13 21 19 20 12 0
2011 1 20 19 19 27 21 24 7 1
2011 1 17 20 14 23 25 23 8 1
2011 1 23 19 12 23 24 23 4 0
2011 0 20 19 17 19 24 21 9 1
2011 1 19 18 10 24 28 24 4 0
2011 1 22 17 11 27 18 23 4 1
2011 1 17 8 10 25 26 25 4 1
2011 0 14 9 7 25 18 22 7 1
2011 1 24 22 22 23 22 22 4 0
2011 0 18 22 16 25 26 24 4 1
2011 1 18 14 11 24 12 24 4 1
2011 0 23 24 20 28 20 25 4 1
2011 1 24 21 17 20 20 23 4 1
2011 1 23 20 14 19 24 27 4 1
2011 1 20 18 16 21 22 23 12 1
2011 1 22 24 15 18 23 23 4 1
2011 1 22 19 15 27 19 24 5 0
2011 1 15 16 10 25 24 26 15 0
2011 1 19 16 18 21 16 23 10 0
2011 1 21 15 10 27 19 20 5 1
2011 1 20 15 16 23 18 18 9 0
2011 1 18 14 5 27 25 26 4 0
2011 1 16 16 10 25 17 25 7 0
2011 0 17 13 8 19 17 23 5 1
2011 1 24 26 16 24 24 18 4 0
2011 1 19 18 16 23 22 26 4 1
2011 0 20 15 14 23 18 25 4 0
2011 0 19 21 9 26 20 26 4 0
2011 0 21 17 21 26 21 24 6 1
2011 0 15 18 7 16 21 22 10 0
2011 0 22 25 16 25 25 28 4 0
2011 0 14 12 8 20 21 24 11 1
2011 0 11 16 5 20 22 23 14 0
2011 0 22 23 22 24 24 23 4 0
2011 0 25 19 17 27 18 27 4 1
2011 0 22 18 20 23 19 24 5 0
2011 0 22 23 18 24 22 23 4 0




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\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 & 5 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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 time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Year[t] = + 2011 + 6.07932e-13course[t] -1.84849e-13AMS.I1[t] -1.56602e-13AMS.I2[t] + 1.39699e-13AMS.I3[t] -1.95518e-13AMS.E1[t] -1.03635e-13AMS.E2[t] + 2.10139e-15AMS.E3[t] -2.48891e-13AMS.A[t] -1.29511e-12Gender[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Year[t] =  +  2011 +  6.07932e-13course[t] -1.84849e-13AMS.I1[t] -1.56602e-13AMS.I2[t] +  1.39699e-13AMS.I3[t] -1.95518e-13AMS.E1[t] -1.03635e-13AMS.E2[t] +  2.10139e-15AMS.E3[t] -2.48891e-13AMS.A[t] -1.29511e-12Gender[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Year[t] =  +  2011 +  6.07932e-13course[t] -1.84849e-13AMS.I1[t] -1.56602e-13AMS.I2[t] +  1.39699e-13AMS.I3[t] -1.95518e-13AMS.E1[t] -1.03635e-13AMS.E2[t] +  2.10139e-15AMS.E3[t] -2.48891e-13AMS.A[t] -1.29511e-12Gender[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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
Year[t] = + 2011 + 6.07932e-13course[t] -1.84849e-13AMS.I1[t] -1.56602e-13AMS.I2[t] + 1.39699e-13AMS.I3[t] -1.95518e-13AMS.E1[t] -1.03635e-13AMS.E2[t] + 2.10139e-15AMS.E3[t] -2.48891e-13AMS.A[t] -1.29511e-12Gender[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)20114.02638e-124.995e+1400
course6.07932e-137.35496e-130.82660.4121920.206096
AMS.I1-1.84849e-131.42207e-13-1.30.1992750.0996374
AMS.I2-1.56602e-131.36568e-13-1.1470.2566590.128329
AMS.I31.39699e-131.07231e-131.3030.1982790.0991396
AMS.E1-1.95518e-131.2738e-13-1.5350.1307510.0653754
AMS.E2-1.03635e-131.18099e-13-0.87750.384160.19208
AMS.E32.10139e-151.39075e-130.015110.9880010.494001
AMS.A-2.48891e-131.25471e-13-1.9840.05248560.0262428
Gender-1.29511e-126.96448e-13-1.860.06849840.0342492

\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) & 2011 & 4.02638e-12 & 4.995e+14 & 0 & 0 \tabularnewline
course & 6.07932e-13 & 7.35496e-13 & 0.8266 & 0.412192 & 0.206096 \tabularnewline
AMS.I1 & -1.84849e-13 & 1.42207e-13 & -1.3 & 0.199275 & 0.0996374 \tabularnewline
AMS.I2 & -1.56602e-13 & 1.36568e-13 & -1.147 & 0.256659 & 0.128329 \tabularnewline
AMS.I3 & 1.39699e-13 & 1.07231e-13 & 1.303 & 0.198279 & 0.0991396 \tabularnewline
AMS.E1 & -1.95518e-13 & 1.2738e-13 & -1.535 & 0.130751 & 0.0653754 \tabularnewline
AMS.E2 & -1.03635e-13 & 1.18099e-13 & -0.8775 & 0.38416 & 0.19208 \tabularnewline
AMS.E3 & 2.10139e-15 & 1.39075e-13 & 0.01511 & 0.988001 & 0.494001 \tabularnewline
AMS.A & -2.48891e-13 & 1.25471e-13 & -1.984 & 0.0524856 & 0.0262428 \tabularnewline
Gender & -1.29511e-12 & 6.96448e-13 & -1.86 & 0.0684984 & 0.0342492 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&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]2011[/C][C]4.02638e-12[/C][C]4.995e+14[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]course[/C][C]6.07932e-13[/C][C]7.35496e-13[/C][C]0.8266[/C][C]0.412192[/C][C]0.206096[/C][/ROW]
[ROW][C]AMS.I1[/C][C]-1.84849e-13[/C][C]1.42207e-13[/C][C]-1.3[/C][C]0.199275[/C][C]0.0996374[/C][/ROW]
[ROW][C]AMS.I2[/C][C]-1.56602e-13[/C][C]1.36568e-13[/C][C]-1.147[/C][C]0.256659[/C][C]0.128329[/C][/ROW]
[ROW][C]AMS.I3[/C][C]1.39699e-13[/C][C]1.07231e-13[/C][C]1.303[/C][C]0.198279[/C][C]0.0991396[/C][/ROW]
[ROW][C]AMS.E1[/C][C]-1.95518e-13[/C][C]1.2738e-13[/C][C]-1.535[/C][C]0.130751[/C][C]0.0653754[/C][/ROW]
[ROW][C]AMS.E2[/C][C]-1.03635e-13[/C][C]1.18099e-13[/C][C]-0.8775[/C][C]0.38416[/C][C]0.19208[/C][/ROW]
[ROW][C]AMS.E3[/C][C]2.10139e-15[/C][C]1.39075e-13[/C][C]0.01511[/C][C]0.988001[/C][C]0.494001[/C][/ROW]
[ROW][C]AMS.A[/C][C]-2.48891e-13[/C][C]1.25471e-13[/C][C]-1.984[/C][C]0.0524856[/C][C]0.0262428[/C][/ROW]
[ROW][C]Gender[/C][C]-1.29511e-12[/C][C]6.96448e-13[/C][C]-1.86[/C][C]0.0684984[/C][C]0.0342492[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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)20114.02638e-124.995e+1400
course6.07932e-137.35496e-130.82660.4121920.206096
AMS.I1-1.84849e-131.42207e-13-1.30.1992750.0996374
AMS.I2-1.56602e-131.36568e-13-1.1470.2566590.128329
AMS.I31.39699e-131.07231e-131.3030.1982790.0991396
AMS.E1-1.95518e-131.2738e-13-1.5350.1307510.0653754
AMS.E2-1.03635e-131.18099e-13-0.87750.384160.19208
AMS.E32.10139e-151.39075e-130.015110.9880010.494001
AMS.A-2.48891e-131.25471e-13-1.9840.05248560.0262428
Gender-1.29511e-126.96448e-13-1.860.06849840.0342492







Multiple Linear Regression - Regression Statistics
Multiple R0.70652
R-squared0.49917
Adjusted R-squared0.414123
F-TEST (value)5.86937
F-TEST (DF numerator)9
F-TEST (DF denominator)53
p-value1.20534e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.53536e-12
Sum Squared Residuals3.40687e-22

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.70652 \tabularnewline
R-squared & 0.49917 \tabularnewline
Adjusted R-squared & 0.414123 \tabularnewline
F-TEST (value) & 5.86937 \tabularnewline
F-TEST (DF numerator) & 9 \tabularnewline
F-TEST (DF denominator) & 53 \tabularnewline
p-value & 1.20534e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 2.53536e-12 \tabularnewline
Sum Squared Residuals & 3.40687e-22 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.70652[/C][/ROW]
[ROW][C]R-squared[/C][C]0.49917[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.414123[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.86937[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]9[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]53[/C][/ROW]
[ROW][C]p-value[/C][C]1.20534e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]2.53536e-12[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3.40687e-22[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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.70652
R-squared0.49917
Adjusted R-squared0.414123
F-TEST (value)5.86937
F-TEST (DF numerator)9
F-TEST (DF denominator)53
p-value1.20534e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.53536e-12
Sum Squared Residuals3.40687e-22







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1201120111.57313e-11
220112011-3.41171e-12
3201120117.22913e-13
420112011-2.83016e-12
5201120113.86296e-13
620112011-7.15724e-13
720112011-6.74681e-13
8201120112.30704e-12
920112011-1.13389e-12
1020112011-1.27016e-12
11201120114.50947e-13
12201120117.73036e-13
13201120118.74797e-13
14201120119.29574e-13
1520112011-2.02333e-12
1620112011-1.22676e-12
17201120111.67865e-12
18201120111.83725e-12
1920112011-1.22432e-12
20201120111.58707e-12
2120112011-8.04291e-13
22201120112.00934e-13
2320112011-9.02414e-13
24201120114.71711e-15
2520112011-2.38819e-12
26201120112.95498e-13
27201120115.1023e-13
28201120116.94242e-13
2920112011-4.68175e-13
30201120116.48407e-13
3120112011-4.76816e-13
32201120116.28837e-13
3320112011-1.13128e-12
3420112011-5.78305e-13
3520112011-1.41568e-12
36201120111.01783e-12
3720112011-1.79083e-12
38201120111.65913e-12
3920112011-3.74607e-13
4020112011-8.63433e-14
41201120119.49809e-13
4220112011-7.52306e-14
4320112011-5.61435e-13
44201120119.85162e-13
4520112011-2.24234e-12
46201120116.29314e-13
4720112011-1.57478e-12
4820112011-3.18133e-13
4920112011-1.54447e-12
5020112011-1.31368e-12
51201120114.60119e-13
5220112011-8.41439e-13
5320112011-1.94661e-12
54201120112.98372e-13
55201120112.65998e-13
5620112011-9.81226e-13
57201120118.1989e-13
58201120117.64797e-14
59201120111.24744e-13
6020112011-6.20156e-13
61201120111.25792e-12
6220112011-1.59067e-12
6320112011-2.6863e-13

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2011 & 2011 & 1.57313e-11 \tabularnewline
2 & 2011 & 2011 & -3.41171e-12 \tabularnewline
3 & 2011 & 2011 & 7.22913e-13 \tabularnewline
4 & 2011 & 2011 & -2.83016e-12 \tabularnewline
5 & 2011 & 2011 & 3.86296e-13 \tabularnewline
6 & 2011 & 2011 & -7.15724e-13 \tabularnewline
7 & 2011 & 2011 & -6.74681e-13 \tabularnewline
8 & 2011 & 2011 & 2.30704e-12 \tabularnewline
9 & 2011 & 2011 & -1.13389e-12 \tabularnewline
10 & 2011 & 2011 & -1.27016e-12 \tabularnewline
11 & 2011 & 2011 & 4.50947e-13 \tabularnewline
12 & 2011 & 2011 & 7.73036e-13 \tabularnewline
13 & 2011 & 2011 & 8.74797e-13 \tabularnewline
14 & 2011 & 2011 & 9.29574e-13 \tabularnewline
15 & 2011 & 2011 & -2.02333e-12 \tabularnewline
16 & 2011 & 2011 & -1.22676e-12 \tabularnewline
17 & 2011 & 2011 & 1.67865e-12 \tabularnewline
18 & 2011 & 2011 & 1.83725e-12 \tabularnewline
19 & 2011 & 2011 & -1.22432e-12 \tabularnewline
20 & 2011 & 2011 & 1.58707e-12 \tabularnewline
21 & 2011 & 2011 & -8.04291e-13 \tabularnewline
22 & 2011 & 2011 & 2.00934e-13 \tabularnewline
23 & 2011 & 2011 & -9.02414e-13 \tabularnewline
24 & 2011 & 2011 & 4.71711e-15 \tabularnewline
25 & 2011 & 2011 & -2.38819e-12 \tabularnewline
26 & 2011 & 2011 & 2.95498e-13 \tabularnewline
27 & 2011 & 2011 & 5.1023e-13 \tabularnewline
28 & 2011 & 2011 & 6.94242e-13 \tabularnewline
29 & 2011 & 2011 & -4.68175e-13 \tabularnewline
30 & 2011 & 2011 & 6.48407e-13 \tabularnewline
31 & 2011 & 2011 & -4.76816e-13 \tabularnewline
32 & 2011 & 2011 & 6.28837e-13 \tabularnewline
33 & 2011 & 2011 & -1.13128e-12 \tabularnewline
34 & 2011 & 2011 & -5.78305e-13 \tabularnewline
35 & 2011 & 2011 & -1.41568e-12 \tabularnewline
36 & 2011 & 2011 & 1.01783e-12 \tabularnewline
37 & 2011 & 2011 & -1.79083e-12 \tabularnewline
38 & 2011 & 2011 & 1.65913e-12 \tabularnewline
39 & 2011 & 2011 & -3.74607e-13 \tabularnewline
40 & 2011 & 2011 & -8.63433e-14 \tabularnewline
41 & 2011 & 2011 & 9.49809e-13 \tabularnewline
42 & 2011 & 2011 & -7.52306e-14 \tabularnewline
43 & 2011 & 2011 & -5.61435e-13 \tabularnewline
44 & 2011 & 2011 & 9.85162e-13 \tabularnewline
45 & 2011 & 2011 & -2.24234e-12 \tabularnewline
46 & 2011 & 2011 & 6.29314e-13 \tabularnewline
47 & 2011 & 2011 & -1.57478e-12 \tabularnewline
48 & 2011 & 2011 & -3.18133e-13 \tabularnewline
49 & 2011 & 2011 & -1.54447e-12 \tabularnewline
50 & 2011 & 2011 & -1.31368e-12 \tabularnewline
51 & 2011 & 2011 & 4.60119e-13 \tabularnewline
52 & 2011 & 2011 & -8.41439e-13 \tabularnewline
53 & 2011 & 2011 & -1.94661e-12 \tabularnewline
54 & 2011 & 2011 & 2.98372e-13 \tabularnewline
55 & 2011 & 2011 & 2.65998e-13 \tabularnewline
56 & 2011 & 2011 & -9.81226e-13 \tabularnewline
57 & 2011 & 2011 & 8.1989e-13 \tabularnewline
58 & 2011 & 2011 & 7.64797e-14 \tabularnewline
59 & 2011 & 2011 & 1.24744e-13 \tabularnewline
60 & 2011 & 2011 & -6.20156e-13 \tabularnewline
61 & 2011 & 2011 & 1.25792e-12 \tabularnewline
62 & 2011 & 2011 & -1.59067e-12 \tabularnewline
63 & 2011 & 2011 & -2.6863e-13 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&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]2011[/C][C]2011[/C][C]1.57313e-11[/C][/ROW]
[ROW][C]2[/C][C]2011[/C][C]2011[/C][C]-3.41171e-12[/C][/ROW]
[ROW][C]3[/C][C]2011[/C][C]2011[/C][C]7.22913e-13[/C][/ROW]
[ROW][C]4[/C][C]2011[/C][C]2011[/C][C]-2.83016e-12[/C][/ROW]
[ROW][C]5[/C][C]2011[/C][C]2011[/C][C]3.86296e-13[/C][/ROW]
[ROW][C]6[/C][C]2011[/C][C]2011[/C][C]-7.15724e-13[/C][/ROW]
[ROW][C]7[/C][C]2011[/C][C]2011[/C][C]-6.74681e-13[/C][/ROW]
[ROW][C]8[/C][C]2011[/C][C]2011[/C][C]2.30704e-12[/C][/ROW]
[ROW][C]9[/C][C]2011[/C][C]2011[/C][C]-1.13389e-12[/C][/ROW]
[ROW][C]10[/C][C]2011[/C][C]2011[/C][C]-1.27016e-12[/C][/ROW]
[ROW][C]11[/C][C]2011[/C][C]2011[/C][C]4.50947e-13[/C][/ROW]
[ROW][C]12[/C][C]2011[/C][C]2011[/C][C]7.73036e-13[/C][/ROW]
[ROW][C]13[/C][C]2011[/C][C]2011[/C][C]8.74797e-13[/C][/ROW]
[ROW][C]14[/C][C]2011[/C][C]2011[/C][C]9.29574e-13[/C][/ROW]
[ROW][C]15[/C][C]2011[/C][C]2011[/C][C]-2.02333e-12[/C][/ROW]
[ROW][C]16[/C][C]2011[/C][C]2011[/C][C]-1.22676e-12[/C][/ROW]
[ROW][C]17[/C][C]2011[/C][C]2011[/C][C]1.67865e-12[/C][/ROW]
[ROW][C]18[/C][C]2011[/C][C]2011[/C][C]1.83725e-12[/C][/ROW]
[ROW][C]19[/C][C]2011[/C][C]2011[/C][C]-1.22432e-12[/C][/ROW]
[ROW][C]20[/C][C]2011[/C][C]2011[/C][C]1.58707e-12[/C][/ROW]
[ROW][C]21[/C][C]2011[/C][C]2011[/C][C]-8.04291e-13[/C][/ROW]
[ROW][C]22[/C][C]2011[/C][C]2011[/C][C]2.00934e-13[/C][/ROW]
[ROW][C]23[/C][C]2011[/C][C]2011[/C][C]-9.02414e-13[/C][/ROW]
[ROW][C]24[/C][C]2011[/C][C]2011[/C][C]4.71711e-15[/C][/ROW]
[ROW][C]25[/C][C]2011[/C][C]2011[/C][C]-2.38819e-12[/C][/ROW]
[ROW][C]26[/C][C]2011[/C][C]2011[/C][C]2.95498e-13[/C][/ROW]
[ROW][C]27[/C][C]2011[/C][C]2011[/C][C]5.1023e-13[/C][/ROW]
[ROW][C]28[/C][C]2011[/C][C]2011[/C][C]6.94242e-13[/C][/ROW]
[ROW][C]29[/C][C]2011[/C][C]2011[/C][C]-4.68175e-13[/C][/ROW]
[ROW][C]30[/C][C]2011[/C][C]2011[/C][C]6.48407e-13[/C][/ROW]
[ROW][C]31[/C][C]2011[/C][C]2011[/C][C]-4.76816e-13[/C][/ROW]
[ROW][C]32[/C][C]2011[/C][C]2011[/C][C]6.28837e-13[/C][/ROW]
[ROW][C]33[/C][C]2011[/C][C]2011[/C][C]-1.13128e-12[/C][/ROW]
[ROW][C]34[/C][C]2011[/C][C]2011[/C][C]-5.78305e-13[/C][/ROW]
[ROW][C]35[/C][C]2011[/C][C]2011[/C][C]-1.41568e-12[/C][/ROW]
[ROW][C]36[/C][C]2011[/C][C]2011[/C][C]1.01783e-12[/C][/ROW]
[ROW][C]37[/C][C]2011[/C][C]2011[/C][C]-1.79083e-12[/C][/ROW]
[ROW][C]38[/C][C]2011[/C][C]2011[/C][C]1.65913e-12[/C][/ROW]
[ROW][C]39[/C][C]2011[/C][C]2011[/C][C]-3.74607e-13[/C][/ROW]
[ROW][C]40[/C][C]2011[/C][C]2011[/C][C]-8.63433e-14[/C][/ROW]
[ROW][C]41[/C][C]2011[/C][C]2011[/C][C]9.49809e-13[/C][/ROW]
[ROW][C]42[/C][C]2011[/C][C]2011[/C][C]-7.52306e-14[/C][/ROW]
[ROW][C]43[/C][C]2011[/C][C]2011[/C][C]-5.61435e-13[/C][/ROW]
[ROW][C]44[/C][C]2011[/C][C]2011[/C][C]9.85162e-13[/C][/ROW]
[ROW][C]45[/C][C]2011[/C][C]2011[/C][C]-2.24234e-12[/C][/ROW]
[ROW][C]46[/C][C]2011[/C][C]2011[/C][C]6.29314e-13[/C][/ROW]
[ROW][C]47[/C][C]2011[/C][C]2011[/C][C]-1.57478e-12[/C][/ROW]
[ROW][C]48[/C][C]2011[/C][C]2011[/C][C]-3.18133e-13[/C][/ROW]
[ROW][C]49[/C][C]2011[/C][C]2011[/C][C]-1.54447e-12[/C][/ROW]
[ROW][C]50[/C][C]2011[/C][C]2011[/C][C]-1.31368e-12[/C][/ROW]
[ROW][C]51[/C][C]2011[/C][C]2011[/C][C]4.60119e-13[/C][/ROW]
[ROW][C]52[/C][C]2011[/C][C]2011[/C][C]-8.41439e-13[/C][/ROW]
[ROW][C]53[/C][C]2011[/C][C]2011[/C][C]-1.94661e-12[/C][/ROW]
[ROW][C]54[/C][C]2011[/C][C]2011[/C][C]2.98372e-13[/C][/ROW]
[ROW][C]55[/C][C]2011[/C][C]2011[/C][C]2.65998e-13[/C][/ROW]
[ROW][C]56[/C][C]2011[/C][C]2011[/C][C]-9.81226e-13[/C][/ROW]
[ROW][C]57[/C][C]2011[/C][C]2011[/C][C]8.1989e-13[/C][/ROW]
[ROW][C]58[/C][C]2011[/C][C]2011[/C][C]7.64797e-14[/C][/ROW]
[ROW][C]59[/C][C]2011[/C][C]2011[/C][C]1.24744e-13[/C][/ROW]
[ROW][C]60[/C][C]2011[/C][C]2011[/C][C]-6.20156e-13[/C][/ROW]
[ROW][C]61[/C][C]2011[/C][C]2011[/C][C]1.25792e-12[/C][/ROW]
[ROW][C]62[/C][C]2011[/C][C]2011[/C][C]-1.59067e-12[/C][/ROW]
[ROW][C]63[/C][C]2011[/C][C]2011[/C][C]-2.6863e-13[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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
1201120111.57313e-11
220112011-3.41171e-12
3201120117.22913e-13
420112011-2.83016e-12
5201120113.86296e-13
620112011-7.15724e-13
720112011-6.74681e-13
8201120112.30704e-12
920112011-1.13389e-12
1020112011-1.27016e-12
11201120114.50947e-13
12201120117.73036e-13
13201120118.74797e-13
14201120119.29574e-13
1520112011-2.02333e-12
1620112011-1.22676e-12
17201120111.67865e-12
18201120111.83725e-12
1920112011-1.22432e-12
20201120111.58707e-12
2120112011-8.04291e-13
22201120112.00934e-13
2320112011-9.02414e-13
24201120114.71711e-15
2520112011-2.38819e-12
26201120112.95498e-13
27201120115.1023e-13
28201120116.94242e-13
2920112011-4.68175e-13
30201120116.48407e-13
3120112011-4.76816e-13
32201120116.28837e-13
3320112011-1.13128e-12
3420112011-5.78305e-13
3520112011-1.41568e-12
36201120111.01783e-12
3720112011-1.79083e-12
38201120111.65913e-12
3920112011-3.74607e-13
4020112011-8.63433e-14
41201120119.49809e-13
4220112011-7.52306e-14
4320112011-5.61435e-13
44201120119.85162e-13
4520112011-2.24234e-12
46201120116.29314e-13
4720112011-1.57478e-12
4820112011-3.18133e-13
4920112011-1.54447e-12
5020112011-1.31368e-12
51201120114.60119e-13
5220112011-8.41439e-13
5320112011-1.94661e-12
54201120112.98372e-13
55201120112.65998e-13
5620112011-9.81226e-13
57201120118.1989e-13
58201120117.64797e-14
59201120111.24744e-13
6020112011-6.20156e-13
61201120111.25792e-12
6220112011-1.59067e-12
6320112011-2.6863e-13







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
13100
140.003574930.007149870.996425
150.02128650.04257290.978714
16001
17001
182.84018e-075.68037e-071
191.58013e-063.16026e-060.999998
201.13602e-072.27205e-071
210.9089420.1821150.0910575
220.3855810.7711610.614419
235.98383e-071.19677e-060.999999
240.004796130.009592260.995204
250.002670520.005341030.997329
260.9999959.76294e-064.88147e-06
270.0007042880.001408580.999296
280.9006790.1986410.0993207
290.3299810.6599610.670019
300.8432410.3135170.156759
31001
32100
330.03010670.06021340.969893
340.2078230.4156470.792177
350.02958940.05917890.970411
360.9980970.00380580.0019029
372.30411e-074.60823e-071
380.9756480.04870330.0243516
390.9988520.002296410.00114821
400.9999911.76016e-058.80078e-06
410.6428180.7143640.357182
420.0009006120.001801220.999099
4313.07797e-071.53899e-07
440.9999984.91657e-062.45829e-06
450.9999983.52023e-061.76011e-06
46100
47100
480.9823150.03537090.0176855
490.9969540.006091330.00304567
50001

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
13 & 1 & 0 & 0 \tabularnewline
14 & 0.00357493 & 0.00714987 & 0.996425 \tabularnewline
15 & 0.0212865 & 0.0425729 & 0.978714 \tabularnewline
16 & 0 & 0 & 1 \tabularnewline
17 & 0 & 0 & 1 \tabularnewline
18 & 2.84018e-07 & 5.68037e-07 & 1 \tabularnewline
19 & 1.58013e-06 & 3.16026e-06 & 0.999998 \tabularnewline
20 & 1.13602e-07 & 2.27205e-07 & 1 \tabularnewline
21 & 0.908942 & 0.182115 & 0.0910575 \tabularnewline
22 & 0.385581 & 0.771161 & 0.614419 \tabularnewline
23 & 5.98383e-07 & 1.19677e-06 & 0.999999 \tabularnewline
24 & 0.00479613 & 0.00959226 & 0.995204 \tabularnewline
25 & 0.00267052 & 0.00534103 & 0.997329 \tabularnewline
26 & 0.999995 & 9.76294e-06 & 4.88147e-06 \tabularnewline
27 & 0.000704288 & 0.00140858 & 0.999296 \tabularnewline
28 & 0.900679 & 0.198641 & 0.0993207 \tabularnewline
29 & 0.329981 & 0.659961 & 0.670019 \tabularnewline
30 & 0.843241 & 0.313517 & 0.156759 \tabularnewline
31 & 0 & 0 & 1 \tabularnewline
32 & 1 & 0 & 0 \tabularnewline
33 & 0.0301067 & 0.0602134 & 0.969893 \tabularnewline
34 & 0.207823 & 0.415647 & 0.792177 \tabularnewline
35 & 0.0295894 & 0.0591789 & 0.970411 \tabularnewline
36 & 0.998097 & 0.0038058 & 0.0019029 \tabularnewline
37 & 2.30411e-07 & 4.60823e-07 & 1 \tabularnewline
38 & 0.975648 & 0.0487033 & 0.0243516 \tabularnewline
39 & 0.998852 & 0.00229641 & 0.00114821 \tabularnewline
40 & 0.999991 & 1.76016e-05 & 8.80078e-06 \tabularnewline
41 & 0.642818 & 0.714364 & 0.357182 \tabularnewline
42 & 0.000900612 & 0.00180122 & 0.999099 \tabularnewline
43 & 1 & 3.07797e-07 & 1.53899e-07 \tabularnewline
44 & 0.999998 & 4.91657e-06 & 2.45829e-06 \tabularnewline
45 & 0.999998 & 3.52023e-06 & 1.76011e-06 \tabularnewline
46 & 1 & 0 & 0 \tabularnewline
47 & 1 & 0 & 0 \tabularnewline
48 & 0.982315 & 0.0353709 & 0.0176855 \tabularnewline
49 & 0.996954 & 0.00609133 & 0.00304567 \tabularnewline
50 & 0 & 0 & 1 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&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]13[/C][C]1[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.00357493[/C][C]0.00714987[/C][C]0.996425[/C][/ROW]
[ROW][C]15[/C][C]0.0212865[/C][C]0.0425729[/C][C]0.978714[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]17[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]18[/C][C]2.84018e-07[/C][C]5.68037e-07[/C][C]1[/C][/ROW]
[ROW][C]19[/C][C]1.58013e-06[/C][C]3.16026e-06[/C][C]0.999998[/C][/ROW]
[ROW][C]20[/C][C]1.13602e-07[/C][C]2.27205e-07[/C][C]1[/C][/ROW]
[ROW][C]21[/C][C]0.908942[/C][C]0.182115[/C][C]0.0910575[/C][/ROW]
[ROW][C]22[/C][C]0.385581[/C][C]0.771161[/C][C]0.614419[/C][/ROW]
[ROW][C]23[/C][C]5.98383e-07[/C][C]1.19677e-06[/C][C]0.999999[/C][/ROW]
[ROW][C]24[/C][C]0.00479613[/C][C]0.00959226[/C][C]0.995204[/C][/ROW]
[ROW][C]25[/C][C]0.00267052[/C][C]0.00534103[/C][C]0.997329[/C][/ROW]
[ROW][C]26[/C][C]0.999995[/C][C]9.76294e-06[/C][C]4.88147e-06[/C][/ROW]
[ROW][C]27[/C][C]0.000704288[/C][C]0.00140858[/C][C]0.999296[/C][/ROW]
[ROW][C]28[/C][C]0.900679[/C][C]0.198641[/C][C]0.0993207[/C][/ROW]
[ROW][C]29[/C][C]0.329981[/C][C]0.659961[/C][C]0.670019[/C][/ROW]
[ROW][C]30[/C][C]0.843241[/C][C]0.313517[/C][C]0.156759[/C][/ROW]
[ROW][C]31[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[ROW][C]32[/C][C]1[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]33[/C][C]0.0301067[/C][C]0.0602134[/C][C]0.969893[/C][/ROW]
[ROW][C]34[/C][C]0.207823[/C][C]0.415647[/C][C]0.792177[/C][/ROW]
[ROW][C]35[/C][C]0.0295894[/C][C]0.0591789[/C][C]0.970411[/C][/ROW]
[ROW][C]36[/C][C]0.998097[/C][C]0.0038058[/C][C]0.0019029[/C][/ROW]
[ROW][C]37[/C][C]2.30411e-07[/C][C]4.60823e-07[/C][C]1[/C][/ROW]
[ROW][C]38[/C][C]0.975648[/C][C]0.0487033[/C][C]0.0243516[/C][/ROW]
[ROW][C]39[/C][C]0.998852[/C][C]0.00229641[/C][C]0.00114821[/C][/ROW]
[ROW][C]40[/C][C]0.999991[/C][C]1.76016e-05[/C][C]8.80078e-06[/C][/ROW]
[ROW][C]41[/C][C]0.642818[/C][C]0.714364[/C][C]0.357182[/C][/ROW]
[ROW][C]42[/C][C]0.000900612[/C][C]0.00180122[/C][C]0.999099[/C][/ROW]
[ROW][C]43[/C][C]1[/C][C]3.07797e-07[/C][C]1.53899e-07[/C][/ROW]
[ROW][C]44[/C][C]0.999998[/C][C]4.91657e-06[/C][C]2.45829e-06[/C][/ROW]
[ROW][C]45[/C][C]0.999998[/C][C]3.52023e-06[/C][C]1.76011e-06[/C][/ROW]
[ROW][C]46[/C][C]1[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]47[/C][C]1[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]48[/C][C]0.982315[/C][C]0.0353709[/C][C]0.0176855[/C][/ROW]
[ROW][C]49[/C][C]0.996954[/C][C]0.00609133[/C][C]0.00304567[/C][/ROW]
[ROW][C]50[/C][C]0[/C][C]0[/C][C]1[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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
13100
140.003574930.007149870.996425
150.02128650.04257290.978714
16001
17001
182.84018e-075.68037e-071
191.58013e-063.16026e-060.999998
201.13602e-072.27205e-071
210.9089420.1821150.0910575
220.3855810.7711610.614419
235.98383e-071.19677e-060.999999
240.004796130.009592260.995204
250.002670520.005341030.997329
260.9999959.76294e-064.88147e-06
270.0007042880.001408580.999296
280.9006790.1986410.0993207
290.3299810.6599610.670019
300.8432410.3135170.156759
31001
32100
330.03010670.06021340.969893
340.2078230.4156470.792177
350.02958940.05917890.970411
360.9980970.00380580.0019029
372.30411e-074.60823e-071
380.9756480.04870330.0243516
390.9988520.002296410.00114821
400.9999911.76016e-058.80078e-06
410.6428180.7143640.357182
420.0009006120.001801220.999099
4313.07797e-071.53899e-07
440.9999984.91657e-062.45829e-06
450.9999983.52023e-061.76011e-06
46100
47100
480.9823150.03537090.0176855
490.9969540.006091330.00304567
50001







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level260.684211NOK
5% type I error level290.763158NOK
10% type I error level310.815789NOK

\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 & 26 & 0.684211 & NOK \tabularnewline
5% type I error level & 29 & 0.763158 & NOK \tabularnewline
10% type I error level & 31 & 0.815789 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=267634&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]26[/C][C]0.684211[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]29[/C][C]0.763158[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]31[/C][C]0.815789[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=267634&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=267634&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 level260.684211NOK
5% type I error level290.763158NOK
10% type I error level310.815789NOK



Parameters (Session):
Parameters (R input):
par1 = 1 ; par2 = Omvatten niet Seizoensgebonden Dummies ; par3 = Geen lineaire trend ;
R code (references can be found in the software module):
par3 <- 'Geen lineaire trend'
par2 <- 'Omvatten niet Seizoensgebonden Dummies'
par1 <- '1'
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, signif(mysum$coefficients[i,1],6), 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,signif(mysum$coefficients[i,1],6))
a<-table.element(a, signif(mysum$coefficients[i,2],6))
a<-table.element(a, signif(mysum$coefficients[i,3],4))
a<-table.element(a, signif(mysum$coefficients[i,4],6))
a<-table.element(a, signif(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, signif(sqrt(mysum$r.squared),6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, signif(mysum$r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, signif(mysum$adj.r.squared,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[1],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[2],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, signif(mysum$fstatistic[3],6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, signif(1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]),6))
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, signif(mysum$sigma,6))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, signif(sum(myerror*myerror),6))
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,signif(x[i],6))
a<-table.element(a,signif(x[i]-mysum$resid[i],6))
a<-table.element(a,signif(mysum$resid[i],6))
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,signif(gqarr[mypoint-kp3+1,1],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,2],6))
a<-table.element(a,signif(gqarr[mypoint-kp3+1,3],6))
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,signif(numsignificant1,6))
a<-table.element(a,signif(numsignificant1/numgqtests,6))
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,signif(numsignificant5,6))
a<-table.element(a,signif(numsignificant5/numgqtests,6))
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,signif(numsignificant10,6))
a<-table.element(a,signif(numsignificant10/numgqtests,6))
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')
}