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, 07 Dec 2008 10:11:28 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/07/t12286699481nhuyel6nf0m3um.htm/, Retrieved Sat, 18 May 2024 11:47:33 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=30175, Retrieved Sat, 18 May 2024 11:47:33 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact178
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Paper - Multiple ...] [2008-12-05 17:15:56] [fce9014b1ad8484790f3b34d6ba09f7b]
-    D    [Multiple Regression] [Paper - Multiple ...] [2008-12-07 17:11:28] [7957bb37a64ed417bbed8444b0b0ea8a] [Current]
Feedback Forum

Post a new message
Dataseries X:
41	0
35	0
34	0
36	0
39	0
40	0
30	0
33	0
30	0
32	0
41	0
40	0
41	0
40	0
39	0
34	0
34	0
46	0
45	0
44	0
40	0
39	0
37	0
39	0
35	0
26	0
26	0
33	0
27	0
30	0
26	0
27	0
18	0
19	0
13	0
14	0
41	0
21	0
16	0
17	0
9	0
14	0
14	0
16	0
11	0
10	0
6	0
9	0
5	0
7	0
2	0
0	0
8	0
13	0
11	0
19	1
23	1
23	1
43	1
59	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Wer[t] = + 26.0545454545454 + 7.34545454545455Val[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Wer[t] =  +  26.0545454545454 +  7.34545454545455Val[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Wer[t] =  +  26.0545454545454 +  7.34545454545455Val[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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
Wer[t] = + 26.0545454545454 + 7.34545454545455Val[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)26.05454545454541.82511514.275600
Val7.345454545454556.3223851.16180.2500690.125034

\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) & 26.0545454545454 & 1.825115 & 14.2756 & 0 & 0 \tabularnewline
Val & 7.34545454545455 & 6.322385 & 1.1618 & 0.250069 & 0.125034 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&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]26.0545454545454[/C][C]1.825115[/C][C]14.2756[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Val[/C][C]7.34545454545455[/C][C]6.322385[/C][C]1.1618[/C][C]0.250069[/C][C]0.125034[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.150809272993043
R-squared0.0227434368206900
Adjusted R-squared0.00589418573139167
F-TEST (value)1.34981885545852
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.250068600176982
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.5354173748345
Sum Squared Residuals10626.0363636364

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.150809272993043 \tabularnewline
R-squared & 0.0227434368206900 \tabularnewline
Adjusted R-squared & 0.00589418573139167 \tabularnewline
F-TEST (value) & 1.34981885545852 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.250068600176982 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.5354173748345 \tabularnewline
Sum Squared Residuals & 10626.0363636364 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.150809272993043[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0227434368206900[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.00589418573139167[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.34981885545852[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.250068600176982[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.5354173748345[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]10626.0363636364[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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.150809272993043
R-squared0.0227434368206900
Adjusted R-squared0.00589418573139167
F-TEST (value)1.34981885545852
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.250068600176982
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.5354173748345
Sum Squared Residuals10626.0363636364







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
14126.054545454545514.9454545454545
23526.05454545454558.94545454545454
33426.05454545454557.94545454545455
43626.05454545454559.94545454545455
53926.054545454545512.9454545454545
64026.054545454545513.9454545454545
73026.05454545454553.94545454545455
83326.05454545454556.94545454545455
93026.05454545454553.94545454545455
103226.05454545454555.94545454545455
114126.054545454545514.9454545454545
124026.054545454545513.9454545454545
134126.054545454545514.9454545454545
144026.054545454545513.9454545454545
153926.054545454545512.9454545454545
163426.05454545454557.94545454545455
173426.05454545454557.94545454545455
184626.054545454545519.9454545454545
194526.054545454545518.9454545454545
204426.054545454545517.9454545454545
214026.054545454545513.9454545454545
223926.054545454545512.9454545454545
233726.054545454545510.9454545454545
243926.054545454545512.9454545454545
253526.05454545454558.94545454545455
262626.0545454545455-0.0545454545454533
272626.0545454545455-0.0545454545454533
283326.05454545454556.94545454545455
292726.05454545454550.945454545454547
303026.05454545454553.94545454545455
312626.0545454545455-0.0545454545454533
322726.05454545454550.945454545454547
331826.0545454545455-8.05454545454545
341926.0545454545455-7.05454545454545
351326.0545454545455-13.0545454545455
361426.0545454545455-12.0545454545455
374126.054545454545514.9454545454545
382126.0545454545455-5.05454545454545
391626.0545454545455-10.0545454545455
401726.0545454545455-9.05454545454545
41926.0545454545455-17.0545454545455
421426.0545454545455-12.0545454545455
431426.0545454545455-12.0545454545455
441626.0545454545455-10.0545454545455
451126.0545454545455-15.0545454545455
461026.0545454545455-16.0545454545455
47626.0545454545455-20.0545454545455
48926.0545454545455-17.0545454545455
49526.0545454545455-21.0545454545455
50726.0545454545455-19.0545454545455
51226.0545454545455-24.0545454545455
52026.0545454545455-26.0545454545455
53826.0545454545455-18.0545454545455
541326.0545454545455-13.0545454545455
551126.0545454545455-15.0545454545455
561933.4-14.4
572333.4-10.4
582333.4-10.4
594333.49.6
605933.425.6

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 41 & 26.0545454545455 & 14.9454545454545 \tabularnewline
2 & 35 & 26.0545454545455 & 8.94545454545454 \tabularnewline
3 & 34 & 26.0545454545455 & 7.94545454545455 \tabularnewline
4 & 36 & 26.0545454545455 & 9.94545454545455 \tabularnewline
5 & 39 & 26.0545454545455 & 12.9454545454545 \tabularnewline
6 & 40 & 26.0545454545455 & 13.9454545454545 \tabularnewline
7 & 30 & 26.0545454545455 & 3.94545454545455 \tabularnewline
8 & 33 & 26.0545454545455 & 6.94545454545455 \tabularnewline
9 & 30 & 26.0545454545455 & 3.94545454545455 \tabularnewline
10 & 32 & 26.0545454545455 & 5.94545454545455 \tabularnewline
11 & 41 & 26.0545454545455 & 14.9454545454545 \tabularnewline
12 & 40 & 26.0545454545455 & 13.9454545454545 \tabularnewline
13 & 41 & 26.0545454545455 & 14.9454545454545 \tabularnewline
14 & 40 & 26.0545454545455 & 13.9454545454545 \tabularnewline
15 & 39 & 26.0545454545455 & 12.9454545454545 \tabularnewline
16 & 34 & 26.0545454545455 & 7.94545454545455 \tabularnewline
17 & 34 & 26.0545454545455 & 7.94545454545455 \tabularnewline
18 & 46 & 26.0545454545455 & 19.9454545454545 \tabularnewline
19 & 45 & 26.0545454545455 & 18.9454545454545 \tabularnewline
20 & 44 & 26.0545454545455 & 17.9454545454545 \tabularnewline
21 & 40 & 26.0545454545455 & 13.9454545454545 \tabularnewline
22 & 39 & 26.0545454545455 & 12.9454545454545 \tabularnewline
23 & 37 & 26.0545454545455 & 10.9454545454545 \tabularnewline
24 & 39 & 26.0545454545455 & 12.9454545454545 \tabularnewline
25 & 35 & 26.0545454545455 & 8.94545454545455 \tabularnewline
26 & 26 & 26.0545454545455 & -0.0545454545454533 \tabularnewline
27 & 26 & 26.0545454545455 & -0.0545454545454533 \tabularnewline
28 & 33 & 26.0545454545455 & 6.94545454545455 \tabularnewline
29 & 27 & 26.0545454545455 & 0.945454545454547 \tabularnewline
30 & 30 & 26.0545454545455 & 3.94545454545455 \tabularnewline
31 & 26 & 26.0545454545455 & -0.0545454545454533 \tabularnewline
32 & 27 & 26.0545454545455 & 0.945454545454547 \tabularnewline
33 & 18 & 26.0545454545455 & -8.05454545454545 \tabularnewline
34 & 19 & 26.0545454545455 & -7.05454545454545 \tabularnewline
35 & 13 & 26.0545454545455 & -13.0545454545455 \tabularnewline
36 & 14 & 26.0545454545455 & -12.0545454545455 \tabularnewline
37 & 41 & 26.0545454545455 & 14.9454545454545 \tabularnewline
38 & 21 & 26.0545454545455 & -5.05454545454545 \tabularnewline
39 & 16 & 26.0545454545455 & -10.0545454545455 \tabularnewline
40 & 17 & 26.0545454545455 & -9.05454545454545 \tabularnewline
41 & 9 & 26.0545454545455 & -17.0545454545455 \tabularnewline
42 & 14 & 26.0545454545455 & -12.0545454545455 \tabularnewline
43 & 14 & 26.0545454545455 & -12.0545454545455 \tabularnewline
44 & 16 & 26.0545454545455 & -10.0545454545455 \tabularnewline
45 & 11 & 26.0545454545455 & -15.0545454545455 \tabularnewline
46 & 10 & 26.0545454545455 & -16.0545454545455 \tabularnewline
47 & 6 & 26.0545454545455 & -20.0545454545455 \tabularnewline
48 & 9 & 26.0545454545455 & -17.0545454545455 \tabularnewline
49 & 5 & 26.0545454545455 & -21.0545454545455 \tabularnewline
50 & 7 & 26.0545454545455 & -19.0545454545455 \tabularnewline
51 & 2 & 26.0545454545455 & -24.0545454545455 \tabularnewline
52 & 0 & 26.0545454545455 & -26.0545454545455 \tabularnewline
53 & 8 & 26.0545454545455 & -18.0545454545455 \tabularnewline
54 & 13 & 26.0545454545455 & -13.0545454545455 \tabularnewline
55 & 11 & 26.0545454545455 & -15.0545454545455 \tabularnewline
56 & 19 & 33.4 & -14.4 \tabularnewline
57 & 23 & 33.4 & -10.4 \tabularnewline
58 & 23 & 33.4 & -10.4 \tabularnewline
59 & 43 & 33.4 & 9.6 \tabularnewline
60 & 59 & 33.4 & 25.6 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&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]41[/C][C]26.0545454545455[/C][C]14.9454545454545[/C][/ROW]
[ROW][C]2[/C][C]35[/C][C]26.0545454545455[/C][C]8.94545454545454[/C][/ROW]
[ROW][C]3[/C][C]34[/C][C]26.0545454545455[/C][C]7.94545454545455[/C][/ROW]
[ROW][C]4[/C][C]36[/C][C]26.0545454545455[/C][C]9.94545454545455[/C][/ROW]
[ROW][C]5[/C][C]39[/C][C]26.0545454545455[/C][C]12.9454545454545[/C][/ROW]
[ROW][C]6[/C][C]40[/C][C]26.0545454545455[/C][C]13.9454545454545[/C][/ROW]
[ROW][C]7[/C][C]30[/C][C]26.0545454545455[/C][C]3.94545454545455[/C][/ROW]
[ROW][C]8[/C][C]33[/C][C]26.0545454545455[/C][C]6.94545454545455[/C][/ROW]
[ROW][C]9[/C][C]30[/C][C]26.0545454545455[/C][C]3.94545454545455[/C][/ROW]
[ROW][C]10[/C][C]32[/C][C]26.0545454545455[/C][C]5.94545454545455[/C][/ROW]
[ROW][C]11[/C][C]41[/C][C]26.0545454545455[/C][C]14.9454545454545[/C][/ROW]
[ROW][C]12[/C][C]40[/C][C]26.0545454545455[/C][C]13.9454545454545[/C][/ROW]
[ROW][C]13[/C][C]41[/C][C]26.0545454545455[/C][C]14.9454545454545[/C][/ROW]
[ROW][C]14[/C][C]40[/C][C]26.0545454545455[/C][C]13.9454545454545[/C][/ROW]
[ROW][C]15[/C][C]39[/C][C]26.0545454545455[/C][C]12.9454545454545[/C][/ROW]
[ROW][C]16[/C][C]34[/C][C]26.0545454545455[/C][C]7.94545454545455[/C][/ROW]
[ROW][C]17[/C][C]34[/C][C]26.0545454545455[/C][C]7.94545454545455[/C][/ROW]
[ROW][C]18[/C][C]46[/C][C]26.0545454545455[/C][C]19.9454545454545[/C][/ROW]
[ROW][C]19[/C][C]45[/C][C]26.0545454545455[/C][C]18.9454545454545[/C][/ROW]
[ROW][C]20[/C][C]44[/C][C]26.0545454545455[/C][C]17.9454545454545[/C][/ROW]
[ROW][C]21[/C][C]40[/C][C]26.0545454545455[/C][C]13.9454545454545[/C][/ROW]
[ROW][C]22[/C][C]39[/C][C]26.0545454545455[/C][C]12.9454545454545[/C][/ROW]
[ROW][C]23[/C][C]37[/C][C]26.0545454545455[/C][C]10.9454545454545[/C][/ROW]
[ROW][C]24[/C][C]39[/C][C]26.0545454545455[/C][C]12.9454545454545[/C][/ROW]
[ROW][C]25[/C][C]35[/C][C]26.0545454545455[/C][C]8.94545454545455[/C][/ROW]
[ROW][C]26[/C][C]26[/C][C]26.0545454545455[/C][C]-0.0545454545454533[/C][/ROW]
[ROW][C]27[/C][C]26[/C][C]26.0545454545455[/C][C]-0.0545454545454533[/C][/ROW]
[ROW][C]28[/C][C]33[/C][C]26.0545454545455[/C][C]6.94545454545455[/C][/ROW]
[ROW][C]29[/C][C]27[/C][C]26.0545454545455[/C][C]0.945454545454547[/C][/ROW]
[ROW][C]30[/C][C]30[/C][C]26.0545454545455[/C][C]3.94545454545455[/C][/ROW]
[ROW][C]31[/C][C]26[/C][C]26.0545454545455[/C][C]-0.0545454545454533[/C][/ROW]
[ROW][C]32[/C][C]27[/C][C]26.0545454545455[/C][C]0.945454545454547[/C][/ROW]
[ROW][C]33[/C][C]18[/C][C]26.0545454545455[/C][C]-8.05454545454545[/C][/ROW]
[ROW][C]34[/C][C]19[/C][C]26.0545454545455[/C][C]-7.05454545454545[/C][/ROW]
[ROW][C]35[/C][C]13[/C][C]26.0545454545455[/C][C]-13.0545454545455[/C][/ROW]
[ROW][C]36[/C][C]14[/C][C]26.0545454545455[/C][C]-12.0545454545455[/C][/ROW]
[ROW][C]37[/C][C]41[/C][C]26.0545454545455[/C][C]14.9454545454545[/C][/ROW]
[ROW][C]38[/C][C]21[/C][C]26.0545454545455[/C][C]-5.05454545454545[/C][/ROW]
[ROW][C]39[/C][C]16[/C][C]26.0545454545455[/C][C]-10.0545454545455[/C][/ROW]
[ROW][C]40[/C][C]17[/C][C]26.0545454545455[/C][C]-9.05454545454545[/C][/ROW]
[ROW][C]41[/C][C]9[/C][C]26.0545454545455[/C][C]-17.0545454545455[/C][/ROW]
[ROW][C]42[/C][C]14[/C][C]26.0545454545455[/C][C]-12.0545454545455[/C][/ROW]
[ROW][C]43[/C][C]14[/C][C]26.0545454545455[/C][C]-12.0545454545455[/C][/ROW]
[ROW][C]44[/C][C]16[/C][C]26.0545454545455[/C][C]-10.0545454545455[/C][/ROW]
[ROW][C]45[/C][C]11[/C][C]26.0545454545455[/C][C]-15.0545454545455[/C][/ROW]
[ROW][C]46[/C][C]10[/C][C]26.0545454545455[/C][C]-16.0545454545455[/C][/ROW]
[ROW][C]47[/C][C]6[/C][C]26.0545454545455[/C][C]-20.0545454545455[/C][/ROW]
[ROW][C]48[/C][C]9[/C][C]26.0545454545455[/C][C]-17.0545454545455[/C][/ROW]
[ROW][C]49[/C][C]5[/C][C]26.0545454545455[/C][C]-21.0545454545455[/C][/ROW]
[ROW][C]50[/C][C]7[/C][C]26.0545454545455[/C][C]-19.0545454545455[/C][/ROW]
[ROW][C]51[/C][C]2[/C][C]26.0545454545455[/C][C]-24.0545454545455[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]26.0545454545455[/C][C]-26.0545454545455[/C][/ROW]
[ROW][C]53[/C][C]8[/C][C]26.0545454545455[/C][C]-18.0545454545455[/C][/ROW]
[ROW][C]54[/C][C]13[/C][C]26.0545454545455[/C][C]-13.0545454545455[/C][/ROW]
[ROW][C]55[/C][C]11[/C][C]26.0545454545455[/C][C]-15.0545454545455[/C][/ROW]
[ROW][C]56[/C][C]19[/C][C]33.4[/C][C]-14.4[/C][/ROW]
[ROW][C]57[/C][C]23[/C][C]33.4[/C][C]-10.4[/C][/ROW]
[ROW][C]58[/C][C]23[/C][C]33.4[/C][C]-10.4[/C][/ROW]
[ROW][C]59[/C][C]43[/C][C]33.4[/C][C]9.6[/C][/ROW]
[ROW][C]60[/C][C]59[/C][C]33.4[/C][C]25.6[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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
14126.054545454545514.9454545454545
23526.05454545454558.94545454545454
33426.05454545454557.94545454545455
43626.05454545454559.94545454545455
53926.054545454545512.9454545454545
64026.054545454545513.9454545454545
73026.05454545454553.94545454545455
83326.05454545454556.94545454545455
93026.05454545454553.94545454545455
103226.05454545454555.94545454545455
114126.054545454545514.9454545454545
124026.054545454545513.9454545454545
134126.054545454545514.9454545454545
144026.054545454545513.9454545454545
153926.054545454545512.9454545454545
163426.05454545454557.94545454545455
173426.05454545454557.94545454545455
184626.054545454545519.9454545454545
194526.054545454545518.9454545454545
204426.054545454545517.9454545454545
214026.054545454545513.9454545454545
223926.054545454545512.9454545454545
233726.054545454545510.9454545454545
243926.054545454545512.9454545454545
253526.05454545454558.94545454545455
262626.0545454545455-0.0545454545454533
272626.0545454545455-0.0545454545454533
283326.05454545454556.94545454545455
292726.05454545454550.945454545454547
303026.05454545454553.94545454545455
312626.0545454545455-0.0545454545454533
322726.05454545454550.945454545454547
331826.0545454545455-8.05454545454545
341926.0545454545455-7.05454545454545
351326.0545454545455-13.0545454545455
361426.0545454545455-12.0545454545455
374126.054545454545514.9454545454545
382126.0545454545455-5.05454545454545
391626.0545454545455-10.0545454545455
401726.0545454545455-9.05454545454545
41926.0545454545455-17.0545454545455
421426.0545454545455-12.0545454545455
431426.0545454545455-12.0545454545455
441626.0545454545455-10.0545454545455
451126.0545454545455-15.0545454545455
461026.0545454545455-16.0545454545455
47626.0545454545455-20.0545454545455
48926.0545454545455-17.0545454545455
49526.0545454545455-21.0545454545455
50726.0545454545455-19.0545454545455
51226.0545454545455-24.0545454545455
52026.0545454545455-26.0545454545455
53826.0545454545455-18.0545454545455
541326.0545454545455-13.0545454545455
551126.0545454545455-15.0545454545455
561933.4-14.4
572333.4-10.4
582333.4-10.4
594333.49.6
605933.425.6







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01968271938050960.03936543876101910.98031728061949
60.005932075286994940.01186415057398990.994067924713005
70.00732042491270790.01464084982541580.992679575087292
80.002663125597101510.005326251194203020.997336874402899
90.001703991778845450.003407983557690910.998296008221154
100.0006281054332276040.001256210866455210.999371894566772
110.0004507480359055360.0009014960718110730.999549251964094
120.0002301638429441580.0004603276858883160.999769836157056
130.0001410479679018590.0002820959358037170.999858952032098
146.80125259123386e-050.0001360250518246770.999931987474088
152.78854919606179e-055.57709839212358e-050.99997211450804
161.08126320012769e-052.16252640025537e-050.999989187367999
174.11747379977539e-068.23494759955079e-060.9999958825262
181.70920221453815e-053.4184044290763e-050.999982907977855
193.50868269342349e-057.01736538684697e-050.999964913173066
205.19336975163917e-050.0001038673950327830.999948066302484
213.76524878224546e-057.53049756449093e-050.999962347512177
222.7114411086047e-055.4228822172094e-050.999972885588914
231.91014787381564e-053.82029574763129e-050.999980898521262
241.82960026448414e-053.65920052896827e-050.999981703997355
251.70812015233777e-053.41624030467555e-050.999982918798477
268.20242235473254e-050.0001640484470946510.999917975776453
270.0002338589295418470.0004677178590836940.999766141070458
280.0002744785725745410.0005489571451490830.999725521427425
290.0005289464550451590.001057892910090320.999471053544955
300.0007657911129824920.001531582225964980.999234208887018
310.001504413207339450.003008826414678910.99849558679266
320.002593092301360960.005186184602721920.99740690769864
330.01031771390193580.02063542780387160.989682286098064
340.02171489641628320.04342979283256650.978285103583717
350.05983050813880670.1196610162776130.940169491861193
360.09845861960129120.1969172392025820.901541380398709
370.371148225530660.742296451061320.62885177446934
380.425036067450050.85007213490010.57496393254995
390.4749158707078570.9498317414157140.525084129292143
400.5118380418709060.9763239162581890.488161958129094
410.5782337709247910.8435324581504180.421766229075209
420.5863941795107360.8272116409785280.413605820489264
430.585591967412480.828816065175040.41440803258752
440.5855968890266030.8288062219467940.414403110973397
450.5740280903356140.8519438193287730.425971909664386
460.5534844649656530.8930310700686950.446515535034347
470.5394033119255410.9211933761489180.460596688074459
480.4959371968489730.9918743936979460.504062803151027
490.4601662861711090.9203325723422180.539833713828891
500.4006736290306790.8013472580613590.59932637096932
510.3675362842868190.7350725685736370.632463715713181
520.3559459701228910.7118919402457830.644054029877109
530.2691889362525960.5383778725051920.730811063747404
540.1756177881541560.3512355763083120.824382211845844
550.1002032163240370.2004064326480740.899796783675963

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0196827193805096 & 0.0393654387610191 & 0.98031728061949 \tabularnewline
6 & 0.00593207528699494 & 0.0118641505739899 & 0.994067924713005 \tabularnewline
7 & 0.0073204249127079 & 0.0146408498254158 & 0.992679575087292 \tabularnewline
8 & 0.00266312559710151 & 0.00532625119420302 & 0.997336874402899 \tabularnewline
9 & 0.00170399177884545 & 0.00340798355769091 & 0.998296008221154 \tabularnewline
10 & 0.000628105433227604 & 0.00125621086645521 & 0.999371894566772 \tabularnewline
11 & 0.000450748035905536 & 0.000901496071811073 & 0.999549251964094 \tabularnewline
12 & 0.000230163842944158 & 0.000460327685888316 & 0.999769836157056 \tabularnewline
13 & 0.000141047967901859 & 0.000282095935803717 & 0.999858952032098 \tabularnewline
14 & 6.80125259123386e-05 & 0.000136025051824677 & 0.999931987474088 \tabularnewline
15 & 2.78854919606179e-05 & 5.57709839212358e-05 & 0.99997211450804 \tabularnewline
16 & 1.08126320012769e-05 & 2.16252640025537e-05 & 0.999989187367999 \tabularnewline
17 & 4.11747379977539e-06 & 8.23494759955079e-06 & 0.9999958825262 \tabularnewline
18 & 1.70920221453815e-05 & 3.4184044290763e-05 & 0.999982907977855 \tabularnewline
19 & 3.50868269342349e-05 & 7.01736538684697e-05 & 0.999964913173066 \tabularnewline
20 & 5.19336975163917e-05 & 0.000103867395032783 & 0.999948066302484 \tabularnewline
21 & 3.76524878224546e-05 & 7.53049756449093e-05 & 0.999962347512177 \tabularnewline
22 & 2.7114411086047e-05 & 5.4228822172094e-05 & 0.999972885588914 \tabularnewline
23 & 1.91014787381564e-05 & 3.82029574763129e-05 & 0.999980898521262 \tabularnewline
24 & 1.82960026448414e-05 & 3.65920052896827e-05 & 0.999981703997355 \tabularnewline
25 & 1.70812015233777e-05 & 3.41624030467555e-05 & 0.999982918798477 \tabularnewline
26 & 8.20242235473254e-05 & 0.000164048447094651 & 0.999917975776453 \tabularnewline
27 & 0.000233858929541847 & 0.000467717859083694 & 0.999766141070458 \tabularnewline
28 & 0.000274478572574541 & 0.000548957145149083 & 0.999725521427425 \tabularnewline
29 & 0.000528946455045159 & 0.00105789291009032 & 0.999471053544955 \tabularnewline
30 & 0.000765791112982492 & 0.00153158222596498 & 0.999234208887018 \tabularnewline
31 & 0.00150441320733945 & 0.00300882641467891 & 0.99849558679266 \tabularnewline
32 & 0.00259309230136096 & 0.00518618460272192 & 0.99740690769864 \tabularnewline
33 & 0.0103177139019358 & 0.0206354278038716 & 0.989682286098064 \tabularnewline
34 & 0.0217148964162832 & 0.0434297928325665 & 0.978285103583717 \tabularnewline
35 & 0.0598305081388067 & 0.119661016277613 & 0.940169491861193 \tabularnewline
36 & 0.0984586196012912 & 0.196917239202582 & 0.901541380398709 \tabularnewline
37 & 0.37114822553066 & 0.74229645106132 & 0.62885177446934 \tabularnewline
38 & 0.42503606745005 & 0.8500721349001 & 0.57496393254995 \tabularnewline
39 & 0.474915870707857 & 0.949831741415714 & 0.525084129292143 \tabularnewline
40 & 0.511838041870906 & 0.976323916258189 & 0.488161958129094 \tabularnewline
41 & 0.578233770924791 & 0.843532458150418 & 0.421766229075209 \tabularnewline
42 & 0.586394179510736 & 0.827211640978528 & 0.413605820489264 \tabularnewline
43 & 0.58559196741248 & 0.82881606517504 & 0.41440803258752 \tabularnewline
44 & 0.585596889026603 & 0.828806221946794 & 0.414403110973397 \tabularnewline
45 & 0.574028090335614 & 0.851943819328773 & 0.425971909664386 \tabularnewline
46 & 0.553484464965653 & 0.893031070068695 & 0.446515535034347 \tabularnewline
47 & 0.539403311925541 & 0.921193376148918 & 0.460596688074459 \tabularnewline
48 & 0.495937196848973 & 0.991874393697946 & 0.504062803151027 \tabularnewline
49 & 0.460166286171109 & 0.920332572342218 & 0.539833713828891 \tabularnewline
50 & 0.400673629030679 & 0.801347258061359 & 0.59932637096932 \tabularnewline
51 & 0.367536284286819 & 0.735072568573637 & 0.632463715713181 \tabularnewline
52 & 0.355945970122891 & 0.711891940245783 & 0.644054029877109 \tabularnewline
53 & 0.269188936252596 & 0.538377872505192 & 0.730811063747404 \tabularnewline
54 & 0.175617788154156 & 0.351235576308312 & 0.824382211845844 \tabularnewline
55 & 0.100203216324037 & 0.200406432648074 & 0.899796783675963 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&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.0196827193805096[/C][C]0.0393654387610191[/C][C]0.98031728061949[/C][/ROW]
[ROW][C]6[/C][C]0.00593207528699494[/C][C]0.0118641505739899[/C][C]0.994067924713005[/C][/ROW]
[ROW][C]7[/C][C]0.0073204249127079[/C][C]0.0146408498254158[/C][C]0.992679575087292[/C][/ROW]
[ROW][C]8[/C][C]0.00266312559710151[/C][C]0.00532625119420302[/C][C]0.997336874402899[/C][/ROW]
[ROW][C]9[/C][C]0.00170399177884545[/C][C]0.00340798355769091[/C][C]0.998296008221154[/C][/ROW]
[ROW][C]10[/C][C]0.000628105433227604[/C][C]0.00125621086645521[/C][C]0.999371894566772[/C][/ROW]
[ROW][C]11[/C][C]0.000450748035905536[/C][C]0.000901496071811073[/C][C]0.999549251964094[/C][/ROW]
[ROW][C]12[/C][C]0.000230163842944158[/C][C]0.000460327685888316[/C][C]0.999769836157056[/C][/ROW]
[ROW][C]13[/C][C]0.000141047967901859[/C][C]0.000282095935803717[/C][C]0.999858952032098[/C][/ROW]
[ROW][C]14[/C][C]6.80125259123386e-05[/C][C]0.000136025051824677[/C][C]0.999931987474088[/C][/ROW]
[ROW][C]15[/C][C]2.78854919606179e-05[/C][C]5.57709839212358e-05[/C][C]0.99997211450804[/C][/ROW]
[ROW][C]16[/C][C]1.08126320012769e-05[/C][C]2.16252640025537e-05[/C][C]0.999989187367999[/C][/ROW]
[ROW][C]17[/C][C]4.11747379977539e-06[/C][C]8.23494759955079e-06[/C][C]0.9999958825262[/C][/ROW]
[ROW][C]18[/C][C]1.70920221453815e-05[/C][C]3.4184044290763e-05[/C][C]0.999982907977855[/C][/ROW]
[ROW][C]19[/C][C]3.50868269342349e-05[/C][C]7.01736538684697e-05[/C][C]0.999964913173066[/C][/ROW]
[ROW][C]20[/C][C]5.19336975163917e-05[/C][C]0.000103867395032783[/C][C]0.999948066302484[/C][/ROW]
[ROW][C]21[/C][C]3.76524878224546e-05[/C][C]7.53049756449093e-05[/C][C]0.999962347512177[/C][/ROW]
[ROW][C]22[/C][C]2.7114411086047e-05[/C][C]5.4228822172094e-05[/C][C]0.999972885588914[/C][/ROW]
[ROW][C]23[/C][C]1.91014787381564e-05[/C][C]3.82029574763129e-05[/C][C]0.999980898521262[/C][/ROW]
[ROW][C]24[/C][C]1.82960026448414e-05[/C][C]3.65920052896827e-05[/C][C]0.999981703997355[/C][/ROW]
[ROW][C]25[/C][C]1.70812015233777e-05[/C][C]3.41624030467555e-05[/C][C]0.999982918798477[/C][/ROW]
[ROW][C]26[/C][C]8.20242235473254e-05[/C][C]0.000164048447094651[/C][C]0.999917975776453[/C][/ROW]
[ROW][C]27[/C][C]0.000233858929541847[/C][C]0.000467717859083694[/C][C]0.999766141070458[/C][/ROW]
[ROW][C]28[/C][C]0.000274478572574541[/C][C]0.000548957145149083[/C][C]0.999725521427425[/C][/ROW]
[ROW][C]29[/C][C]0.000528946455045159[/C][C]0.00105789291009032[/C][C]0.999471053544955[/C][/ROW]
[ROW][C]30[/C][C]0.000765791112982492[/C][C]0.00153158222596498[/C][C]0.999234208887018[/C][/ROW]
[ROW][C]31[/C][C]0.00150441320733945[/C][C]0.00300882641467891[/C][C]0.99849558679266[/C][/ROW]
[ROW][C]32[/C][C]0.00259309230136096[/C][C]0.00518618460272192[/C][C]0.99740690769864[/C][/ROW]
[ROW][C]33[/C][C]0.0103177139019358[/C][C]0.0206354278038716[/C][C]0.989682286098064[/C][/ROW]
[ROW][C]34[/C][C]0.0217148964162832[/C][C]0.0434297928325665[/C][C]0.978285103583717[/C][/ROW]
[ROW][C]35[/C][C]0.0598305081388067[/C][C]0.119661016277613[/C][C]0.940169491861193[/C][/ROW]
[ROW][C]36[/C][C]0.0984586196012912[/C][C]0.196917239202582[/C][C]0.901541380398709[/C][/ROW]
[ROW][C]37[/C][C]0.37114822553066[/C][C]0.74229645106132[/C][C]0.62885177446934[/C][/ROW]
[ROW][C]38[/C][C]0.42503606745005[/C][C]0.8500721349001[/C][C]0.57496393254995[/C][/ROW]
[ROW][C]39[/C][C]0.474915870707857[/C][C]0.949831741415714[/C][C]0.525084129292143[/C][/ROW]
[ROW][C]40[/C][C]0.511838041870906[/C][C]0.976323916258189[/C][C]0.488161958129094[/C][/ROW]
[ROW][C]41[/C][C]0.578233770924791[/C][C]0.843532458150418[/C][C]0.421766229075209[/C][/ROW]
[ROW][C]42[/C][C]0.586394179510736[/C][C]0.827211640978528[/C][C]0.413605820489264[/C][/ROW]
[ROW][C]43[/C][C]0.58559196741248[/C][C]0.82881606517504[/C][C]0.41440803258752[/C][/ROW]
[ROW][C]44[/C][C]0.585596889026603[/C][C]0.828806221946794[/C][C]0.414403110973397[/C][/ROW]
[ROW][C]45[/C][C]0.574028090335614[/C][C]0.851943819328773[/C][C]0.425971909664386[/C][/ROW]
[ROW][C]46[/C][C]0.553484464965653[/C][C]0.893031070068695[/C][C]0.446515535034347[/C][/ROW]
[ROW][C]47[/C][C]0.539403311925541[/C][C]0.921193376148918[/C][C]0.460596688074459[/C][/ROW]
[ROW][C]48[/C][C]0.495937196848973[/C][C]0.991874393697946[/C][C]0.504062803151027[/C][/ROW]
[ROW][C]49[/C][C]0.460166286171109[/C][C]0.920332572342218[/C][C]0.539833713828891[/C][/ROW]
[ROW][C]50[/C][C]0.400673629030679[/C][C]0.801347258061359[/C][C]0.59932637096932[/C][/ROW]
[ROW][C]51[/C][C]0.367536284286819[/C][C]0.735072568573637[/C][C]0.632463715713181[/C][/ROW]
[ROW][C]52[/C][C]0.355945970122891[/C][C]0.711891940245783[/C][C]0.644054029877109[/C][/ROW]
[ROW][C]53[/C][C]0.269188936252596[/C][C]0.538377872505192[/C][C]0.730811063747404[/C][/ROW]
[ROW][C]54[/C][C]0.175617788154156[/C][C]0.351235576308312[/C][C]0.824382211845844[/C][/ROW]
[ROW][C]55[/C][C]0.100203216324037[/C][C]0.200406432648074[/C][C]0.899796783675963[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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.01968271938050960.03936543876101910.98031728061949
60.005932075286994940.01186415057398990.994067924713005
70.00732042491270790.01464084982541580.992679575087292
80.002663125597101510.005326251194203020.997336874402899
90.001703991778845450.003407983557690910.998296008221154
100.0006281054332276040.001256210866455210.999371894566772
110.0004507480359055360.0009014960718110730.999549251964094
120.0002301638429441580.0004603276858883160.999769836157056
130.0001410479679018590.0002820959358037170.999858952032098
146.80125259123386e-050.0001360250518246770.999931987474088
152.78854919606179e-055.57709839212358e-050.99997211450804
161.08126320012769e-052.16252640025537e-050.999989187367999
174.11747379977539e-068.23494759955079e-060.9999958825262
181.70920221453815e-053.4184044290763e-050.999982907977855
193.50868269342349e-057.01736538684697e-050.999964913173066
205.19336975163917e-050.0001038673950327830.999948066302484
213.76524878224546e-057.53049756449093e-050.999962347512177
222.7114411086047e-055.4228822172094e-050.999972885588914
231.91014787381564e-053.82029574763129e-050.999980898521262
241.82960026448414e-053.65920052896827e-050.999981703997355
251.70812015233777e-053.41624030467555e-050.999982918798477
268.20242235473254e-050.0001640484470946510.999917975776453
270.0002338589295418470.0004677178590836940.999766141070458
280.0002744785725745410.0005489571451490830.999725521427425
290.0005289464550451590.001057892910090320.999471053544955
300.0007657911129824920.001531582225964980.999234208887018
310.001504413207339450.003008826414678910.99849558679266
320.002593092301360960.005186184602721920.99740690769864
330.01031771390193580.02063542780387160.989682286098064
340.02171489641628320.04342979283256650.978285103583717
350.05983050813880670.1196610162776130.940169491861193
360.09845861960129120.1969172392025820.901541380398709
370.371148225530660.742296451061320.62885177446934
380.425036067450050.85007213490010.57496393254995
390.4749158707078570.9498317414157140.525084129292143
400.5118380418709060.9763239162581890.488161958129094
410.5782337709247910.8435324581504180.421766229075209
420.5863941795107360.8272116409785280.413605820489264
430.585591967412480.828816065175040.41440803258752
440.5855968890266030.8288062219467940.414403110973397
450.5740280903356140.8519438193287730.425971909664386
460.5534844649656530.8930310700686950.446515535034347
470.5394033119255410.9211933761489180.460596688074459
480.4959371968489730.9918743936979460.504062803151027
490.4601662861711090.9203325723422180.539833713828891
500.4006736290306790.8013472580613590.59932637096932
510.3675362842868190.7350725685736370.632463715713181
520.3559459701228910.7118919402457830.644054029877109
530.2691889362525960.5383778725051920.730811063747404
540.1756177881541560.3512355763083120.824382211845844
550.1002032163240370.2004064326480740.899796783675963







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.490196078431373NOK
5% type I error level300.588235294117647NOK
10% type I error level300.588235294117647NOK

\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 & 25 & 0.490196078431373 & NOK \tabularnewline
5% type I error level & 30 & 0.588235294117647 & NOK \tabularnewline
10% type I error level & 30 & 0.588235294117647 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=30175&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]25[/C][C]0.490196078431373[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]30[/C][C]0.588235294117647[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]30[/C][C]0.588235294117647[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=30175&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=30175&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 level250.490196078431373NOK
5% type I error level300.588235294117647NOK
10% type I error level300.588235294117647NOK



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