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, 22 Nov 2009 06:02:44 -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/22/t12588951154x0wy8rxdesgvys.htm/, Retrieved Sat, 27 Apr 2024 15:39:03 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58625, Retrieved Sat, 27 Apr 2024 15:39:03 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact207
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]
F    D    [Multiple Regression] [ws77] [2009-11-20 11:51:25] [b8b64ced21f32e31669b267b64eede7f]
-    D        [Multiple Regression] [w7] [2009-11-22 13:02:44] [30a48cc4afddc7f052994dfe2358176d] [Current]
Feedback Forum

Post a new message
Dataseries X:
8	0
8,1	0
7,7	0
7,5	0
7,6	0
7,8	0
7,8	0
7,8	0
7,5	0
7,5	0
7,1	0
7,5	0
7,5	0
7,6	0
7,7	0
7,7	0
7,9	0
8,1	0
8,2	0
8,2	0
8,2	0
7,9	0
7,3	0
6,9	0
6,6	0
6,7	0
6,9	0
7	0
7,1	0
7,2	0
7,1	0
6,9	0
7	0
6,8	0
6,4	0
6,7	0
6,6	0
6,4	0
6,3	0
6,2	0
6,5	0
6,8	1
6,8	1
6,4	1
6,1	1
5,8	1
6,1	1
7,2	1
7,3	1
6,9	1
6,1	1
5,8	1
6,2	1
7,1	1
7,7	1
7,9	1
7,7	1
7,4	1
7,5	1
8	1
8,1	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=58625&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=58625&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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] = + 7.30487804878049 -0.359878048780488X[t] + e[t]

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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] = + 7.30487804878049 -0.359878048780488X[t] + e[t]







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

