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 computationThu, 18 Dec 2008 09:48:04 -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/18/t122961896992716xqe07ohjrs.htm/, Retrieved Sun, 12 May 2024 04:00:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34886, Retrieved Sun, 12 May 2024 04:00:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact148
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [multiple lin regr...] [2008-12-18 16:48:04] [fa8b44cd657c07c6ee11bb2476ca3f8d] [Current]
Feedback Forum

Post a new message
Dataseries X:
93.0	0
99.2	0
112.2	0
112.1	0
103.3	0
108.2	0
90.4	0
72.8	0
111.0	0
117.9	0
111.3	0
110.5	0
94.8	0
100.4	0
132.1	0
114.6	0
101.9	0
130.2	0
84.0	0
86.4	0
122.3	0
120.9	0
110.2	0
112.6	0
102.0	0
105.0	0
130.5	0
115.5	0
103.7	0
130.9	0
89.1	0
93.8	0
123.8	0
111.9	0
118.3	0
116.9	0
103.6	1
116.6	1
141.3	1
107.0	1
125.2	1
136.4	1
91.6	1
95.3	1
132.3	1
130.6	1
131.9	1
118.6	1
114.3	1
111.3	1
126.5	1
112.1	1
119.3	1
142.4	1
101.1	1
97.4	1
129.1	1
136.9	1
129.8	1
123.9	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
INV[t] = + 108.158333333333 + 11.6125INVA[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
INV[t] =  +  108.158333333333 +  11.6125INVA[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]INV[t] =  +  108.158333333333 +  11.6125INVA[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34886&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
INV[t] = + 108.158333333333 + 11.6125INVA[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)108.1583333333332.40737444.927900
INVA11.61253.8063923.05080.0034390.001719

\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) & 108.158333333333 & 2.407374 & 44.9279 & 0 & 0 \tabularnewline
INVA & 11.6125 & 3.806392 & 3.0508 & 0.003439 & 0.001719 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&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]108.158333333333[/C][C]2.407374[/C][C]44.9279[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]INVA[/C][C]11.6125[/C][C]3.806392[/C][C]3.0508[/C][C]0.003439[/C][C]0.001719[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.371861362192992
R-squared0.138280872692028
Adjusted R-squared0.123423646359132
F-TEST (value)9.30731413748835
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.00343868245796719
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation14.4442430265208
Sum Squared Residuals12100.8970833333

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.371861362192992 \tabularnewline
R-squared & 0.138280872692028 \tabularnewline
Adjusted R-squared & 0.123423646359132 \tabularnewline
F-TEST (value) & 9.30731413748835 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.00343868245796719 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 14.4442430265208 \tabularnewline
Sum Squared Residuals & 12100.8970833333 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.371861362192992[/C][/ROW]
[ROW][C]R-squared[/C][C]0.138280872692028[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.123423646359132[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]9.30731413748835[/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.00343868245796719[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]14.4442430265208[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]12100.8970833333[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34886&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.371861362192992
R-squared0.138280872692028
Adjusted R-squared0.123423646359132
F-TEST (value)9.30731413748835
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.00343868245796719
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation14.4442430265208
Sum Squared Residuals12100.8970833333







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
193108.158333333333-15.1583333333335
299.2108.158333333333-8.95833333333333
3112.2108.1583333333334.04166666666667
4112.1108.1583333333333.94166666666667
5103.3108.158333333333-4.85833333333333
6108.2108.1583333333330.0416666666666738
790.4108.158333333333-17.7583333333333
872.8108.158333333333-35.3583333333333
9111108.1583333333332.84166666666667
10117.9108.1583333333339.74166666666668
11111.3108.1583333333333.14166666666667
12110.5108.1583333333332.34166666666667
1394.8108.158333333333-13.3583333333333
14100.4108.158333333333-7.75833333333332
15132.1108.15833333333323.9416666666667
16114.6108.1583333333336.44166666666667
17101.9108.158333333333-6.25833333333332
18130.2108.15833333333322.0416666666667
1984108.158333333333-24.1583333333333
2086.4108.158333333333-21.7583333333333
21122.3108.15833333333314.1416666666667
22120.9108.15833333333312.7416666666667
23110.2108.1583333333332.04166666666667
24112.6108.1583333333334.44166666666666
25102108.158333333333-6.15833333333333
26105108.158333333333-3.15833333333333
27130.5108.15833333333322.3416666666667
28115.5108.1583333333337.34166666666667
29103.7108.158333333333-4.45833333333333
30130.9108.15833333333322.7416666666667
3189.1108.158333333333-19.0583333333333
3293.8108.158333333333-14.3583333333333
33123.8108.15833333333315.6416666666667
34111.9108.1583333333333.74166666666668
35118.3108.15833333333310.1416666666667
36116.9108.1583333333338.74166666666668
37103.6119.770833333333-16.1708333333333
38116.6119.770833333333-3.17083333333334
39141.3119.77083333333321.5291666666667
40107119.770833333333-12.7708333333333
41125.2119.7708333333335.42916666666667
42136.4119.77083333333316.6291666666667
4391.6119.770833333333-28.1708333333333
4495.3119.770833333333-24.4708333333333
45132.3119.77083333333312.5291666666667
46130.6119.77083333333310.8291666666667
47131.9119.77083333333312.1291666666667
48118.6119.770833333333-1.17083333333334
49114.3119.770833333333-5.47083333333334
50111.3119.770833333333-8.47083333333334
51126.5119.7708333333336.72916666666667
52112.1119.770833333333-7.67083333333334
53119.3119.770833333333-0.470833333333337
54142.4119.77083333333322.6291666666667
55101.1119.770833333333-18.6708333333333
5697.4119.770833333333-22.3708333333333
57129.1119.7708333333339.32916666666666
58136.9119.77083333333317.1291666666667
59129.8119.77083333333310.0291666666667
60123.9119.7708333333334.12916666666667

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 93 & 108.158333333333 & -15.1583333333335 \tabularnewline
2 & 99.2 & 108.158333333333 & -8.95833333333333 \tabularnewline
3 & 112.2 & 108.158333333333 & 4.04166666666667 \tabularnewline
4 & 112.1 & 108.158333333333 & 3.94166666666667 \tabularnewline
5 & 103.3 & 108.158333333333 & -4.85833333333333 \tabularnewline
6 & 108.2 & 108.158333333333 & 0.0416666666666738 \tabularnewline
7 & 90.4 & 108.158333333333 & -17.7583333333333 \tabularnewline
8 & 72.8 & 108.158333333333 & -35.3583333333333 \tabularnewline
9 & 111 & 108.158333333333 & 2.84166666666667 \tabularnewline
10 & 117.9 & 108.158333333333 & 9.74166666666668 \tabularnewline
11 & 111.3 & 108.158333333333 & 3.14166666666667 \tabularnewline
12 & 110.5 & 108.158333333333 & 2.34166666666667 \tabularnewline
13 & 94.8 & 108.158333333333 & -13.3583333333333 \tabularnewline
14 & 100.4 & 108.158333333333 & -7.75833333333332 \tabularnewline
15 & 132.1 & 108.158333333333 & 23.9416666666667 \tabularnewline
16 & 114.6 & 108.158333333333 & 6.44166666666667 \tabularnewline
17 & 101.9 & 108.158333333333 & -6.25833333333332 \tabularnewline
18 & 130.2 & 108.158333333333 & 22.0416666666667 \tabularnewline
19 & 84 & 108.158333333333 & -24.1583333333333 \tabularnewline
20 & 86.4 & 108.158333333333 & -21.7583333333333 \tabularnewline
21 & 122.3 & 108.158333333333 & 14.1416666666667 \tabularnewline
22 & 120.9 & 108.158333333333 & 12.7416666666667 \tabularnewline
23 & 110.2 & 108.158333333333 & 2.04166666666667 \tabularnewline
24 & 112.6 & 108.158333333333 & 4.44166666666666 \tabularnewline
25 & 102 & 108.158333333333 & -6.15833333333333 \tabularnewline
26 & 105 & 108.158333333333 & -3.15833333333333 \tabularnewline
27 & 130.5 & 108.158333333333 & 22.3416666666667 \tabularnewline
28 & 115.5 & 108.158333333333 & 7.34166666666667 \tabularnewline
29 & 103.7 & 108.158333333333 & -4.45833333333333 \tabularnewline
30 & 130.9 & 108.158333333333 & 22.7416666666667 \tabularnewline
31 & 89.1 & 108.158333333333 & -19.0583333333333 \tabularnewline
32 & 93.8 & 108.158333333333 & -14.3583333333333 \tabularnewline
33 & 123.8 & 108.158333333333 & 15.6416666666667 \tabularnewline
34 & 111.9 & 108.158333333333 & 3.74166666666668 \tabularnewline
35 & 118.3 & 108.158333333333 & 10.1416666666667 \tabularnewline
36 & 116.9 & 108.158333333333 & 8.74166666666668 \tabularnewline
37 & 103.6 & 119.770833333333 & -16.1708333333333 \tabularnewline
38 & 116.6 & 119.770833333333 & -3.17083333333334 \tabularnewline
39 & 141.3 & 119.770833333333 & 21.5291666666667 \tabularnewline
40 & 107 & 119.770833333333 & -12.7708333333333 \tabularnewline
41 & 125.2 & 119.770833333333 & 5.42916666666667 \tabularnewline
42 & 136.4 & 119.770833333333 & 16.6291666666667 \tabularnewline
43 & 91.6 & 119.770833333333 & -28.1708333333333 \tabularnewline
44 & 95.3 & 119.770833333333 & -24.4708333333333 \tabularnewline
45 & 132.3 & 119.770833333333 & 12.5291666666667 \tabularnewline
46 & 130.6 & 119.770833333333 & 10.8291666666667 \tabularnewline
47 & 131.9 & 119.770833333333 & 12.1291666666667 \tabularnewline
48 & 118.6 & 119.770833333333 & -1.17083333333334 \tabularnewline
49 & 114.3 & 119.770833333333 & -5.47083333333334 \tabularnewline
50 & 111.3 & 119.770833333333 & -8.47083333333334 \tabularnewline
51 & 126.5 & 119.770833333333 & 6.72916666666667 \tabularnewline
52 & 112.1 & 119.770833333333 & -7.67083333333334 \tabularnewline
53 & 119.3 & 119.770833333333 & -0.470833333333337 \tabularnewline
54 & 142.4 & 119.770833333333 & 22.6291666666667 \tabularnewline
55 & 101.1 & 119.770833333333 & -18.6708333333333 \tabularnewline
56 & 97.4 & 119.770833333333 & -22.3708333333333 \tabularnewline
57 & 129.1 & 119.770833333333 & 9.32916666666666 \tabularnewline
58 & 136.9 & 119.770833333333 & 17.1291666666667 \tabularnewline
59 & 129.8 & 119.770833333333 & 10.0291666666667 \tabularnewline
60 & 123.9 & 119.770833333333 & 4.12916666666667 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&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]93[/C][C]108.158333333333[/C][C]-15.1583333333335[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]108.158333333333[/C][C]-8.95833333333333[/C][/ROW]
[ROW][C]3[/C][C]112.2[/C][C]108.158333333333[/C][C]4.04166666666667[/C][/ROW]
[ROW][C]4[/C][C]112.1[/C][C]108.158333333333[/C][C]3.94166666666667[/C][/ROW]
[ROW][C]5[/C][C]103.3[/C][C]108.158333333333[/C][C]-4.85833333333333[/C][/ROW]
[ROW][C]6[/C][C]108.2[/C][C]108.158333333333[/C][C]0.0416666666666738[/C][/ROW]
[ROW][C]7[/C][C]90.4[/C][C]108.158333333333[/C][C]-17.7583333333333[/C][/ROW]
[ROW][C]8[/C][C]72.8[/C][C]108.158333333333[/C][C]-35.3583333333333[/C][/ROW]
[ROW][C]9[/C][C]111[/C][C]108.158333333333[/C][C]2.84166666666667[/C][/ROW]
[ROW][C]10[/C][C]117.9[/C][C]108.158333333333[/C][C]9.74166666666668[/C][/ROW]
[ROW][C]11[/C][C]111.3[/C][C]108.158333333333[/C][C]3.14166666666667[/C][/ROW]
[ROW][C]12[/C][C]110.5[/C][C]108.158333333333[/C][C]2.34166666666667[/C][/ROW]
[ROW][C]13[/C][C]94.8[/C][C]108.158333333333[/C][C]-13.3583333333333[/C][/ROW]
[ROW][C]14[/C][C]100.4[/C][C]108.158333333333[/C][C]-7.75833333333332[/C][/ROW]
[ROW][C]15[/C][C]132.1[/C][C]108.158333333333[/C][C]23.9416666666667[/C][/ROW]
[ROW][C]16[/C][C]114.6[/C][C]108.158333333333[/C][C]6.44166666666667[/C][/ROW]
[ROW][C]17[/C][C]101.9[/C][C]108.158333333333[/C][C]-6.25833333333332[/C][/ROW]
[ROW][C]18[/C][C]130.2[/C][C]108.158333333333[/C][C]22.0416666666667[/C][/ROW]
[ROW][C]19[/C][C]84[/C][C]108.158333333333[/C][C]-24.1583333333333[/C][/ROW]
[ROW][C]20[/C][C]86.4[/C][C]108.158333333333[/C][C]-21.7583333333333[/C][/ROW]
[ROW][C]21[/C][C]122.3[/C][C]108.158333333333[/C][C]14.1416666666667[/C][/ROW]
[ROW][C]22[/C][C]120.9[/C][C]108.158333333333[/C][C]12.7416666666667[/C][/ROW]
[ROW][C]23[/C][C]110.2[/C][C]108.158333333333[/C][C]2.04166666666667[/C][/ROW]
[ROW][C]24[/C][C]112.6[/C][C]108.158333333333[/C][C]4.44166666666666[/C][/ROW]
[ROW][C]25[/C][C]102[/C][C]108.158333333333[/C][C]-6.15833333333333[/C][/ROW]
[ROW][C]26[/C][C]105[/C][C]108.158333333333[/C][C]-3.15833333333333[/C][/ROW]
[ROW][C]27[/C][C]130.5[/C][C]108.158333333333[/C][C]22.3416666666667[/C][/ROW]
[ROW][C]28[/C][C]115.5[/C][C]108.158333333333[/C][C]7.34166666666667[/C][/ROW]
[ROW][C]29[/C][C]103.7[/C][C]108.158333333333[/C][C]-4.45833333333333[/C][/ROW]
[ROW][C]30[/C][C]130.9[/C][C]108.158333333333[/C][C]22.7416666666667[/C][/ROW]
[ROW][C]31[/C][C]89.1[/C][C]108.158333333333[/C][C]-19.0583333333333[/C][/ROW]
[ROW][C]32[/C][C]93.8[/C][C]108.158333333333[/C][C]-14.3583333333333[/C][/ROW]
[ROW][C]33[/C][C]123.8[/C][C]108.158333333333[/C][C]15.6416666666667[/C][/ROW]
[ROW][C]34[/C][C]111.9[/C][C]108.158333333333[/C][C]3.74166666666668[/C][/ROW]
[ROW][C]35[/C][C]118.3[/C][C]108.158333333333[/C][C]10.1416666666667[/C][/ROW]
[ROW][C]36[/C][C]116.9[/C][C]108.158333333333[/C][C]8.74166666666668[/C][/ROW]
[ROW][C]37[/C][C]103.6[/C][C]119.770833333333[/C][C]-16.1708333333333[/C][/ROW]
[ROW][C]38[/C][C]116.6[/C][C]119.770833333333[/C][C]-3.17083333333334[/C][/ROW]
[ROW][C]39[/C][C]141.3[/C][C]119.770833333333[/C][C]21.5291666666667[/C][/ROW]
[ROW][C]40[/C][C]107[/C][C]119.770833333333[/C][C]-12.7708333333333[/C][/ROW]
[ROW][C]41[/C][C]125.2[/C][C]119.770833333333[/C][C]5.42916666666667[/C][/ROW]
[ROW][C]42[/C][C]136.4[/C][C]119.770833333333[/C][C]16.6291666666667[/C][/ROW]
[ROW][C]43[/C][C]91.6[/C][C]119.770833333333[/C][C]-28.1708333333333[/C][/ROW]
[ROW][C]44[/C][C]95.3[/C][C]119.770833333333[/C][C]-24.4708333333333[/C][/ROW]
[ROW][C]45[/C][C]132.3[/C][C]119.770833333333[/C][C]12.5291666666667[/C][/ROW]
[ROW][C]46[/C][C]130.6[/C][C]119.770833333333[/C][C]10.8291666666667[/C][/ROW]
[ROW][C]47[/C][C]131.9[/C][C]119.770833333333[/C][C]12.1291666666667[/C][/ROW]
[ROW][C]48[/C][C]118.6[/C][C]119.770833333333[/C][C]-1.17083333333334[/C][/ROW]
[ROW][C]49[/C][C]114.3[/C][C]119.770833333333[/C][C]-5.47083333333334[/C][/ROW]
[ROW][C]50[/C][C]111.3[/C][C]119.770833333333[/C][C]-8.47083333333334[/C][/ROW]
[ROW][C]51[/C][C]126.5[/C][C]119.770833333333[/C][C]6.72916666666667[/C][/ROW]
[ROW][C]52[/C][C]112.1[/C][C]119.770833333333[/C][C]-7.67083333333334[/C][/ROW]
[ROW][C]53[/C][C]119.3[/C][C]119.770833333333[/C][C]-0.470833333333337[/C][/ROW]
[ROW][C]54[/C][C]142.4[/C][C]119.770833333333[/C][C]22.6291666666667[/C][/ROW]
[ROW][C]55[/C][C]101.1[/C][C]119.770833333333[/C][C]-18.6708333333333[/C][/ROW]
[ROW][C]56[/C][C]97.4[/C][C]119.770833333333[/C][C]-22.3708333333333[/C][/ROW]
[ROW][C]57[/C][C]129.1[/C][C]119.770833333333[/C][C]9.32916666666666[/C][/ROW]
[ROW][C]58[/C][C]136.9[/C][C]119.770833333333[/C][C]17.1291666666667[/C][/ROW]
[ROW][C]59[/C][C]129.8[/C][C]119.770833333333[/C][C]10.0291666666667[/C][/ROW]
[ROW][C]60[/C][C]123.9[/C][C]119.770833333333[/C][C]4.12916666666667[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34886&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
193108.158333333333-15.1583333333335
299.2108.158333333333-8.95833333333333
3112.2108.1583333333334.04166666666667
4112.1108.1583333333333.94166666666667
5103.3108.158333333333-4.85833333333333
6108.2108.1583333333330.0416666666666738
790.4108.158333333333-17.7583333333333
872.8108.158333333333-35.3583333333333
9111108.1583333333332.84166666666667
10117.9108.1583333333339.74166666666668
11111.3108.1583333333333.14166666666667
12110.5108.1583333333332.34166666666667
1394.8108.158333333333-13.3583333333333
14100.4108.158333333333-7.75833333333332
15132.1108.15833333333323.9416666666667
16114.6108.1583333333336.44166666666667
17101.9108.158333333333-6.25833333333332
18130.2108.15833333333322.0416666666667
1984108.158333333333-24.1583333333333
2086.4108.158333333333-21.7583333333333
21122.3108.15833333333314.1416666666667
22120.9108.15833333333312.7416666666667
23110.2108.1583333333332.04166666666667
24112.6108.1583333333334.44166666666666
25102108.158333333333-6.15833333333333
26105108.158333333333-3.15833333333333
27130.5108.15833333333322.3416666666667
28115.5108.1583333333337.34166666666667
29103.7108.158333333333-4.45833333333333
30130.9108.15833333333322.7416666666667
3189.1108.158333333333-19.0583333333333
3293.8108.158333333333-14.3583333333333
33123.8108.15833333333315.6416666666667
34111.9108.1583333333333.74166666666668
35118.3108.15833333333310.1416666666667
36116.9108.1583333333338.74166666666668
37103.6119.770833333333-16.1708333333333
38116.6119.770833333333-3.17083333333334
39141.3119.77083333333321.5291666666667
40107119.770833333333-12.7708333333333
41125.2119.7708333333335.42916666666667
42136.4119.77083333333316.6291666666667
4391.6119.770833333333-28.1708333333333
4495.3119.770833333333-24.4708333333333
45132.3119.77083333333312.5291666666667
46130.6119.77083333333310.8291666666667
47131.9119.77083333333312.1291666666667
48118.6119.770833333333-1.17083333333334
49114.3119.770833333333-5.47083333333334
50111.3119.770833333333-8.47083333333334
51126.5119.7708333333336.72916666666667
52112.1119.770833333333-7.67083333333334
53119.3119.770833333333-0.470833333333337
54142.4119.77083333333322.6291666666667
55101.1119.770833333333-18.6708333333333
5697.4119.770833333333-22.3708333333333
57129.1119.7708333333339.32916666666666
58136.9119.77083333333317.1291666666667
59129.8119.77083333333310.0291666666667
60123.9119.7708333333334.12916666666667







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.2592408034548090.5184816069096180.740759196545191
60.1395563340454090.2791126680908180.860443665954591
70.1665344833394870.3330689666789740.833465516660513
80.5893391995451730.8213216009096540.410660800454827
90.5332695693275970.9334608613448070.466730430672403
100.5526328513878570.8947342972242850.447367148612143
110.477804028315640.955608056631280.52219597168436
120.3968548621934880.7937097243869770.603145137806511
130.3481275997179590.6962551994359180.651872400282041
140.2721157812437620.5442315624875240.727884218756238
150.5061633319103960.9876733361792080.493836668089604
160.447671759518170.895343519036340.55232824048183
170.3720325497302050.744065099460410.627967450269795
180.5036747615435090.9926504769129830.496325238456492
190.6264493610160730.7471012779678550.373550638983928
200.7059286899937860.5881426200124270.294071310006214
210.7089361394270340.5821277211459320.291063860572966
220.6944404772715030.6111190454569940.305559522728497
230.6258243368715880.7483513262568230.374175663128411
240.5580849692954960.8838300614090090.441915030704504
250.4993740830710380.9987481661420760.500625916928962
260.4319396330948530.8638792661897070.568060366905147
270.5205240574998790.9589518850002430.479475942500121
280.4598242020122060.9196484040244130.540175797987794
290.3965344903602280.7930689807204570.603465509639772
300.4862182794607530.9724365589215050.513781720539247
310.5526721691426310.8946556617147390.447327830857369
320.5929339091973440.8141321816053120.407066090802656
330.5692681682005380.8614636635989230.430731831799462
340.4996887258267110.9993774516534210.500311274173289
350.4392837121114180.8785674242228350.560716287888583
360.3748701369902880.7497402739805750.625129863009712
370.3543247484244430.7086494968488860.645675251575557
380.297110578797020.594221157594040.70288942120298
390.3957123858763870.7914247717527730.604287614123613
400.3722964344790840.7445928689581670.627703565520916
410.3084435107959280.6168870215918550.691556489204072
420.3233014205213680.6466028410427370.676698579478632
430.5351689288293790.9296621423412420.464831071170621
440.7034386140847120.5931227718305770.296561385915288
450.6780150813714550.6439698372570890.321984918628545
460.633846380987330.732307238025340.36615361901267
470.6006098485357960.7987803029284090.399390151464204
480.5022786265854320.9954427468291360.497721373414568
490.4162590457528450.8325180915056890.583740954247155
500.3545950235347530.7091900470695060.645404976465247
510.2678389049157560.5356778098315110.732161095084245
520.2079349808771580.4158699617543160.792065019122842
530.1322862264982210.2645724529964420.867713773501779
540.1810446839198380.3620893678396760.818955316080162
550.2290846143402050.458169228680410.770915385659795

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.259240803454809 & 0.518481606909618 & 0.740759196545191 \tabularnewline
6 & 0.139556334045409 & 0.279112668090818 & 0.860443665954591 \tabularnewline
7 & 0.166534483339487 & 0.333068966678974 & 0.833465516660513 \tabularnewline
8 & 0.589339199545173 & 0.821321600909654 & 0.410660800454827 \tabularnewline
9 & 0.533269569327597 & 0.933460861344807 & 0.466730430672403 \tabularnewline
10 & 0.552632851387857 & 0.894734297224285 & 0.447367148612143 \tabularnewline
11 & 0.47780402831564 & 0.95560805663128 & 0.52219597168436 \tabularnewline
12 & 0.396854862193488 & 0.793709724386977 & 0.603145137806511 \tabularnewline
13 & 0.348127599717959 & 0.696255199435918 & 0.651872400282041 \tabularnewline
14 & 0.272115781243762 & 0.544231562487524 & 0.727884218756238 \tabularnewline
15 & 0.506163331910396 & 0.987673336179208 & 0.493836668089604 \tabularnewline
16 & 0.44767175951817 & 0.89534351903634 & 0.55232824048183 \tabularnewline
17 & 0.372032549730205 & 0.74406509946041 & 0.627967450269795 \tabularnewline
18 & 0.503674761543509 & 0.992650476912983 & 0.496325238456492 \tabularnewline
19 & 0.626449361016073 & 0.747101277967855 & 0.373550638983928 \tabularnewline
20 & 0.705928689993786 & 0.588142620012427 & 0.294071310006214 \tabularnewline
21 & 0.708936139427034 & 0.582127721145932 & 0.291063860572966 \tabularnewline
22 & 0.694440477271503 & 0.611119045456994 & 0.305559522728497 \tabularnewline
23 & 0.625824336871588 & 0.748351326256823 & 0.374175663128411 \tabularnewline
24 & 0.558084969295496 & 0.883830061409009 & 0.441915030704504 \tabularnewline
25 & 0.499374083071038 & 0.998748166142076 & 0.500625916928962 \tabularnewline
26 & 0.431939633094853 & 0.863879266189707 & 0.568060366905147 \tabularnewline
27 & 0.520524057499879 & 0.958951885000243 & 0.479475942500121 \tabularnewline
28 & 0.459824202012206 & 0.919648404024413 & 0.540175797987794 \tabularnewline
29 & 0.396534490360228 & 0.793068980720457 & 0.603465509639772 \tabularnewline
30 & 0.486218279460753 & 0.972436558921505 & 0.513781720539247 \tabularnewline
31 & 0.552672169142631 & 0.894655661714739 & 0.447327830857369 \tabularnewline
32 & 0.592933909197344 & 0.814132181605312 & 0.407066090802656 \tabularnewline
33 & 0.569268168200538 & 0.861463663598923 & 0.430731831799462 \tabularnewline
34 & 0.499688725826711 & 0.999377451653421 & 0.500311274173289 \tabularnewline
35 & 0.439283712111418 & 0.878567424222835 & 0.560716287888583 \tabularnewline
36 & 0.374870136990288 & 0.749740273980575 & 0.625129863009712 \tabularnewline
37 & 0.354324748424443 & 0.708649496848886 & 0.645675251575557 \tabularnewline
38 & 0.29711057879702 & 0.59422115759404 & 0.70288942120298 \tabularnewline
39 & 0.395712385876387 & 0.791424771752773 & 0.604287614123613 \tabularnewline
40 & 0.372296434479084 & 0.744592868958167 & 0.627703565520916 \tabularnewline
41 & 0.308443510795928 & 0.616887021591855 & 0.691556489204072 \tabularnewline
42 & 0.323301420521368 & 0.646602841042737 & 0.676698579478632 \tabularnewline
43 & 0.535168928829379 & 0.929662142341242 & 0.464831071170621 \tabularnewline
44 & 0.703438614084712 & 0.593122771830577 & 0.296561385915288 \tabularnewline
45 & 0.678015081371455 & 0.643969837257089 & 0.321984918628545 \tabularnewline
46 & 0.63384638098733 & 0.73230723802534 & 0.36615361901267 \tabularnewline
47 & 0.600609848535796 & 0.798780302928409 & 0.399390151464204 \tabularnewline
48 & 0.502278626585432 & 0.995442746829136 & 0.497721373414568 \tabularnewline
49 & 0.416259045752845 & 0.832518091505689 & 0.583740954247155 \tabularnewline
50 & 0.354595023534753 & 0.709190047069506 & 0.645404976465247 \tabularnewline
51 & 0.267838904915756 & 0.535677809831511 & 0.732161095084245 \tabularnewline
52 & 0.207934980877158 & 0.415869961754316 & 0.792065019122842 \tabularnewline
53 & 0.132286226498221 & 0.264572452996442 & 0.867713773501779 \tabularnewline
54 & 0.181044683919838 & 0.362089367839676 & 0.818955316080162 \tabularnewline
55 & 0.229084614340205 & 0.45816922868041 & 0.770915385659795 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&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.259240803454809[/C][C]0.518481606909618[/C][C]0.740759196545191[/C][/ROW]
[ROW][C]6[/C][C]0.139556334045409[/C][C]0.279112668090818[/C][C]0.860443665954591[/C][/ROW]
[ROW][C]7[/C][C]0.166534483339487[/C][C]0.333068966678974[/C][C]0.833465516660513[/C][/ROW]
[ROW][C]8[/C][C]0.589339199545173[/C][C]0.821321600909654[/C][C]0.410660800454827[/C][/ROW]
[ROW][C]9[/C][C]0.533269569327597[/C][C]0.933460861344807[/C][C]0.466730430672403[/C][/ROW]
[ROW][C]10[/C][C]0.552632851387857[/C][C]0.894734297224285[/C][C]0.447367148612143[/C][/ROW]
[ROW][C]11[/C][C]0.47780402831564[/C][C]0.95560805663128[/C][C]0.52219597168436[/C][/ROW]
[ROW][C]12[/C][C]0.396854862193488[/C][C]0.793709724386977[/C][C]0.603145137806511[/C][/ROW]
[ROW][C]13[/C][C]0.348127599717959[/C][C]0.696255199435918[/C][C]0.651872400282041[/C][/ROW]
[ROW][C]14[/C][C]0.272115781243762[/C][C]0.544231562487524[/C][C]0.727884218756238[/C][/ROW]
[ROW][C]15[/C][C]0.506163331910396[/C][C]0.987673336179208[/C][C]0.493836668089604[/C][/ROW]
[ROW][C]16[/C][C]0.44767175951817[/C][C]0.89534351903634[/C][C]0.55232824048183[/C][/ROW]
[ROW][C]17[/C][C]0.372032549730205[/C][C]0.74406509946041[/C][C]0.627967450269795[/C][/ROW]
[ROW][C]18[/C][C]0.503674761543509[/C][C]0.992650476912983[/C][C]0.496325238456492[/C][/ROW]
[ROW][C]19[/C][C]0.626449361016073[/C][C]0.747101277967855[/C][C]0.373550638983928[/C][/ROW]
[ROW][C]20[/C][C]0.705928689993786[/C][C]0.588142620012427[/C][C]0.294071310006214[/C][/ROW]
[ROW][C]21[/C][C]0.708936139427034[/C][C]0.582127721145932[/C][C]0.291063860572966[/C][/ROW]
[ROW][C]22[/C][C]0.694440477271503[/C][C]0.611119045456994[/C][C]0.305559522728497[/C][/ROW]
[ROW][C]23[/C][C]0.625824336871588[/C][C]0.748351326256823[/C][C]0.374175663128411[/C][/ROW]
[ROW][C]24[/C][C]0.558084969295496[/C][C]0.883830061409009[/C][C]0.441915030704504[/C][/ROW]
[ROW][C]25[/C][C]0.499374083071038[/C][C]0.998748166142076[/C][C]0.500625916928962[/C][/ROW]
[ROW][C]26[/C][C]0.431939633094853[/C][C]0.863879266189707[/C][C]0.568060366905147[/C][/ROW]
[ROW][C]27[/C][C]0.520524057499879[/C][C]0.958951885000243[/C][C]0.479475942500121[/C][/ROW]
[ROW][C]28[/C][C]0.459824202012206[/C][C]0.919648404024413[/C][C]0.540175797987794[/C][/ROW]
[ROW][C]29[/C][C]0.396534490360228[/C][C]0.793068980720457[/C][C]0.603465509639772[/C][/ROW]
[ROW][C]30[/C][C]0.486218279460753[/C][C]0.972436558921505[/C][C]0.513781720539247[/C][/ROW]
[ROW][C]31[/C][C]0.552672169142631[/C][C]0.894655661714739[/C][C]0.447327830857369[/C][/ROW]
[ROW][C]32[/C][C]0.592933909197344[/C][C]0.814132181605312[/C][C]0.407066090802656[/C][/ROW]
[ROW][C]33[/C][C]0.569268168200538[/C][C]0.861463663598923[/C][C]0.430731831799462[/C][/ROW]
[ROW][C]34[/C][C]0.499688725826711[/C][C]0.999377451653421[/C][C]0.500311274173289[/C][/ROW]
[ROW][C]35[/C][C]0.439283712111418[/C][C]0.878567424222835[/C][C]0.560716287888583[/C][/ROW]
[ROW][C]36[/C][C]0.374870136990288[/C][C]0.749740273980575[/C][C]0.625129863009712[/C][/ROW]
[ROW][C]37[/C][C]0.354324748424443[/C][C]0.708649496848886[/C][C]0.645675251575557[/C][/ROW]
[ROW][C]38[/C][C]0.29711057879702[/C][C]0.59422115759404[/C][C]0.70288942120298[/C][/ROW]
[ROW][C]39[/C][C]0.395712385876387[/C][C]0.791424771752773[/C][C]0.604287614123613[/C][/ROW]
[ROW][C]40[/C][C]0.372296434479084[/C][C]0.744592868958167[/C][C]0.627703565520916[/C][/ROW]
[ROW][C]41[/C][C]0.308443510795928[/C][C]0.616887021591855[/C][C]0.691556489204072[/C][/ROW]
[ROW][C]42[/C][C]0.323301420521368[/C][C]0.646602841042737[/C][C]0.676698579478632[/C][/ROW]
[ROW][C]43[/C][C]0.535168928829379[/C][C]0.929662142341242[/C][C]0.464831071170621[/C][/ROW]
[ROW][C]44[/C][C]0.703438614084712[/C][C]0.593122771830577[/C][C]0.296561385915288[/C][/ROW]
[ROW][C]45[/C][C]0.678015081371455[/C][C]0.643969837257089[/C][C]0.321984918628545[/C][/ROW]
[ROW][C]46[/C][C]0.63384638098733[/C][C]0.73230723802534[/C][C]0.36615361901267[/C][/ROW]
[ROW][C]47[/C][C]0.600609848535796[/C][C]0.798780302928409[/C][C]0.399390151464204[/C][/ROW]
[ROW][C]48[/C][C]0.502278626585432[/C][C]0.995442746829136[/C][C]0.497721373414568[/C][/ROW]
[ROW][C]49[/C][C]0.416259045752845[/C][C]0.832518091505689[/C][C]0.583740954247155[/C][/ROW]
[ROW][C]50[/C][C]0.354595023534753[/C][C]0.709190047069506[/C][C]0.645404976465247[/C][/ROW]
[ROW][C]51[/C][C]0.267838904915756[/C][C]0.535677809831511[/C][C]0.732161095084245[/C][/ROW]
[ROW][C]52[/C][C]0.207934980877158[/C][C]0.415869961754316[/C][C]0.792065019122842[/C][/ROW]
[ROW][C]53[/C][C]0.132286226498221[/C][C]0.264572452996442[/C][C]0.867713773501779[/C][/ROW]
[ROW][C]54[/C][C]0.181044683919838[/C][C]0.362089367839676[/C][C]0.818955316080162[/C][/ROW]
[ROW][C]55[/C][C]0.229084614340205[/C][C]0.45816922868041[/C][C]0.770915385659795[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34886&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.2592408034548090.5184816069096180.740759196545191
60.1395563340454090.2791126680908180.860443665954591
70.1665344833394870.3330689666789740.833465516660513
80.5893391995451730.8213216009096540.410660800454827
90.5332695693275970.9334608613448070.466730430672403
100.5526328513878570.8947342972242850.447367148612143
110.477804028315640.955608056631280.52219597168436
120.3968548621934880.7937097243869770.603145137806511
130.3481275997179590.6962551994359180.651872400282041
140.2721157812437620.5442315624875240.727884218756238
150.5061633319103960.9876733361792080.493836668089604
160.447671759518170.895343519036340.55232824048183
170.3720325497302050.744065099460410.627967450269795
180.5036747615435090.9926504769129830.496325238456492
190.6264493610160730.7471012779678550.373550638983928
200.7059286899937860.5881426200124270.294071310006214
210.7089361394270340.5821277211459320.291063860572966
220.6944404772715030.6111190454569940.305559522728497
230.6258243368715880.7483513262568230.374175663128411
240.5580849692954960.8838300614090090.441915030704504
250.4993740830710380.9987481661420760.500625916928962
260.4319396330948530.8638792661897070.568060366905147
270.5205240574998790.9589518850002430.479475942500121
280.4598242020122060.9196484040244130.540175797987794
290.3965344903602280.7930689807204570.603465509639772
300.4862182794607530.9724365589215050.513781720539247
310.5526721691426310.8946556617147390.447327830857369
320.5929339091973440.8141321816053120.407066090802656
330.5692681682005380.8614636635989230.430731831799462
340.4996887258267110.9993774516534210.500311274173289
350.4392837121114180.8785674242228350.560716287888583
360.3748701369902880.7497402739805750.625129863009712
370.3543247484244430.7086494968488860.645675251575557
380.297110578797020.594221157594040.70288942120298
390.3957123858763870.7914247717527730.604287614123613
400.3722964344790840.7445928689581670.627703565520916
410.3084435107959280.6168870215918550.691556489204072
420.3233014205213680.6466028410427370.676698579478632
430.5351689288293790.9296621423412420.464831071170621
440.7034386140847120.5931227718305770.296561385915288
450.6780150813714550.6439698372570890.321984918628545
460.633846380987330.732307238025340.36615361901267
470.6006098485357960.7987803029284090.399390151464204
480.5022786265854320.9954427468291360.497721373414568
490.4162590457528450.8325180915056890.583740954247155
500.3545950235347530.7091900470695060.645404976465247
510.2678389049157560.5356778098315110.732161095084245
520.2079349808771580.4158699617543160.792065019122842
530.1322862264982210.2645724529964420.867713773501779
540.1810446839198380.3620893678396760.818955316080162
550.2290846143402050.458169228680410.770915385659795







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34886&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34886&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}