Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 04 Dec 2009 07:16:18 -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/Dec/04/t1259936472d5rn5jjhiois0vx.htm/, Retrieved Sun, 28 Apr 2024 12:18:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=63590, Retrieved Sun, 28 Apr 2024 12:18:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact113
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] [SHW WS7] [2009-11-20 10:54:07] [253127ae8da904b75450fbd69fe4eb21]
-    D        [Multiple Regression] [SHW Paper] [2009-12-04 14:16:18] [b7e46d23597387652ca7420fdeb9acca] [Current]
Feedback Forum

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




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time9 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 & 9 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&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]9 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=63590&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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 time9 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 8.13958333333333 -1.16458333333333X[t] + e[t]

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

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

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







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

\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) & 8.13958333333333 & 0.083857 & 97.0645 & 0 & 0 \tabularnewline
X & -1.16458333333333 & 0.187511 & -6.2107 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&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]8.13958333333333[/C][C]0.083857[/C][C]97.0645[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-1.16458333333333[/C][C]0.187511[/C][C]-6.2107[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63590&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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)8.139583333333330.08385797.064500
X-1.164583333333330.187511-6.210700







Multiple Linear Regression - Regression Statistics
Multiple R0.6319971943101
R-squared0.399420453615838
Adjusted R-squared0.389065633850594
F-TEST (value)38.573385406136
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.10789072652551e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.580981507015716
Sum Squared Residuals19.5772916666666

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.6319971943101 \tabularnewline
R-squared & 0.399420453615838 \tabularnewline
Adjusted R-squared & 0.389065633850594 \tabularnewline
F-TEST (value) & 38.573385406136 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 6.10789072652551e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.580981507015716 \tabularnewline
Sum Squared Residuals & 19.5772916666666 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.6319971943101[/C][/ROW]
[ROW][C]R-squared[/C][C]0.399420453615838[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.389065633850594[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]38.573385406136[/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.10789072652551e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.580981507015716[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]19.5772916666666[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63590&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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.6319971943101
R-squared0.399420453615838
Adjusted R-squared0.389065633850594
F-TEST (value)38.573385406136
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value6.10789072652551e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.580981507015716
Sum Squared Residuals19.5772916666666







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.98.139583333333360.760416666666641
28.88.139583333333330.660416666666669
38.38.139583333333330.160416666666668
47.58.13958333333333-0.639583333333333
57.28.13958333333333-0.939583333333333
67.48.13958333333333-0.739583333333332
78.88.139583333333330.660416666666668
89.38.139583333333331.16041666666667
99.38.139583333333331.16041666666667
108.78.139583333333330.560416666666666
118.28.139583333333330.0604166666666665
128.38.139583333333330.160416666666668
138.58.139583333333330.360416666666667
148.68.139583333333330.460416666666667
158.58.139583333333330.360416666666667
168.28.139583333333330.0604166666666665
178.18.13958333333333-0.0395833333333332
187.98.13958333333333-0.239583333333333
198.68.139583333333330.460416666666667
208.78.139583333333330.560416666666666
218.78.139583333333330.560416666666666
228.58.139583333333330.360416666666667
238.48.139583333333330.260416666666668
248.58.139583333333330.360416666666667
258.78.139583333333330.560416666666666
268.78.139583333333330.560416666666666
278.68.139583333333330.460416666666667
288.58.139583333333330.360416666666667
298.38.139583333333330.160416666666668
3088.13958333333333-0.139583333333333
318.28.139583333333330.0604166666666665
328.18.13958333333333-0.0395833333333332
338.18.13958333333333-0.0395833333333332
3488.13958333333333-0.139583333333333
357.98.13958333333333-0.239583333333333
367.98.13958333333333-0.239583333333333
3788.13958333333333-0.139583333333333
3888.13958333333333-0.139583333333333
397.98.13958333333333-0.239583333333333
4088.13958333333333-0.139583333333333
417.78.13958333333333-0.439583333333333
427.28.13958333333333-0.939583333333333
437.58.13958333333333-0.639583333333333
447.38.13958333333333-0.839583333333333
4578.13958333333333-1.13958333333333
4678.13958333333333-1.13958333333333
4778.13958333333333-1.13958333333333
487.28.13958333333333-0.939583333333333
497.36.9750.325
507.16.9750.125000000000000
516.86.975-0.175
526.46.975-0.575
536.16.975-0.875
546.56.975-0.475
557.76.9750.725
567.96.9750.925
577.56.9750.525
586.96.975-0.0749999999999997
596.66.975-0.375
606.96.975-0.0749999999999997

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 8.13958333333336 & 0.760416666666641 \tabularnewline
2 & 8.8 & 8.13958333333333 & 0.660416666666669 \tabularnewline
3 & 8.3 & 8.13958333333333 & 0.160416666666668 \tabularnewline
4 & 7.5 & 8.13958333333333 & -0.639583333333333 \tabularnewline
5 & 7.2 & 8.13958333333333 & -0.939583333333333 \tabularnewline
6 & 7.4 & 8.13958333333333 & -0.739583333333332 \tabularnewline
7 & 8.8 & 8.13958333333333 & 0.660416666666668 \tabularnewline
8 & 9.3 & 8.13958333333333 & 1.16041666666667 \tabularnewline
9 & 9.3 & 8.13958333333333 & 1.16041666666667 \tabularnewline
10 & 8.7 & 8.13958333333333 & 0.560416666666666 \tabularnewline
11 & 8.2 & 8.13958333333333 & 0.0604166666666665 \tabularnewline
12 & 8.3 & 8.13958333333333 & 0.160416666666668 \tabularnewline
13 & 8.5 & 8.13958333333333 & 0.360416666666667 \tabularnewline
14 & 8.6 & 8.13958333333333 & 0.460416666666667 \tabularnewline
15 & 8.5 & 8.13958333333333 & 0.360416666666667 \tabularnewline
16 & 8.2 & 8.13958333333333 & 0.0604166666666665 \tabularnewline
17 & 8.1 & 8.13958333333333 & -0.0395833333333332 \tabularnewline
18 & 7.9 & 8.13958333333333 & -0.239583333333333 \tabularnewline
19 & 8.6 & 8.13958333333333 & 0.460416666666667 \tabularnewline
20 & 8.7 & 8.13958333333333 & 0.560416666666666 \tabularnewline
21 & 8.7 & 8.13958333333333 & 0.560416666666666 \tabularnewline
22 & 8.5 & 8.13958333333333 & 0.360416666666667 \tabularnewline
23 & 8.4 & 8.13958333333333 & 0.260416666666668 \tabularnewline
24 & 8.5 & 8.13958333333333 & 0.360416666666667 \tabularnewline
25 & 8.7 & 8.13958333333333 & 0.560416666666666 \tabularnewline
26 & 8.7 & 8.13958333333333 & 0.560416666666666 \tabularnewline
27 & 8.6 & 8.13958333333333 & 0.460416666666667 \tabularnewline
28 & 8.5 & 8.13958333333333 & 0.360416666666667 \tabularnewline
29 & 8.3 & 8.13958333333333 & 0.160416666666668 \tabularnewline
30 & 8 & 8.13958333333333 & -0.139583333333333 \tabularnewline
31 & 8.2 & 8.13958333333333 & 0.0604166666666665 \tabularnewline
32 & 8.1 & 8.13958333333333 & -0.0395833333333332 \tabularnewline
33 & 8.1 & 8.13958333333333 & -0.0395833333333332 \tabularnewline
34 & 8 & 8.13958333333333 & -0.139583333333333 \tabularnewline
35 & 7.9 & 8.13958333333333 & -0.239583333333333 \tabularnewline
36 & 7.9 & 8.13958333333333 & -0.239583333333333 \tabularnewline
37 & 8 & 8.13958333333333 & -0.139583333333333 \tabularnewline
38 & 8 & 8.13958333333333 & -0.139583333333333 \tabularnewline
39 & 7.9 & 8.13958333333333 & -0.239583333333333 \tabularnewline
40 & 8 & 8.13958333333333 & -0.139583333333333 \tabularnewline
41 & 7.7 & 8.13958333333333 & -0.439583333333333 \tabularnewline
42 & 7.2 & 8.13958333333333 & -0.939583333333333 \tabularnewline
43 & 7.5 & 8.13958333333333 & -0.639583333333333 \tabularnewline
44 & 7.3 & 8.13958333333333 & -0.839583333333333 \tabularnewline
45 & 7 & 8.13958333333333 & -1.13958333333333 \tabularnewline
46 & 7 & 8.13958333333333 & -1.13958333333333 \tabularnewline
47 & 7 & 8.13958333333333 & -1.13958333333333 \tabularnewline
48 & 7.2 & 8.13958333333333 & -0.939583333333333 \tabularnewline
49 & 7.3 & 6.975 & 0.325 \tabularnewline
50 & 7.1 & 6.975 & 0.125000000000000 \tabularnewline
51 & 6.8 & 6.975 & -0.175 \tabularnewline
52 & 6.4 & 6.975 & -0.575 \tabularnewline
53 & 6.1 & 6.975 & -0.875 \tabularnewline
54 & 6.5 & 6.975 & -0.475 \tabularnewline
55 & 7.7 & 6.975 & 0.725 \tabularnewline
56 & 7.9 & 6.975 & 0.925 \tabularnewline
57 & 7.5 & 6.975 & 0.525 \tabularnewline
58 & 6.9 & 6.975 & -0.0749999999999997 \tabularnewline
59 & 6.6 & 6.975 & -0.375 \tabularnewline
60 & 6.9 & 6.975 & -0.0749999999999997 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&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.9[/C][C]8.13958333333336[/C][C]0.760416666666641[/C][/ROW]
[ROW][C]2[/C][C]8.8[/C][C]8.13958333333333[/C][C]0.660416666666669[/C][/ROW]
[ROW][C]3[/C][C]8.3[/C][C]8.13958333333333[/C][C]0.160416666666668[/C][/ROW]
[ROW][C]4[/C][C]7.5[/C][C]8.13958333333333[/C][C]-0.639583333333333[/C][/ROW]
[ROW][C]5[/C][C]7.2[/C][C]8.13958333333333[/C][C]-0.939583333333333[/C][/ROW]
[ROW][C]6[/C][C]7.4[/C][C]8.13958333333333[/C][C]-0.739583333333332[/C][/ROW]
[ROW][C]7[/C][C]8.8[/C][C]8.13958333333333[/C][C]0.660416666666668[/C][/ROW]
[ROW][C]8[/C][C]9.3[/C][C]8.13958333333333[/C][C]1.16041666666667[/C][/ROW]
[ROW][C]9[/C][C]9.3[/C][C]8.13958333333333[/C][C]1.16041666666667[/C][/ROW]
[ROW][C]10[/C][C]8.7[/C][C]8.13958333333333[/C][C]0.560416666666666[/C][/ROW]
[ROW][C]11[/C][C]8.2[/C][C]8.13958333333333[/C][C]0.0604166666666665[/C][/ROW]
[ROW][C]12[/C][C]8.3[/C][C]8.13958333333333[/C][C]0.160416666666668[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.13958333333333[/C][C]0.360416666666667[/C][/ROW]
[ROW][C]14[/C][C]8.6[/C][C]8.13958333333333[/C][C]0.460416666666667[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.13958333333333[/C][C]0.360416666666667[/C][/ROW]
[ROW][C]16[/C][C]8.2[/C][C]8.13958333333333[/C][C]0.0604166666666665[/C][/ROW]
[ROW][C]17[/C][C]8.1[/C][C]8.13958333333333[/C][C]-0.0395833333333332[/C][/ROW]
[ROW][C]18[/C][C]7.9[/C][C]8.13958333333333[/C][C]-0.239583333333333[/C][/ROW]
[ROW][C]19[/C][C]8.6[/C][C]8.13958333333333[/C][C]0.460416666666667[/C][/ROW]
[ROW][C]20[/C][C]8.7[/C][C]8.13958333333333[/C][C]0.560416666666666[/C][/ROW]
[ROW][C]21[/C][C]8.7[/C][C]8.13958333333333[/C][C]0.560416666666666[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]8.13958333333333[/C][C]0.360416666666667[/C][/ROW]
[ROW][C]23[/C][C]8.4[/C][C]8.13958333333333[/C][C]0.260416666666668[/C][/ROW]
[ROW][C]24[/C][C]8.5[/C][C]8.13958333333333[/C][C]0.360416666666667[/C][/ROW]
[ROW][C]25[/C][C]8.7[/C][C]8.13958333333333[/C][C]0.560416666666666[/C][/ROW]
[ROW][C]26[/C][C]8.7[/C][C]8.13958333333333[/C][C]0.560416666666666[/C][/ROW]
[ROW][C]27[/C][C]8.6[/C][C]8.13958333333333[/C][C]0.460416666666667[/C][/ROW]
[ROW][C]28[/C][C]8.5[/C][C]8.13958333333333[/C][C]0.360416666666667[/C][/ROW]
[ROW][C]29[/C][C]8.3[/C][C]8.13958333333333[/C][C]0.160416666666668[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]8.13958333333333[/C][C]-0.139583333333333[/C][/ROW]
[ROW][C]31[/C][C]8.2[/C][C]8.13958333333333[/C][C]0.0604166666666665[/C][/ROW]
[ROW][C]32[/C][C]8.1[/C][C]8.13958333333333[/C][C]-0.0395833333333332[/C][/ROW]
[ROW][C]33[/C][C]8.1[/C][C]8.13958333333333[/C][C]-0.0395833333333332[/C][/ROW]
[ROW][C]34[/C][C]8[/C][C]8.13958333333333[/C][C]-0.139583333333333[/C][/ROW]
[ROW][C]35[/C][C]7.9[/C][C]8.13958333333333[/C][C]-0.239583333333333[/C][/ROW]
[ROW][C]36[/C][C]7.9[/C][C]8.13958333333333[/C][C]-0.239583333333333[/C][/ROW]
[ROW][C]37[/C][C]8[/C][C]8.13958333333333[/C][C]-0.139583333333333[/C][/ROW]
[ROW][C]38[/C][C]8[/C][C]8.13958333333333[/C][C]-0.139583333333333[/C][/ROW]
[ROW][C]39[/C][C]7.9[/C][C]8.13958333333333[/C][C]-0.239583333333333[/C][/ROW]
[ROW][C]40[/C][C]8[/C][C]8.13958333333333[/C][C]-0.139583333333333[/C][/ROW]
[ROW][C]41[/C][C]7.7[/C][C]8.13958333333333[/C][C]-0.439583333333333[/C][/ROW]
[ROW][C]42[/C][C]7.2[/C][C]8.13958333333333[/C][C]-0.939583333333333[/C][/ROW]
[ROW][C]43[/C][C]7.5[/C][C]8.13958333333333[/C][C]-0.639583333333333[/C][/ROW]
[ROW][C]44[/C][C]7.3[/C][C]8.13958333333333[/C][C]-0.839583333333333[/C][/ROW]
[ROW][C]45[/C][C]7[/C][C]8.13958333333333[/C][C]-1.13958333333333[/C][/ROW]
[ROW][C]46[/C][C]7[/C][C]8.13958333333333[/C][C]-1.13958333333333[/C][/ROW]
[ROW][C]47[/C][C]7[/C][C]8.13958333333333[/C][C]-1.13958333333333[/C][/ROW]
[ROW][C]48[/C][C]7.2[/C][C]8.13958333333333[/C][C]-0.939583333333333[/C][/ROW]
[ROW][C]49[/C][C]7.3[/C][C]6.975[/C][C]0.325[/C][/ROW]
[ROW][C]50[/C][C]7.1[/C][C]6.975[/C][C]0.125000000000000[/C][/ROW]
[ROW][C]51[/C][C]6.8[/C][C]6.975[/C][C]-0.175[/C][/ROW]
[ROW][C]52[/C][C]6.4[/C][C]6.975[/C][C]-0.575[/C][/ROW]
[ROW][C]53[/C][C]6.1[/C][C]6.975[/C][C]-0.875[/C][/ROW]
[ROW][C]54[/C][C]6.5[/C][C]6.975[/C][C]-0.475[/C][/ROW]
[ROW][C]55[/C][C]7.7[/C][C]6.975[/C][C]0.725[/C][/ROW]
[ROW][C]56[/C][C]7.9[/C][C]6.975[/C][C]0.925[/C][/ROW]
[ROW][C]57[/C][C]7.5[/C][C]6.975[/C][C]0.525[/C][/ROW]
[ROW][C]58[/C][C]6.9[/C][C]6.975[/C][C]-0.0749999999999997[/C][/ROW]
[ROW][C]59[/C][C]6.6[/C][C]6.975[/C][C]-0.375[/C][/ROW]
[ROW][C]60[/C][C]6.9[/C][C]6.975[/C][C]-0.0749999999999997[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63590&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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
18.98.139583333333360.760416666666641
28.88.139583333333330.660416666666669
38.38.139583333333330.160416666666668
47.58.13958333333333-0.639583333333333
57.28.13958333333333-0.939583333333333
67.48.13958333333333-0.739583333333332
78.88.139583333333330.660416666666668
89.38.139583333333331.16041666666667
99.38.139583333333331.16041666666667
108.78.139583333333330.560416666666666
118.28.139583333333330.0604166666666665
128.38.139583333333330.160416666666668
138.58.139583333333330.360416666666667
148.68.139583333333330.460416666666667
158.58.139583333333330.360416666666667
168.28.139583333333330.0604166666666665
178.18.13958333333333-0.0395833333333332
187.98.13958333333333-0.239583333333333
198.68.139583333333330.460416666666667
208.78.139583333333330.560416666666666
218.78.139583333333330.560416666666666
228.58.139583333333330.360416666666667
238.48.139583333333330.260416666666668
248.58.139583333333330.360416666666667
258.78.139583333333330.560416666666666
268.78.139583333333330.560416666666666
278.68.139583333333330.460416666666667
288.58.139583333333330.360416666666667
298.38.139583333333330.160416666666668
3088.13958333333333-0.139583333333333
318.28.139583333333330.0604166666666665
328.18.13958333333333-0.0395833333333332
338.18.13958333333333-0.0395833333333332
3488.13958333333333-0.139583333333333
357.98.13958333333333-0.239583333333333
367.98.13958333333333-0.239583333333333
3788.13958333333333-0.139583333333333
3888.13958333333333-0.139583333333333
397.98.13958333333333-0.239583333333333
4088.13958333333333-0.139583333333333
417.78.13958333333333-0.439583333333333
427.28.13958333333333-0.939583333333333
437.58.13958333333333-0.639583333333333
447.38.13958333333333-0.839583333333333
4578.13958333333333-1.13958333333333
4678.13958333333333-1.13958333333333
4778.13958333333333-1.13958333333333
487.28.13958333333333-0.939583333333333
497.36.9750.325
507.16.9750.125000000000000
516.86.975-0.175
526.46.975-0.575
536.16.975-0.875
546.56.975-0.475
557.76.9750.725
567.96.9750.925
577.56.9750.525
586.96.975-0.0749999999999997
596.66.975-0.375
606.96.975-0.0749999999999997







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.9209000285454990.1581999429090030.0790999714545014
60.9150295423388840.1699409153222320.0849704576611158
70.9167650201461240.1664699597077520.0832349798538762
80.9675198557090560.06496028858188750.0324801442909438
90.9855098444448220.0289803111103560.014490155555178
100.978686154125840.04262769174831920.0213138458741596
110.9641396585516080.07172068289678350.0358603414483918
120.9423329187483420.1153341625033150.0576670812516575
130.916447339378750.1671053212424990.0835526606212495
140.8902355364515720.2195289270968560.109764463548428
150.853508096120990.292983807758020.14649190387901
160.8047630331080880.3904739337838240.195236966891912
170.7524261878564060.4951476242871880.247573812143594
180.7139646588495980.5720706823008040.286035341150402
190.6745975926146080.6508048147707840.325402407385392
200.6558148964513090.6883702070973830.344185103548691
210.6420906911305870.7158186177388250.357909308869413
220.5974251706910130.8051496586179740.402574829308987
230.543503826349830.912992347300340.45649617365017
240.5056533085978140.9886933828043720.494346691402186
250.5197726273746130.9604547452507740.480227372625387
260.5488967535564750.902206492887050.451103246443525
270.5664547669059620.8670904661880750.433545233094038
280.5747076898882770.8505846202234460.425292310111723
290.5571929033090450.885614193381910.442807096690955
300.5272422747903560.9455154504192870.472757725209644
310.5080259133199860.9839481733600270.491974086680014
320.4858782796986550.971756559397310.514121720301345
330.4694924045341030.9389848090682050.530507595465897
340.4515210146063120.9030420292126250.548478985393688
350.4335011368891830.8670022737783650.566498863110817
360.4172356361752560.8344712723505110.582764363824744
370.4145967767451270.8291935534902540.585403223254873
380.4255087485450490.8510174970900980.574491251454951
390.4374171794406860.8748343588813710.562582820559314
400.4960935544462480.9921871088924970.503906445553752
410.5224087772699040.9551824454601930.477591222730096
420.562930914474870.874138171050260.43706908552513
430.5672775627138540.8654448745722920.432722437286146
440.5683805322910370.8632389354179260.431619467708963
450.5886767107658760.8226465784682480.411323289234124
460.5878142541374070.8243714917251870.412185745862593
470.5726214013203720.8547571973592570.427378598679628
480.5179009120566870.9641981758866260.482099087943313
490.4419587036268130.8839174072536270.558041296373187
500.3453998885166580.6907997770333170.654600111483342
510.2561498526729760.5122997053459510.743850147327024
520.2382460113112410.4764920226224820.761753988688759
530.3797711952167440.7595423904334880.620228804783256
540.4070712031183710.8141424062367410.592928796881629
550.3651029371110750.7302058742221510.634897062888925

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.920900028545499 & 0.158199942909003 & 0.0790999714545014 \tabularnewline
6 & 0.915029542338884 & 0.169940915322232 & 0.0849704576611158 \tabularnewline
7 & 0.916765020146124 & 0.166469959707752 & 0.0832349798538762 \tabularnewline
8 & 0.967519855709056 & 0.0649602885818875 & 0.0324801442909438 \tabularnewline
9 & 0.985509844444822 & 0.028980311110356 & 0.014490155555178 \tabularnewline
10 & 0.97868615412584 & 0.0426276917483192 & 0.0213138458741596 \tabularnewline
11 & 0.964139658551608 & 0.0717206828967835 & 0.0358603414483918 \tabularnewline
12 & 0.942332918748342 & 0.115334162503315 & 0.0576670812516575 \tabularnewline
13 & 0.91644733937875 & 0.167105321242499 & 0.0835526606212495 \tabularnewline
14 & 0.890235536451572 & 0.219528927096856 & 0.109764463548428 \tabularnewline
15 & 0.85350809612099 & 0.29298380775802 & 0.14649190387901 \tabularnewline
16 & 0.804763033108088 & 0.390473933783824 & 0.195236966891912 \tabularnewline
17 & 0.752426187856406 & 0.495147624287188 & 0.247573812143594 \tabularnewline
18 & 0.713964658849598 & 0.572070682300804 & 0.286035341150402 \tabularnewline
19 & 0.674597592614608 & 0.650804814770784 & 0.325402407385392 \tabularnewline
20 & 0.655814896451309 & 0.688370207097383 & 0.344185103548691 \tabularnewline
21 & 0.642090691130587 & 0.715818617738825 & 0.357909308869413 \tabularnewline
22 & 0.597425170691013 & 0.805149658617974 & 0.402574829308987 \tabularnewline
23 & 0.54350382634983 & 0.91299234730034 & 0.45649617365017 \tabularnewline
24 & 0.505653308597814 & 0.988693382804372 & 0.494346691402186 \tabularnewline
25 & 0.519772627374613 & 0.960454745250774 & 0.480227372625387 \tabularnewline
26 & 0.548896753556475 & 0.90220649288705 & 0.451103246443525 \tabularnewline
27 & 0.566454766905962 & 0.867090466188075 & 0.433545233094038 \tabularnewline
28 & 0.574707689888277 & 0.850584620223446 & 0.425292310111723 \tabularnewline
29 & 0.557192903309045 & 0.88561419338191 & 0.442807096690955 \tabularnewline
30 & 0.527242274790356 & 0.945515450419287 & 0.472757725209644 \tabularnewline
31 & 0.508025913319986 & 0.983948173360027 & 0.491974086680014 \tabularnewline
32 & 0.485878279698655 & 0.97175655939731 & 0.514121720301345 \tabularnewline
33 & 0.469492404534103 & 0.938984809068205 & 0.530507595465897 \tabularnewline
34 & 0.451521014606312 & 0.903042029212625 & 0.548478985393688 \tabularnewline
35 & 0.433501136889183 & 0.867002273778365 & 0.566498863110817 \tabularnewline
36 & 0.417235636175256 & 0.834471272350511 & 0.582764363824744 \tabularnewline
37 & 0.414596776745127 & 0.829193553490254 & 0.585403223254873 \tabularnewline
38 & 0.425508748545049 & 0.851017497090098 & 0.574491251454951 \tabularnewline
39 & 0.437417179440686 & 0.874834358881371 & 0.562582820559314 \tabularnewline
40 & 0.496093554446248 & 0.992187108892497 & 0.503906445553752 \tabularnewline
41 & 0.522408777269904 & 0.955182445460193 & 0.477591222730096 \tabularnewline
42 & 0.56293091447487 & 0.87413817105026 & 0.43706908552513 \tabularnewline
43 & 0.567277562713854 & 0.865444874572292 & 0.432722437286146 \tabularnewline
44 & 0.568380532291037 & 0.863238935417926 & 0.431619467708963 \tabularnewline
45 & 0.588676710765876 & 0.822646578468248 & 0.411323289234124 \tabularnewline
46 & 0.587814254137407 & 0.824371491725187 & 0.412185745862593 \tabularnewline
47 & 0.572621401320372 & 0.854757197359257 & 0.427378598679628 \tabularnewline
48 & 0.517900912056687 & 0.964198175886626 & 0.482099087943313 \tabularnewline
49 & 0.441958703626813 & 0.883917407253627 & 0.558041296373187 \tabularnewline
50 & 0.345399888516658 & 0.690799777033317 & 0.654600111483342 \tabularnewline
51 & 0.256149852672976 & 0.512299705345951 & 0.743850147327024 \tabularnewline
52 & 0.238246011311241 & 0.476492022622482 & 0.761753988688759 \tabularnewline
53 & 0.379771195216744 & 0.759542390433488 & 0.620228804783256 \tabularnewline
54 & 0.407071203118371 & 0.814142406236741 & 0.592928796881629 \tabularnewline
55 & 0.365102937111075 & 0.730205874222151 & 0.634897062888925 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&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.920900028545499[/C][C]0.158199942909003[/C][C]0.0790999714545014[/C][/ROW]
[ROW][C]6[/C][C]0.915029542338884[/C][C]0.169940915322232[/C][C]0.0849704576611158[/C][/ROW]
[ROW][C]7[/C][C]0.916765020146124[/C][C]0.166469959707752[/C][C]0.0832349798538762[/C][/ROW]
[ROW][C]8[/C][C]0.967519855709056[/C][C]0.0649602885818875[/C][C]0.0324801442909438[/C][/ROW]
[ROW][C]9[/C][C]0.985509844444822[/C][C]0.028980311110356[/C][C]0.014490155555178[/C][/ROW]
[ROW][C]10[/C][C]0.97868615412584[/C][C]0.0426276917483192[/C][C]0.0213138458741596[/C][/ROW]
[ROW][C]11[/C][C]0.964139658551608[/C][C]0.0717206828967835[/C][C]0.0358603414483918[/C][/ROW]
[ROW][C]12[/C][C]0.942332918748342[/C][C]0.115334162503315[/C][C]0.0576670812516575[/C][/ROW]
[ROW][C]13[/C][C]0.91644733937875[/C][C]0.167105321242499[/C][C]0.0835526606212495[/C][/ROW]
[ROW][C]14[/C][C]0.890235536451572[/C][C]0.219528927096856[/C][C]0.109764463548428[/C][/ROW]
[ROW][C]15[/C][C]0.85350809612099[/C][C]0.29298380775802[/C][C]0.14649190387901[/C][/ROW]
[ROW][C]16[/C][C]0.804763033108088[/C][C]0.390473933783824[/C][C]0.195236966891912[/C][/ROW]
[ROW][C]17[/C][C]0.752426187856406[/C][C]0.495147624287188[/C][C]0.247573812143594[/C][/ROW]
[ROW][C]18[/C][C]0.713964658849598[/C][C]0.572070682300804[/C][C]0.286035341150402[/C][/ROW]
[ROW][C]19[/C][C]0.674597592614608[/C][C]0.650804814770784[/C][C]0.325402407385392[/C][/ROW]
[ROW][C]20[/C][C]0.655814896451309[/C][C]0.688370207097383[/C][C]0.344185103548691[/C][/ROW]
[ROW][C]21[/C][C]0.642090691130587[/C][C]0.715818617738825[/C][C]0.357909308869413[/C][/ROW]
[ROW][C]22[/C][C]0.597425170691013[/C][C]0.805149658617974[/C][C]0.402574829308987[/C][/ROW]
[ROW][C]23[/C][C]0.54350382634983[/C][C]0.91299234730034[/C][C]0.45649617365017[/C][/ROW]
[ROW][C]24[/C][C]0.505653308597814[/C][C]0.988693382804372[/C][C]0.494346691402186[/C][/ROW]
[ROW][C]25[/C][C]0.519772627374613[/C][C]0.960454745250774[/C][C]0.480227372625387[/C][/ROW]
[ROW][C]26[/C][C]0.548896753556475[/C][C]0.90220649288705[/C][C]0.451103246443525[/C][/ROW]
[ROW][C]27[/C][C]0.566454766905962[/C][C]0.867090466188075[/C][C]0.433545233094038[/C][/ROW]
[ROW][C]28[/C][C]0.574707689888277[/C][C]0.850584620223446[/C][C]0.425292310111723[/C][/ROW]
[ROW][C]29[/C][C]0.557192903309045[/C][C]0.88561419338191[/C][C]0.442807096690955[/C][/ROW]
[ROW][C]30[/C][C]0.527242274790356[/C][C]0.945515450419287[/C][C]0.472757725209644[/C][/ROW]
[ROW][C]31[/C][C]0.508025913319986[/C][C]0.983948173360027[/C][C]0.491974086680014[/C][/ROW]
[ROW][C]32[/C][C]0.485878279698655[/C][C]0.97175655939731[/C][C]0.514121720301345[/C][/ROW]
[ROW][C]33[/C][C]0.469492404534103[/C][C]0.938984809068205[/C][C]0.530507595465897[/C][/ROW]
[ROW][C]34[/C][C]0.451521014606312[/C][C]0.903042029212625[/C][C]0.548478985393688[/C][/ROW]
[ROW][C]35[/C][C]0.433501136889183[/C][C]0.867002273778365[/C][C]0.566498863110817[/C][/ROW]
[ROW][C]36[/C][C]0.417235636175256[/C][C]0.834471272350511[/C][C]0.582764363824744[/C][/ROW]
[ROW][C]37[/C][C]0.414596776745127[/C][C]0.829193553490254[/C][C]0.585403223254873[/C][/ROW]
[ROW][C]38[/C][C]0.425508748545049[/C][C]0.851017497090098[/C][C]0.574491251454951[/C][/ROW]
[ROW][C]39[/C][C]0.437417179440686[/C][C]0.874834358881371[/C][C]0.562582820559314[/C][/ROW]
[ROW][C]40[/C][C]0.496093554446248[/C][C]0.992187108892497[/C][C]0.503906445553752[/C][/ROW]
[ROW][C]41[/C][C]0.522408777269904[/C][C]0.955182445460193[/C][C]0.477591222730096[/C][/ROW]
[ROW][C]42[/C][C]0.56293091447487[/C][C]0.87413817105026[/C][C]0.43706908552513[/C][/ROW]
[ROW][C]43[/C][C]0.567277562713854[/C][C]0.865444874572292[/C][C]0.432722437286146[/C][/ROW]
[ROW][C]44[/C][C]0.568380532291037[/C][C]0.863238935417926[/C][C]0.431619467708963[/C][/ROW]
[ROW][C]45[/C][C]0.588676710765876[/C][C]0.822646578468248[/C][C]0.411323289234124[/C][/ROW]
[ROW][C]46[/C][C]0.587814254137407[/C][C]0.824371491725187[/C][C]0.412185745862593[/C][/ROW]
[ROW][C]47[/C][C]0.572621401320372[/C][C]0.854757197359257[/C][C]0.427378598679628[/C][/ROW]
[ROW][C]48[/C][C]0.517900912056687[/C][C]0.964198175886626[/C][C]0.482099087943313[/C][/ROW]
[ROW][C]49[/C][C]0.441958703626813[/C][C]0.883917407253627[/C][C]0.558041296373187[/C][/ROW]
[ROW][C]50[/C][C]0.345399888516658[/C][C]0.690799777033317[/C][C]0.654600111483342[/C][/ROW]
[ROW][C]51[/C][C]0.256149852672976[/C][C]0.512299705345951[/C][C]0.743850147327024[/C][/ROW]
[ROW][C]52[/C][C]0.238246011311241[/C][C]0.476492022622482[/C][C]0.761753988688759[/C][/ROW]
[ROW][C]53[/C][C]0.379771195216744[/C][C]0.759542390433488[/C][C]0.620228804783256[/C][/ROW]
[ROW][C]54[/C][C]0.407071203118371[/C][C]0.814142406236741[/C][C]0.592928796881629[/C][/ROW]
[ROW][C]55[/C][C]0.365102937111075[/C][C]0.730205874222151[/C][C]0.634897062888925[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63590&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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.9209000285454990.1581999429090030.0790999714545014
60.9150295423388840.1699409153222320.0849704576611158
70.9167650201461240.1664699597077520.0832349798538762
80.9675198557090560.06496028858188750.0324801442909438
90.9855098444448220.0289803111103560.014490155555178
100.978686154125840.04262769174831920.0213138458741596
110.9641396585516080.07172068289678350.0358603414483918
120.9423329187483420.1153341625033150.0576670812516575
130.916447339378750.1671053212424990.0835526606212495
140.8902355364515720.2195289270968560.109764463548428
150.853508096120990.292983807758020.14649190387901
160.8047630331080880.3904739337838240.195236966891912
170.7524261878564060.4951476242871880.247573812143594
180.7139646588495980.5720706823008040.286035341150402
190.6745975926146080.6508048147707840.325402407385392
200.6558148964513090.6883702070973830.344185103548691
210.6420906911305870.7158186177388250.357909308869413
220.5974251706910130.8051496586179740.402574829308987
230.543503826349830.912992347300340.45649617365017
240.5056533085978140.9886933828043720.494346691402186
250.5197726273746130.9604547452507740.480227372625387
260.5488967535564750.902206492887050.451103246443525
270.5664547669059620.8670904661880750.433545233094038
280.5747076898882770.8505846202234460.425292310111723
290.5571929033090450.885614193381910.442807096690955
300.5272422747903560.9455154504192870.472757725209644
310.5080259133199860.9839481733600270.491974086680014
320.4858782796986550.971756559397310.514121720301345
330.4694924045341030.9389848090682050.530507595465897
340.4515210146063120.9030420292126250.548478985393688
350.4335011368891830.8670022737783650.566498863110817
360.4172356361752560.8344712723505110.582764363824744
370.4145967767451270.8291935534902540.585403223254873
380.4255087485450490.8510174970900980.574491251454951
390.4374171794406860.8748343588813710.562582820559314
400.4960935544462480.9921871088924970.503906445553752
410.5224087772699040.9551824454601930.477591222730096
420.562930914474870.874138171050260.43706908552513
430.5672775627138540.8654448745722920.432722437286146
440.5683805322910370.8632389354179260.431619467708963
450.5886767107658760.8226465784682480.411323289234124
460.5878142541374070.8243714917251870.412185745862593
470.5726214013203720.8547571973592570.427378598679628
480.5179009120566870.9641981758866260.482099087943313
490.4419587036268130.8839174072536270.558041296373187
500.3453998885166580.6907997770333170.654600111483342
510.2561498526729760.5122997053459510.743850147327024
520.2382460113112410.4764920226224820.761753988688759
530.3797711952167440.7595423904334880.620228804783256
540.4070712031183710.8141424062367410.592928796881629
550.3651029371110750.7302058742221510.634897062888925







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0392156862745098OK
10% type I error level40.0784313725490196OK

\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 & 2 & 0.0392156862745098 & OK \tabularnewline
10% type I error level & 4 & 0.0784313725490196 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63590&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]2[/C][C]0.0392156862745098[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]4[/C][C]0.0784313725490196[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63590&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63590&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 level20.0392156862745098OK
10% type I error level40.0784313725490196OK



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