\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) & 7.30487804878049 & 0.100902 & 72.3955 & 0 & 0 \tabularnewline
X & -0.359878048780488 & 0.176218 & -2.0422 & 0.045607 & 0.022803 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58625&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]7.30487804878049[/C][C]0.100902[/C][C]72.3955[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-0.359878048780488[/C][C]0.176218[/C][C]-2.0422[/C][C]0.045607[/C][C]0.022803[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58625&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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)7.304878048780490.10090272.395500
X-0.3598780487804880.176218-2.04220.0456070.022803







Multiple Linear Regression - Regression Statistics
Multiple R0.256948656215148
R-squared0.0660226119307705
Adjusted R-squared0.0501924867092582
F-TEST (value)4.17069423058316
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.0456065207076984
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.646090254363734
Sum Squared Residuals24.6285243902439

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.256948656215148 \tabularnewline
R-squared & 0.0660226119307705 \tabularnewline
Adjusted R-squared & 0.0501924867092582 \tabularnewline
F-TEST (value) & 4.17069423058316 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.0456065207076984 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.646090254363734 \tabularnewline
Sum Squared Residuals & 24.6285243902439 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58625&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.256948656215148[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0660226119307705[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0501924867092582[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.17069423058316[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.0456065207076984[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.646090254363734[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]24.6285243902439[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58625&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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.256948656215148
R-squared0.0660226119307705
Adjusted R-squared0.0501924867092582
F-TEST (value)4.17069423058316
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.0456065207076984
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.646090254363734
Sum Squared Residuals24.6285243902439







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
187.304878048780480.695121951219518
28.17.304878048780490.795121951219512
37.77.304878048780490.395121951219512
47.57.304878048780490.195121951219512
57.67.304878048780490.295121951219512
67.87.304878048780490.495121951219512
77.87.304878048780490.495121951219512
87.87.304878048780490.495121951219512
97.57.304878048780490.195121951219512
107.57.304878048780490.195121951219512
117.17.30487804878049-0.204878048780488
127.57.304878048780490.195121951219512
137.57.304878048780490.195121951219512
147.67.304878048780490.295121951219512
157.77.304878048780490.395121951219512
167.77.304878048780490.395121951219512
177.97.304878048780490.595121951219513
188.17.304878048780490.795121951219512
198.27.304878048780490.895121951219511
208.27.304878048780490.895121951219511
218.27.304878048780490.895121951219511
227.97.304878048780490.595121951219513
237.37.30487804878049-0.00487804878048807
246.97.30487804878049-0.404878048780487
256.67.30487804878049-0.704878048780488
266.77.30487804878049-0.604878048780488
276.97.30487804878049-0.404878048780487
2877.30487804878049-0.304878048780488
297.17.30487804878049-0.204878048780488
307.27.30487804878049-0.104878048780488
317.17.30487804878049-0.204878048780488
326.97.30487804878049-0.404878048780487
3377.30487804878049-0.304878048780488
346.87.30487804878049-0.504878048780488
356.47.30487804878049-0.904878048780488
366.77.30487804878049-0.604878048780488
376.67.30487804878049-0.704878048780488
386.47.30487804878049-0.904878048780488
396.37.30487804878049-1.00487804878049
406.27.30487804878049-1.10487804878049
416.57.30487804878049-0.804878048780488
426.86.945-0.145000000000000
436.86.945-0.145000000000000
446.46.945-0.545
456.16.945-0.845
465.86.945-1.145
476.16.945-0.845
487.26.9450.255
497.36.9450.355
506.96.945-0.0449999999999997
516.16.945-0.845
525.86.945-1.145
536.26.945-0.745
547.16.9450.155000000000000
557.76.9450.755
567.96.9450.955
577.76.9450.755
587.46.9450.455
597.56.9450.555
6086.9451.055
618.16.9451.155

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8 & 7.30487804878048 & 0.695121951219518 \tabularnewline
2 & 8.1 & 7.30487804878049 & 0.795121951219512 \tabularnewline
3 & 7.7 & 7.30487804878049 & 0.395121951219512 \tabularnewline
4 & 7.5 & 7.30487804878049 & 0.195121951219512 \tabularnewline
5 & 7.6 & 7.30487804878049 & 0.295121951219512 \tabularnewline
6 & 7.8 & 7.30487804878049 & 0.495121951219512 \tabularnewline
7 & 7.8 & 7.30487804878049 & 0.495121951219512 \tabularnewline
8 & 7.8 & 7.30487804878049 & 0.495121951219512 \tabularnewline
9 & 7.5 & 7.30487804878049 & 0.195121951219512 \tabularnewline
10 & 7.5 & 7.30487804878049 & 0.195121951219512 \tabularnewline
11 & 7.1 & 7.30487804878049 & -0.204878048780488 \tabularnewline
12 & 7.5 & 7.30487804878049 & 0.195121951219512 \tabularnewline
13 & 7.5 & 7.30487804878049 & 0.195121951219512 \tabularnewline
14 & 7.6 & 7.30487804878049 & 0.295121951219512 \tabularnewline
15 & 7.7 & 7.30487804878049 & 0.395121951219512 \tabularnewline
16 & 7.7 & 7.30487804878049 & 0.395121951219512 \tabularnewline
17 & 7.9 & 7.30487804878049 & 0.595121951219513 \tabularnewline
18 & 8.1 & 7.30487804878049 & 0.795121951219512 \tabularnewline
19 & 8.2 & 7.30487804878049 & 0.895121951219511 \tabularnewline
20 & 8.2 & 7.30487804878049 & 0.895121951219511 \tabularnewline
21 & 8.2 & 7.30487804878049 & 0.895121951219511 \tabularnewline
22 & 7.9 & 7.30487804878049 & 0.595121951219513 \tabularnewline
23 & 7.3 & 7.30487804878049 & -0.00487804878048807 \tabularnewline
24 & 6.9 & 7.30487804878049 & -0.404878048780487 \tabularnewline
25 & 6.6 & 7.30487804878049 & -0.704878048780488 \tabularnewline
26 & 6.7 & 7.30487804878049 & -0.604878048780488 \tabularnewline
27 & 6.9 & 7.30487804878049 & -0.404878048780487 \tabularnewline
28 & 7 & 7.30487804878049 & -0.304878048780488 \tabularnewline
29 & 7.1 & 7.30487804878049 & -0.204878048780488 \tabularnewline
30 & 7.2 & 7.30487804878049 & -0.104878048780488 \tabularnewline
31 & 7.1 & 7.30487804878049 & -0.204878048780488 \tabularnewline
32 & 6.9 & 7.30487804878049 & -0.404878048780487 \tabularnewline
33 & 7 & 7.30487804878049 & -0.304878048780488 \tabularnewline
34 & 6.8 & 7.30487804878049 & -0.504878048780488 \tabularnewline
35 & 6.4 & 7.30487804878049 & -0.904878048780488 \tabularnewline
36 & 6.7 & 7.30487804878049 & -0.604878048780488 \tabularnewline
37 & 6.6 & 7.30487804878049 & -0.704878048780488 \tabularnewline
38 & 6.4 & 7.30487804878049 & -0.904878048780488 \tabularnewline
39 & 6.3 & 7.30487804878049 & -1.00487804878049 \tabularnewline
40 & 6.2 & 7.30487804878049 & -1.10487804878049 \tabularnewline
41 & 6.5 & 7.30487804878049 & -0.804878048780488 \tabularnewline
42 & 6.8 & 6.945 & -0.145000000000000 \tabularnewline
43 & 6.8 & 6.945 & -0.145000000000000 \tabularnewline
44 & 6.4 & 6.945 & -0.545 \tabularnewline
45 & 6.1 & 6.945 & -0.845 \tabularnewline
46 & 5.8 & 6.945 & -1.145 \tabularnewline
47 & 6.1 & 6.945 & -0.845 \tabularnewline
48 & 7.2 & 6.945 & 0.255 \tabularnewline
49 & 7.3 & 6.945 & 0.355 \tabularnewline
50 & 6.9 & 6.945 & -0.0449999999999997 \tabularnewline
51 & 6.1 & 6.945 & -0.845 \tabularnewline
52 & 5.8 & 6.945 & -1.145 \tabularnewline
53 & 6.2 & 6.945 & -0.745 \tabularnewline
54 & 7.1 & 6.945 & 0.155000000000000 \tabularnewline
55 & 7.7 & 6.945 & 0.755 \tabularnewline
56 & 7.9 & 6.945 & 0.955 \tabularnewline
57 & 7.7 & 6.945 & 0.755 \tabularnewline
58 & 7.4 & 6.945 & 0.455 \tabularnewline
59 & 7.5 & 6.945 & 0.555 \tabularnewline
60 & 8 & 6.945 & 1.055 \tabularnewline
61 & 8.1 & 6.945 & 1.155 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58625&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]8[/C][C]7.30487804878048[/C][C]0.695121951219518[/C][/ROW]
[ROW][C]2[/C][C]8.1[/C][C]7.30487804878049[/C][C]0.795121951219512[/C][/ROW]
[ROW][C]3[/C][C]7.7[/C][C]7.30487804878049[/C][C]0.395121951219512[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]7.30487804878049[/C][C]0.195121951219512[/C][/ROW]
[ROW][C]5[/C][C]7.6[/C][C]7.30487804878049[/C][C]0.295121951219512[/C][/ROW]
[ROW][C]6[/C][C]7.8[/C][C]7.30487804878049[/C][C]0.495121951219512[/C][/ROW]
[ROW][C]7[/C][C]7.8[/C][C]7.30487804878049[/C][C]0.495121951219512[/C][/ROW]
[ROW][C]8[/C][C]7.8[/C][C]7.30487804878049[/C][C]0.495121951219512[/C][/ROW]
[ROW][C]9[/C][C]7.5[/C][C]7.30487804878049[/C][C]0.195121951219512[/C][/ROW]
[ROW][C]10[/C][C]7.5[/C][C]7.30487804878049[/C][C]0.195121951219512[/C][/ROW]
[ROW][C]11[/C][C]7.1[/C][C]7.30487804878049[/C][C]-0.204878048780488[/C][/ROW]
[ROW][C]12[/C][C]7.5[/C][C]7.30487804878049[/C][C]0.195121951219512[/C][/ROW]
[ROW][C]13[/C][C]7.5[/C][C]7.30487804878049[/C][C]0.195121951219512[/C][/ROW]
[ROW][C]14[/C][C]7.6[/C][C]7.30487804878049[/C][C]0.295121951219512[/C][/ROW]
[ROW][C]15[/C][C]7.7[/C][C]7.30487804878049[/C][C]0.395121951219512[/C][/ROW]
[ROW][C]16[/C][C]7.7[/C][C]7.30487804878049[/C][C]0.395121951219512[/C][/ROW]
[ROW][C]17[/C][C]7.9[/C][C]7.30487804878049[/C][C]0.595121951219513[/C][/ROW]
[ROW][C]18[/C][C]8.1[/C][C]7.30487804878049[/C][C]0.795121951219512[/C][/ROW]
[ROW][C]19[/C][C]8.2[/C][C]7.30487804878049[/C][C]0.895121951219511[/C][/ROW]
[ROW][C]20[/C][C]8.2[/C][C]7.30487804878049[/C][C]0.895121951219511[/C][/ROW]
[ROW][C]21[/C][C]8.2[/C][C]7.30487804878049[/C][C]0.895121951219511[/C][/ROW]
[ROW][C]22[/C][C]7.9[/C][C]7.30487804878049[/C][C]0.595121951219513[/C][/ROW]
[ROW][C]23[/C][C]7.3[/C][C]7.30487804878049[/C][C]-0.00487804878048807[/C][/ROW]
[ROW][C]24[/C][C]6.9[/C][C]7.30487804878049[/C][C]-0.404878048780487[/C][/ROW]
[ROW][C]25[/C][C]6.6[/C][C]7.30487804878049[/C][C]-0.704878048780488[/C][/ROW]
[ROW][C]26[/C][C]6.7[/C][C]7.30487804878049[/C][C]-0.604878048780488[/C][/ROW]
[ROW][C]27[/C][C]6.9[/C][C]7.30487804878049[/C][C]-0.404878048780487[/C][/ROW]
[ROW][C]28[/C][C]7[/C][C]7.30487804878049[/C][C]-0.304878048780488[/C][/ROW]
[ROW][C]29[/C][C]7.1[/C][C]7.30487804878049[/C][C]-0.204878048780488[/C][/ROW]
[ROW][C]30[/C][C]7.2[/C][C]7.30487804878049[/C][C]-0.104878048780488[/C][/ROW]
[ROW][C]31[/C][C]7.1[/C][C]7.30487804878049[/C][C]-0.204878048780488[/C][/ROW]
[ROW][C]32[/C][C]6.9[/C][C]7.30487804878049[/C][C]-0.404878048780487[/C][/ROW]
[ROW][C]33[/C][C]7[/C][C]7.30487804878049[/C][C]-0.304878048780488[/C][/ROW]
[ROW][C]34[/C][C]6.8[/C][C]7.30487804878049[/C][C]-0.504878048780488[/C][/ROW]
[ROW][C]35[/C][C]6.4[/C][C]7.30487804878049[/C][C]-0.904878048780488[/C][/ROW]
[ROW][C]36[/C][C]6.7[/C][C]7.30487804878049[/C][C]-0.604878048780488[/C][/ROW]
[ROW][C]37[/C][C]6.6[/C][C]7.30487804878049[/C][C]-0.704878048780488[/C][/ROW]
[ROW][C]38[/C][C]6.4[/C][C]7.30487804878049[/C][C]-0.904878048780488[/C][/ROW]
[ROW][C]39[/C][C]6.3[/C][C]7.30487804878049[/C][C]-1.00487804878049[/C][/ROW]
[ROW][C]40[/C][C]6.2[/C][C]7.30487804878049[/C][C]-1.10487804878049[/C][/ROW]
[ROW][C]41[/C][C]6.5[/C][C]7.30487804878049[/C][C]-0.804878048780488[/C][/ROW]
[ROW][C]42[/C][C]6.8[/C][C]6.945[/C][C]-0.145000000000000[/C][/ROW]
[ROW][C]43[/C][C]6.8[/C][C]6.945[/C][C]-0.145000000000000[/C][/ROW]
[ROW][C]44[/C][C]6.4[/C][C]6.945[/C][C]-0.545[/C][/ROW]
[ROW][C]45[/C][C]6.1[/C][C]6.945[/C][C]-0.845[/C][/ROW]
[ROW][C]46[/C][C]5.8[/C][C]6.945[/C][C]-1.145[/C][/ROW]
[ROW][C]47[/C][C]6.1[/C][C]6.945[/C][C]-0.845[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]6.945[/C][C]0.255[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]6.945[/C][C]0.355[/C][/ROW]
[ROW][C]50[/C][C]6.9[/C][C]6.945[/C][C]-0.0449999999999997[/C][/ROW]
[ROW][C]51[/C][C]6.1[/C][C]6.945[/C][C]-0.845[/C][/ROW]
[ROW][C]52[/C][C]5.8[/C][C]6.945[/C][C]-1.145[/C][/ROW]
[ROW][C]53[/C][C]6.2[/C][C]6.945[/C][C]-0.745[/C][/ROW]
[ROW][C]54[/C][C]7.1[/C][C]6.945[/C][C]0.155000000000000[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]6.945[/C][C]0.755[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]6.945[/C][C]0.955[/C][/ROW]
[ROW][C]57[/C][C]7.7[/C][C]6.945[/C][C]0.755[/C][/ROW]
[ROW][C]58[/C][C]7.4[/C][C]6.945[/C][C]0.455[/C][/ROW]
[ROW][C]59[/C][C]7.5[/C][C]6.945[/C][C]0.555[/C][/ROW]
[ROW][C]60[/C][C]8[/C][C]6.945[/C][C]1.055[/C][/ROW]
[ROW][C]61[/C][C]8.1[/C][C]6.945[/C][C]1.155[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58625&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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
187.304878048780480.695121951219518
28.17.304878048780490.795121951219512
37.77.304878048780490.395121951219512
47.57.304878048780490.195121951219512
57.67.304878048780490.295121951219512
67.87.304878048780490.495121951219512
77.87.304878048780490.495121951219512
87.87.304878048780490.495121951219512
97.57.304878048780490.195121951219512
107.57.304878048780490.195121951219512
117.17.30487804878049-0.204878048780488
127.57.304878048780490.195121951219512
137.57.304878048780490.195121951219512
147.67.304878048780490.295121951219512
157.77.304878048780490.395121951219512
167.77.304878048780490.395121951219512
177.97.304878048780490.595121951219513
188.17.304878048780490.795121951219512
198.27.304878048780490.895121951219511
208.27.304878048780490.895121951219511
218.27.304878048780490.895121951219511
227.97.304878048780490.595121951219513
237.37.30487804878049-0.00487804878048807
246.97.30487804878049-0.404878048780487
256.67.30487804878049-0.704878048780488
266.77.30487804878049-0.604878048780488
276.97.30487804878049-0.404878048780487
2877.30487804878049-0.304878048780488
297.17.30487804878049-0.204878048780488
307.27.30487804878049-0.104878048780488
317.17.30487804878049-0.204878048780488
326.97.30487804878049-0.404878048780487
3377.30487804878049-0.304878048780488
346.87.30487804878049-0.504878048780488
356.47.30487804878049-0.904878048780488
366.77.30487804878049-0.604878048780488
376.67.30487804878049-0.704878048780488
386.47.30487804878049-0.904878048780488
396.37.30487804878049-1.00487804878049
406.27.30487804878049-1.10487804878049
416.57.30487804878049-0.804878048780488
426.86.945-0.145000000000000
436.86.945-0.145000000000000
446.46.945-0.545
456.16.945-0.845
465.86.945-1.145
476.16.945-0.845
487.26.9450.255
497.36.9450.355
506.96.945-0.0449999999999997
516.16.945-0.845
525.86.945-1.145
536.26.945-0.745
547.16.9450.155000000000000
557.76.9450.755
567.96.9450.955
577.76.9450.755
587.46.9450.455
597.56.9450.555
6086.9451.055
618.16.9451.155







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1103022674752760.2206045349505530.889697732524724
60.04067791964539080.08135583929078160.95932208035461
70.01376281586577400.02752563173154800.986237184134226
80.004339764236176280.008679528472352560.995660235763824
90.002678576159428610.005357152318857220.997321423840571
100.001428888887230150.00285777777446030.99857111111277
110.005325052672164580.01065010534432920.994674947327835
120.002439586055747510.004879172111495020.997560413944252
130.001070128969454660.002140257938909310.998929871030545
140.0004117614344824670.0008235228689649330.999588238565517
150.0001591844069192980.0003183688138385960.99984081559308
166.02970242099036e-050.0001205940484198070.99993970297579
173.81328847550035e-057.6265769510007e-050.999961867115245
186.57123831294717e-050.0001314247662589430.99993428761687
190.0001778078121583320.0003556156243166640.999822192187842
200.0004196872172212660.0008393744344425320.999580312782779
210.000995012510943320.001990025021886640.999004987489057
220.0009450055981804360.001890011196360870.99905499440182
230.001190692000075530.002381384000151060.998809307999925
240.00485850614975060.00971701229950120.99514149385025
250.02707696767932080.05415393535864150.972923032320679
260.05357500663164220.1071500132632840.946424993368358
270.06113945645675090.1222789129135020.93886054354325
280.05935734843818410.1187146968763680.940642651561816
290.0527553581934420.1055107163868840.947244641806558
300.04547988513281470.09095977026562940.954520114867185
310.04066860012043870.08133720024087740.959331399879561
320.04032604539343860.08065209078687710.959673954606561
330.03738451631744360.07476903263488720.962615483682556
340.03853903911160680.07707807822321360.961460960888393
350.05747965259208310.1149593051841660.942520347407917
360.05670603478313720.1134120695662740.943293965216863
370.05789744344686850.1157948868937370.942102556553132
380.06583038756663230.1316607751332650.934169612433368
390.07573681794224160.1514736358844830.924263182057758
400.08899843808194120.1779968761638820.911001561918059
410.07826483829761960.1565296765952390.92173516170238
420.05349422452233660.1069884490446730.946505775477663
430.03527602027049490.07055204054098980.964723979729505
440.02784235358490810.05568470716981630.972157646415092
450.03111137963448050.06222275926896090.96888862036552
460.0622861708491340.1245723416982680.937713829150866
470.0848104216419360.1696208432838720.915189578358064
480.06707008166229880.1341401633245980.932929918337701
490.05109073590767630.1021814718153530.948909264092324
500.03393659448756030.06787318897512060.96606340551244
510.06276074172392020.1255214834478400.93723925827608
520.3421557543635440.6843115087270880.657844245636456
530.8799234657377010.2401530685245980.120076534262299
540.9423715365738150.1152569268523690.0576284634261846
550.8880375921716730.2239248156566540.111962407828327
560.8007275625990920.3985448748018160.199272437400908

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.110302267475276 & 0.220604534950553 & 0.889697732524724 \tabularnewline
6 & 0.0406779196453908 & 0.0813558392907816 & 0.95932208035461 \tabularnewline
7 & 0.0137628158657740 & 0.0275256317315480 & 0.986237184134226 \tabularnewline
8 & 0.00433976423617628 & 0.00867952847235256 & 0.995660235763824 \tabularnewline
9 & 0.00267857615942861 & 0.00535715231885722 & 0.997321423840571 \tabularnewline
10 & 0.00142888888723015 & 0.0028577777744603 & 0.99857111111277 \tabularnewline
11 & 0.00532505267216458 & 0.0106501053443292 & 0.994674947327835 \tabularnewline
12 & 0.00243958605574751 & 0.00487917211149502 & 0.997560413944252 \tabularnewline
13 & 0.00107012896945466 & 0.00214025793890931 & 0.998929871030545 \tabularnewline
14 & 0.000411761434482467 & 0.000823522868964933 & 0.999588238565517 \tabularnewline
15 & 0.000159184406919298 & 0.000318368813838596 & 0.99984081559308 \tabularnewline
16 & 6.02970242099036e-05 & 0.000120594048419807 & 0.99993970297579 \tabularnewline
17 & 3.81328847550035e-05 & 7.6265769510007e-05 & 0.999961867115245 \tabularnewline
18 & 6.57123831294717e-05 & 0.000131424766258943 & 0.99993428761687 \tabularnewline
19 & 0.000177807812158332 & 0.000355615624316664 & 0.999822192187842 \tabularnewline
20 & 0.000419687217221266 & 0.000839374434442532 & 0.999580312782779 \tabularnewline
21 & 0.00099501251094332 & 0.00199002502188664 & 0.999004987489057 \tabularnewline
22 & 0.000945005598180436 & 0.00189001119636087 & 0.99905499440182 \tabularnewline
23 & 0.00119069200007553 & 0.00238138400015106 & 0.998809307999925 \tabularnewline
24 & 0.0048585061497506 & 0.0097170122995012 & 0.99514149385025 \tabularnewline
25 & 0.0270769676793208 & 0.0541539353586415 & 0.972923032320679 \tabularnewline
26 & 0.0535750066316422 & 0.107150013263284 & 0.946424993368358 \tabularnewline
27 & 0.0611394564567509 & 0.122278912913502 & 0.93886054354325 \tabularnewline
28 & 0.0593573484381841 & 0.118714696876368 & 0.940642651561816 \tabularnewline
29 & 0.052755358193442 & 0.105510716386884 & 0.947244641806558 \tabularnewline
30 & 0.0454798851328147 & 0.0909597702656294 & 0.954520114867185 \tabularnewline
31 & 0.0406686001204387 & 0.0813372002408774 & 0.959331399879561 \tabularnewline
32 & 0.0403260453934386 & 0.0806520907868771 & 0.959673954606561 \tabularnewline
33 & 0.0373845163174436 & 0.0747690326348872 & 0.962615483682556 \tabularnewline
34 & 0.0385390391116068 & 0.0770780782232136 & 0.961460960888393 \tabularnewline
35 & 0.0574796525920831 & 0.114959305184166 & 0.942520347407917 \tabularnewline
36 & 0.0567060347831372 & 0.113412069566274 & 0.943293965216863 \tabularnewline
37 & 0.0578974434468685 & 0.115794886893737 & 0.942102556553132 \tabularnewline
38 & 0.0658303875666323 & 0.131660775133265 & 0.934169612433368 \tabularnewline
39 & 0.0757368179422416 & 0.151473635884483 & 0.924263182057758 \tabularnewline
40 & 0.0889984380819412 & 0.177996876163882 & 0.911001561918059 \tabularnewline
41 & 0.0782648382976196 & 0.156529676595239 & 0.92173516170238 \tabularnewline
42 & 0.0534942245223366 & 0.106988449044673 & 0.946505775477663 \tabularnewline
43 & 0.0352760202704949 & 0.0705520405409898 & 0.964723979729505 \tabularnewline
44 & 0.0278423535849081 & 0.0556847071698163 & 0.972157646415092 \tabularnewline
45 & 0.0311113796344805 & 0.0622227592689609 & 0.96888862036552 \tabularnewline
46 & 0.062286170849134 & 0.124572341698268 & 0.937713829150866 \tabularnewline
47 & 0.084810421641936 & 0.169620843283872 & 0.915189578358064 \tabularnewline
48 & 0.0670700816622988 & 0.134140163324598 & 0.932929918337701 \tabularnewline
49 & 0.0510907359076763 & 0.102181471815353 & 0.948909264092324 \tabularnewline
50 & 0.0339365944875603 & 0.0678731889751206 & 0.96606340551244 \tabularnewline
51 & 0.0627607417239202 & 0.125521483447840 & 0.93723925827608 \tabularnewline
52 & 0.342155754363544 & 0.684311508727088 & 0.657844245636456 \tabularnewline
53 & 0.879923465737701 & 0.240153068524598 & 0.120076534262299 \tabularnewline
54 & 0.942371536573815 & 0.115256926852369 & 0.0576284634261846 \tabularnewline
55 & 0.888037592171673 & 0.223924815656654 & 0.111962407828327 \tabularnewline
56 & 0.800727562599092 & 0.398544874801816 & 0.199272437400908 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58625&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.110302267475276[/C][C]0.220604534950553[/C][C]0.889697732524724[/C][/ROW]
[ROW][C]6[/C][C]0.0406779196453908[/C][C]0.0813558392907816[/C][C]0.95932208035461[/C][/ROW]
[ROW][C]7[/C][C]0.0137628158657740[/C][C]0.0275256317315480[/C][C]0.986237184134226[/C][/ROW]
[ROW][C]8[/C][C]0.00433976423617628[/C][C]0.00867952847235256[/C][C]0.995660235763824[/C][/ROW]
[ROW][C]9[/C][C]0.00267857615942861[/C][C]0.00535715231885722[/C][C]0.997321423840571[/C][/ROW]
[ROW][C]10[/C][C]0.00142888888723015[/C][C]0.0028577777744603[/C][C]0.99857111111277[/C][/ROW]
[ROW][C]11[/C][C]0.00532505267216458[/C][C]0.0106501053443292[/C][C]0.994674947327835[/C][/ROW]
[ROW][C]12[/C][C]0.00243958605574751[/C][C]0.00487917211149502[/C][C]0.997560413944252[/C][/ROW]
[ROW][C]13[/C][C]0.00107012896945466[/C][C]0.00214025793890931[/C][C]0.998929871030545[/C][/ROW]
[ROW][C]14[/C][C]0.000411761434482467[/C][C]0.000823522868964933[/C][C]0.999588238565517[/C][/ROW]
[ROW][C]15[/C][C]0.000159184406919298[/C][C]0.000318368813838596[/C][C]0.99984081559308[/C][/ROW]
[ROW][C]16[/C][C]6.02970242099036e-05[/C][C]0.000120594048419807[/C][C]0.99993970297579[/C][/ROW]
[ROW][C]17[/C][C]3.81328847550035e-05[/C][C]7.6265769510007e-05[/C][C]0.999961867115245[/C][/ROW]
[ROW][C]18[/C][C]6.57123831294717e-05[/C][C]0.000131424766258943[/C][C]0.99993428761687[/C][/ROW]
[ROW][C]19[/C][C]0.000177807812158332[/C][C]0.000355615624316664[/C][C]0.999822192187842[/C][/ROW]
[ROW][C]20[/C][C]0.000419687217221266[/C][C]0.000839374434442532[/C][C]0.999580312782779[/C][/ROW]
[ROW][C]21[/C][C]0.00099501251094332[/C][C]0.00199002502188664[/C][C]0.999004987489057[/C][/ROW]
[ROW][C]22[/C][C]0.000945005598180436[/C][C]0.00189001119636087[/C][C]0.99905499440182[/C][/ROW]
[ROW][C]23[/C][C]0.00119069200007553[/C][C]0.00238138400015106[/C][C]0.998809307999925[/C][/ROW]
[ROW][C]24[/C][C]0.0048585061497506[/C][C]0.0097170122995012[/C][C]0.99514149385025[/C][/ROW]
[ROW][C]25[/C][C]0.0270769676793208[/C][C]0.0541539353586415[/C][C]0.972923032320679[/C][/ROW]
[ROW][C]26[/C][C]0.0535750066316422[/C][C]0.107150013263284[/C][C]0.946424993368358[/C][/ROW]
[ROW][C]27[/C][C]0.0611394564567509[/C][C]0.122278912913502[/C][C]0.93886054354325[/C][/ROW]
[ROW][C]28[/C][C]0.0593573484381841[/C][C]0.118714696876368[/C][C]0.940642651561816[/C][/ROW]
[ROW][C]29[/C][C]0.052755358193442[/C][C]0.105510716386884[/C][C]0.947244641806558[/C][/ROW]
[ROW][C]30[/C][C]0.0454798851328147[/C][C]0.0909597702656294[/C][C]0.954520114867185[/C][/ROW]
[ROW][C]31[/C][C]0.0406686001204387[/C][C]0.0813372002408774[/C][C]0.959331399879561[/C][/ROW]
[ROW][C]32[/C][C]0.0403260453934386[/C][C]0.0806520907868771[/C][C]0.959673954606561[/C][/ROW]
[ROW][C]33[/C][C]0.0373845163174436[/C][C]0.0747690326348872[/C][C]0.962615483682556[/C][/ROW]
[ROW][C]34[/C][C]0.0385390391116068[/C][C]0.0770780782232136[/C][C]0.961460960888393[/C][/ROW]
[ROW][C]35[/C][C]0.0574796525920831[/C][C]0.114959305184166[/C][C]0.942520347407917[/C][/ROW]
[ROW][C]36[/C][C]0.0567060347831372[/C][C]0.113412069566274[/C][C]0.943293965216863[/C][/ROW]
[ROW][C]37[/C][C]0.0578974434468685[/C][C]0.115794886893737[/C][C]0.942102556553132[/C][/ROW]
[ROW][C]38[/C][C]0.0658303875666323[/C][C]0.131660775133265[/C][C]0.934169612433368[/C][/ROW]
[ROW][C]39[/C][C]0.0757368179422416[/C][C]0.151473635884483[/C][C]0.924263182057758[/C][/ROW]
[ROW][C]40[/C][C]0.0889984380819412[/C][C]0.177996876163882[/C][C]0.911001561918059[/C][/ROW]
[ROW][C]41[/C][C]0.0782648382976196[/C][C]0.156529676595239[/C][C]0.92173516170238[/C][/ROW]
[ROW][C]42[/C][C]0.0534942245223366[/C][C]0.106988449044673[/C][C]0.946505775477663[/C][/ROW]
[ROW][C]43[/C][C]0.0352760202704949[/C][C]0.0705520405409898[/C][C]0.964723979729505[/C][/ROW]
[ROW][C]44[/C][C]0.0278423535849081[/C][C]0.0556847071698163[/C][C]0.972157646415092[/C][/ROW]
[ROW][C]45[/C][C]0.0311113796344805[/C][C]0.0622227592689609[/C][C]0.96888862036552[/C][/ROW]
[ROW][C]46[/C][C]0.062286170849134[/C][C]0.124572341698268[/C][C]0.937713829150866[/C][/ROW]
[ROW][C]47[/C][C]0.084810421641936[/C][C]0.169620843283872[/C][C]0.915189578358064[/C][/ROW]
[ROW][C]48[/C][C]0.0670700816622988[/C][C]0.134140163324598[/C][C]0.932929918337701[/C][/ROW]
[ROW][C]49[/C][C]0.0510907359076763[/C][C]0.102181471815353[/C][C]0.948909264092324[/C][/ROW]
[ROW][C]50[/C][C]0.0339365944875603[/C][C]0.0678731889751206[/C][C]0.96606340551244[/C][/ROW]
[ROW][C]51[/C][C]0.0627607417239202[/C][C]0.125521483447840[/C][C]0.93723925827608[/C][/ROW]
[ROW][C]52[/C][C]0.342155754363544[/C][C]0.684311508727088[/C][C]0.657844245636456[/C][/ROW]
[ROW][C]53[/C][C]0.879923465737701[/C][C]0.240153068524598[/C][C]0.120076534262299[/C][/ROW]
[ROW][C]54[/C][C]0.942371536573815[/C][C]0.115256926852369[/C][C]0.0576284634261846[/C][/ROW]
[ROW][C]55[/C][C]0.888037592171673[/C][C]0.223924815656654[/C][C]0.111962407828327[/C][/ROW]
[ROW][C]56[/C][C]0.800727562599092[/C][C]0.398544874801816[/C][C]0.199272437400908[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58625&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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.1103022674752760.2206045349505530.889697732524724
60.04067791964539080.08135583929078160.95932208035461
70.01376281586577400.02752563173154800.986237184134226
80.004339764236176280.008679528472352560.995660235763824
90.002678576159428610.005357152318857220.997321423840571
100.001428888887230150.00285777777446030.99857111111277
110.005325052672164580.01065010534432920.994674947327835
120.002439586055747510.004879172111495020.997560413944252
130.001070128969454660.002140257938909310.998929871030545
140.0004117614344824670.0008235228689649330.999588238565517
150.0001591844069192980.0003183688138385960.99984081559308
166.02970242099036e-050.0001205940484198070.99993970297579
173.81328847550035e-057.6265769510007e-050.999961867115245
186.57123831294717e-050.0001314247662589430.99993428761687
190.0001778078121583320.0003556156243166640.999822192187842
200.0004196872172212660.0008393744344425320.999580312782779
210.000995012510943320.001990025021886640.999004987489057
220.0009450055981804360.001890011196360870.99905499440182
230.001190692000075530.002381384000151060.998809307999925
240.00485850614975060.00971701229950120.99514149385025
250.02707696767932080.05415393535864150.972923032320679
260.05357500663164220.1071500132632840.946424993368358
270.06113945645675090.1222789129135020.93886054354325
280.05935734843818410.1187146968763680.940642651561816
290.0527553581934420.1055107163868840.947244641806558
300.04547988513281470.09095977026562940.954520114867185
310.04066860012043870.08133720024087740.959331399879561
320.04032604539343860.08065209078687710.959673954606561
330.03738451631744360.07476903263488720.962615483682556
340.03853903911160680.07707807822321360.961460960888393
350.05747965259208310.1149593051841660.942520347407917
360.05670603478313720.1134120695662740.943293965216863
370.05789744344686850.1157948868937370.942102556553132
380.06583038756663230.1316607751332650.934169612433368
390.07573681794224160.1514736358844830.924263182057758
400.08899843808194120.1779968761638820.911001561918059
410.07826483829761960.1565296765952390.92173516170238
420.05349422452233660.1069884490446730.946505775477663
430.03527602027049490.07055204054098980.964723979729505
440.02784235358490810.05568470716981630.972157646415092
450.03111137963448050.06222275926896090.96888862036552
460.0622861708491340.1245723416982680.937713829150866
470.0848104216419360.1696208432838720.915189578358064
480.06707008166229880.1341401633245980.932929918337701
490.05109073590767630.1021814718153530.948909264092324
500.03393659448756030.06787318897512060.96606340551244
510.06276074172392020.1255214834478400.93723925827608
520.3421557543635440.6843115087270880.657844245636456
530.8799234657377010.2401530685245980.120076534262299
540.9423715365738150.1152569268523690.0576284634261846
550.8880375921716730.2239248156566540.111962407828327
560.8007275625990920.3985448748018160.199272437400908







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.307692307692308NOK
5% type I error level180.346153846153846NOK
10% type I error level290.557692307692308NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58625&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 level160.307692307692308NOK
5% type I error level180.346153846153846NOK
10% type I error level290.557692307692308NOK



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')
}