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:55:59 -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/t1229619412ks0qz7ghz47kxtq.htm/, Retrieved Sat, 11 May 2024 13:41:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34889, Retrieved Sat, 11 May 2024 13:41:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact157
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [mul lin regr inv] [2008-12-18 16:55:59] [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 time4 seconds
R Server'George Udny Yule' @ 72.249.76.132

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
INV[t] = + 111.855 + 11.6125INVA[t] -14.9599999999999M1[t] -10M2[t] + 12.0200000000000M3[t] -4.23999999999999M4[t] -5.82M5[t] + 13.1200000000000M6[t] -25.26M7[t] -27.36M8[t] + 7.2M9[t] + 7.14000000000001M10[t] + 3.80000000000000M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
INV[t] =  +  111.855 +  11.6125INVA[t] -14.9599999999999M1[t] -10M2[t] +  12.0200000000000M3[t] -4.23999999999999M4[t] -5.82M5[t] +  13.1200000000000M6[t] -25.26M7[t] -27.36M8[t] +  7.2M9[t] +  7.14000000000001M10[t] +  3.80000000000000M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]INV[t] =  +  111.855 +  11.6125INVA[t] -14.9599999999999M1[t] -10M2[t] +  12.0200000000000M3[t] -4.23999999999999M4[t] -5.82M5[t] +  13.1200000000000M6[t] -25.26M7[t] -27.36M8[t] +  7.2M9[t] +  7.14000000000001M10[t] +  3.80000000000000M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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] = + 111.855 + 11.6125INVA[t] -14.9599999999999M1[t] -10M2[t] + 12.0200000000000M3[t] -4.23999999999999M4[t] -5.82M5[t] + 13.1200000000000M6[t] -25.26M7[t] -27.36M8[t] + 7.2M9[t] + 7.14000000000001M10[t] + 3.80000000000000M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)111.8552.95194137.89200
INVA11.61251.6930546.858900
M1-14.95999999999994.06333-3.68170.0005970.000298
M2-104.06333-2.4610.0175820.008791
M312.02000000000004.063332.95820.0048320.002416
M4-4.239999999999994.06333-1.04350.3020640.151032
M5-5.824.06333-1.43230.1586690.079335
M613.12000000000004.063333.22890.0022690.001134
M7-25.264.06333-6.216600
M8-27.364.06333-6.733400
M97.24.063331.77190.0828860.041443
M107.140000000000014.063331.75720.08540.0427
M113.800000000000004.063330.93520.3544690.177234

\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) & 111.855 & 2.951941 & 37.892 & 0 & 0 \tabularnewline
INVA & 11.6125 & 1.693054 & 6.8589 & 0 & 0 \tabularnewline
M1 & -14.9599999999999 & 4.06333 & -3.6817 & 0.000597 & 0.000298 \tabularnewline
M2 & -10 & 4.06333 & -2.461 & 0.017582 & 0.008791 \tabularnewline
M3 & 12.0200000000000 & 4.06333 & 2.9582 & 0.004832 & 0.002416 \tabularnewline
M4 & -4.23999999999999 & 4.06333 & -1.0435 & 0.302064 & 0.151032 \tabularnewline
M5 & -5.82 & 4.06333 & -1.4323 & 0.158669 & 0.079335 \tabularnewline
M6 & 13.1200000000000 & 4.06333 & 3.2289 & 0.002269 & 0.001134 \tabularnewline
M7 & -25.26 & 4.06333 & -6.2166 & 0 & 0 \tabularnewline
M8 & -27.36 & 4.06333 & -6.7334 & 0 & 0 \tabularnewline
M9 & 7.2 & 4.06333 & 1.7719 & 0.082886 & 0.041443 \tabularnewline
M10 & 7.14000000000001 & 4.06333 & 1.7572 & 0.0854 & 0.0427 \tabularnewline
M11 & 3.80000000000000 & 4.06333 & 0.9352 & 0.354469 & 0.177234 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&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]111.855[/C][C]2.951941[/C][C]37.892[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]INVA[/C][C]11.6125[/C][C]1.693054[/C][C]6.8589[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-14.9599999999999[/C][C]4.06333[/C][C]-3.6817[/C][C]0.000597[/C][C]0.000298[/C][/ROW]
[ROW][C]M2[/C][C]-10[/C][C]4.06333[/C][C]-2.461[/C][C]0.017582[/C][C]0.008791[/C][/ROW]
[ROW][C]M3[/C][C]12.0200000000000[/C][C]4.06333[/C][C]2.9582[/C][C]0.004832[/C][C]0.002416[/C][/ROW]
[ROW][C]M4[/C][C]-4.23999999999999[/C][C]4.06333[/C][C]-1.0435[/C][C]0.302064[/C][C]0.151032[/C][/ROW]
[ROW][C]M5[/C][C]-5.82[/C][C]4.06333[/C][C]-1.4323[/C][C]0.158669[/C][C]0.079335[/C][/ROW]
[ROW][C]M6[/C][C]13.1200000000000[/C][C]4.06333[/C][C]3.2289[/C][C]0.002269[/C][C]0.001134[/C][/ROW]
[ROW][C]M7[/C][C]-25.26[/C][C]4.06333[/C][C]-6.2166[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-27.36[/C][C]4.06333[/C][C]-6.7334[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]7.2[/C][C]4.06333[/C][C]1.7719[/C][C]0.082886[/C][C]0.041443[/C][/ROW]
[ROW][C]M10[/C][C]7.14000000000001[/C][C]4.06333[/C][C]1.7572[/C][C]0.0854[/C][C]0.0427[/C][/ROW]
[ROW][C]M11[/C][C]3.80000000000000[/C][C]4.06333[/C][C]0.9352[/C][C]0.354469[/C][C]0.177234[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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)111.8552.95194137.89200
INVA11.61251.6930546.858900
M1-14.95999999999994.06333-3.68170.0005970.000298
M2-104.06333-2.4610.0175820.008791
M312.02000000000004.063332.95820.0048320.002416
M4-4.239999999999994.06333-1.04350.3020640.151032
M5-5.824.06333-1.43230.1586690.079335
M613.12000000000004.063333.22890.0022690.001134
M7-25.264.06333-6.216600
M8-27.364.06333-6.733400
M97.24.063331.77190.0828860.041443
M107.140000000000014.063331.75720.08540.0427
M113.800000000000004.063330.93520.3544690.177234







Multiple Linear Regression - Regression Statistics
Multiple R0.928358869984951
R-squared0.861850191479734
Adjusted R-squared0.826577899942645
F-TEST (value)24.4341990248491
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value3.33066907387547e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.42468932935464
Sum Squared Residuals1940.00175

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.928358869984951 \tabularnewline
R-squared & 0.861850191479734 \tabularnewline
Adjusted R-squared & 0.826577899942645 \tabularnewline
F-TEST (value) & 24.4341990248491 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 3.33066907387547e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.42468932935464 \tabularnewline
Sum Squared Residuals & 1940.00175 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.928358869984951[/C][/ROW]
[ROW][C]R-squared[/C][C]0.861850191479734[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.826577899942645[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]24.4341990248491[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]3.33066907387547e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]6.42468932935464[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1940.00175[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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.928358869984951
R-squared0.861850191479734
Adjusted R-squared0.826577899942645
F-TEST (value)24.4341990248491
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value3.33066907387547e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.42468932935464
Sum Squared Residuals1940.00175







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19396.8949999999997-3.89499999999972
299.2101.855-2.65500000000003
3112.2123.875-11.6750000000000
4112.1107.6154.48500000000002
5103.3106.035-2.73500000000003
6108.2124.975-16.775
790.486.5953.805
872.884.495-11.6950000000001
9111119.055-8.05500000000002
10117.9118.995-1.09499999999997
11111.3115.655-4.35500000000001
12110.5111.855-1.35500000000000
1394.896.895-2.09500000000008
14100.4101.855-1.45499999999999
15132.1123.8758.225
16114.6107.6156.98499999999999
17101.9106.035-4.13499999999999
18130.2124.9755.225
198486.595-2.59500000000000
2086.484.4951.90500000000001
21122.3119.0553.245
22120.9118.9951.90499999999999
23110.2115.655-5.455
24112.6111.8550.744999999999993
2510296.8955.10499999999992
26105101.8553.145
27130.5123.8756.625
28115.5107.6157.885
29103.7106.035-2.33500000000000
30130.9124.9755.92500000000001
3189.186.5952.50499999999999
3293.884.4959.305
33123.8119.0554.745
34111.9118.995-7.09500000000001
35118.3115.6552.64499999999999
36116.9111.8555.045
37103.6108.5075-4.90750000000007
38116.6113.46753.1325
39141.3135.48755.81250000000002
40107119.2275-12.2275
41125.2117.64757.55250000000001
42136.4136.5875-0.187499999999984
4391.698.2075-6.6075
4495.396.1075-0.80749999999999
45132.3130.66751.63250000000002
46130.6130.6075-0.00750000000001372
47131.9127.26754.63250000000001
48118.6123.4675-4.8675
49114.3108.50755.79249999999993
50111.3113.4675-2.16750000000000
51126.5135.4875-8.9875
52112.1119.2275-7.1275
53119.3117.64751.65250000000001
54142.4136.58755.81250000000002
55101.198.20752.8925
5697.496.10751.29250000000002
57129.1130.6675-1.5675
58136.9130.60756.2925
59129.8127.26752.53250000000001
60123.9123.46750.432500000000012

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 93 & 96.8949999999997 & -3.89499999999972 \tabularnewline
2 & 99.2 & 101.855 & -2.65500000000003 \tabularnewline
3 & 112.2 & 123.875 & -11.6750000000000 \tabularnewline
4 & 112.1 & 107.615 & 4.48500000000002 \tabularnewline
5 & 103.3 & 106.035 & -2.73500000000003 \tabularnewline
6 & 108.2 & 124.975 & -16.775 \tabularnewline
7 & 90.4 & 86.595 & 3.805 \tabularnewline
8 & 72.8 & 84.495 & -11.6950000000001 \tabularnewline
9 & 111 & 119.055 & -8.05500000000002 \tabularnewline
10 & 117.9 & 118.995 & -1.09499999999997 \tabularnewline
11 & 111.3 & 115.655 & -4.35500000000001 \tabularnewline
12 & 110.5 & 111.855 & -1.35500000000000 \tabularnewline
13 & 94.8 & 96.895 & -2.09500000000008 \tabularnewline
14 & 100.4 & 101.855 & -1.45499999999999 \tabularnewline
15 & 132.1 & 123.875 & 8.225 \tabularnewline
16 & 114.6 & 107.615 & 6.98499999999999 \tabularnewline
17 & 101.9 & 106.035 & -4.13499999999999 \tabularnewline
18 & 130.2 & 124.975 & 5.225 \tabularnewline
19 & 84 & 86.595 & -2.59500000000000 \tabularnewline
20 & 86.4 & 84.495 & 1.90500000000001 \tabularnewline
21 & 122.3 & 119.055 & 3.245 \tabularnewline
22 & 120.9 & 118.995 & 1.90499999999999 \tabularnewline
23 & 110.2 & 115.655 & -5.455 \tabularnewline
24 & 112.6 & 111.855 & 0.744999999999993 \tabularnewline
25 & 102 & 96.895 & 5.10499999999992 \tabularnewline
26 & 105 & 101.855 & 3.145 \tabularnewline
27 & 130.5 & 123.875 & 6.625 \tabularnewline
28 & 115.5 & 107.615 & 7.885 \tabularnewline
29 & 103.7 & 106.035 & -2.33500000000000 \tabularnewline
30 & 130.9 & 124.975 & 5.92500000000001 \tabularnewline
31 & 89.1 & 86.595 & 2.50499999999999 \tabularnewline
32 & 93.8 & 84.495 & 9.305 \tabularnewline
33 & 123.8 & 119.055 & 4.745 \tabularnewline
34 & 111.9 & 118.995 & -7.09500000000001 \tabularnewline
35 & 118.3 & 115.655 & 2.64499999999999 \tabularnewline
36 & 116.9 & 111.855 & 5.045 \tabularnewline
37 & 103.6 & 108.5075 & -4.90750000000007 \tabularnewline
38 & 116.6 & 113.4675 & 3.1325 \tabularnewline
39 & 141.3 & 135.4875 & 5.81250000000002 \tabularnewline
40 & 107 & 119.2275 & -12.2275 \tabularnewline
41 & 125.2 & 117.6475 & 7.55250000000001 \tabularnewline
42 & 136.4 & 136.5875 & -0.187499999999984 \tabularnewline
43 & 91.6 & 98.2075 & -6.6075 \tabularnewline
44 & 95.3 & 96.1075 & -0.80749999999999 \tabularnewline
45 & 132.3 & 130.6675 & 1.63250000000002 \tabularnewline
46 & 130.6 & 130.6075 & -0.00750000000001372 \tabularnewline
47 & 131.9 & 127.2675 & 4.63250000000001 \tabularnewline
48 & 118.6 & 123.4675 & -4.8675 \tabularnewline
49 & 114.3 & 108.5075 & 5.79249999999993 \tabularnewline
50 & 111.3 & 113.4675 & -2.16750000000000 \tabularnewline
51 & 126.5 & 135.4875 & -8.9875 \tabularnewline
52 & 112.1 & 119.2275 & -7.1275 \tabularnewline
53 & 119.3 & 117.6475 & 1.65250000000001 \tabularnewline
54 & 142.4 & 136.5875 & 5.81250000000002 \tabularnewline
55 & 101.1 & 98.2075 & 2.8925 \tabularnewline
56 & 97.4 & 96.1075 & 1.29250000000002 \tabularnewline
57 & 129.1 & 130.6675 & -1.5675 \tabularnewline
58 & 136.9 & 130.6075 & 6.2925 \tabularnewline
59 & 129.8 & 127.2675 & 2.53250000000001 \tabularnewline
60 & 123.9 & 123.4675 & 0.432500000000012 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&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]96.8949999999997[/C][C]-3.89499999999972[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]101.855[/C][C]-2.65500000000003[/C][/ROW]
[ROW][C]3[/C][C]112.2[/C][C]123.875[/C][C]-11.6750000000000[/C][/ROW]
[ROW][C]4[/C][C]112.1[/C][C]107.615[/C][C]4.48500000000002[/C][/ROW]
[ROW][C]5[/C][C]103.3[/C][C]106.035[/C][C]-2.73500000000003[/C][/ROW]
[ROW][C]6[/C][C]108.2[/C][C]124.975[/C][C]-16.775[/C][/ROW]
[ROW][C]7[/C][C]90.4[/C][C]86.595[/C][C]3.805[/C][/ROW]
[ROW][C]8[/C][C]72.8[/C][C]84.495[/C][C]-11.6950000000001[/C][/ROW]
[ROW][C]9[/C][C]111[/C][C]119.055[/C][C]-8.05500000000002[/C][/ROW]
[ROW][C]10[/C][C]117.9[/C][C]118.995[/C][C]-1.09499999999997[/C][/ROW]
[ROW][C]11[/C][C]111.3[/C][C]115.655[/C][C]-4.35500000000001[/C][/ROW]
[ROW][C]12[/C][C]110.5[/C][C]111.855[/C][C]-1.35500000000000[/C][/ROW]
[ROW][C]13[/C][C]94.8[/C][C]96.895[/C][C]-2.09500000000008[/C][/ROW]
[ROW][C]14[/C][C]100.4[/C][C]101.855[/C][C]-1.45499999999999[/C][/ROW]
[ROW][C]15[/C][C]132.1[/C][C]123.875[/C][C]8.225[/C][/ROW]
[ROW][C]16[/C][C]114.6[/C][C]107.615[/C][C]6.98499999999999[/C][/ROW]
[ROW][C]17[/C][C]101.9[/C][C]106.035[/C][C]-4.13499999999999[/C][/ROW]
[ROW][C]18[/C][C]130.2[/C][C]124.975[/C][C]5.225[/C][/ROW]
[ROW][C]19[/C][C]84[/C][C]86.595[/C][C]-2.59500000000000[/C][/ROW]
[ROW][C]20[/C][C]86.4[/C][C]84.495[/C][C]1.90500000000001[/C][/ROW]
[ROW][C]21[/C][C]122.3[/C][C]119.055[/C][C]3.245[/C][/ROW]
[ROW][C]22[/C][C]120.9[/C][C]118.995[/C][C]1.90499999999999[/C][/ROW]
[ROW][C]23[/C][C]110.2[/C][C]115.655[/C][C]-5.455[/C][/ROW]
[ROW][C]24[/C][C]112.6[/C][C]111.855[/C][C]0.744999999999993[/C][/ROW]
[ROW][C]25[/C][C]102[/C][C]96.895[/C][C]5.10499999999992[/C][/ROW]
[ROW][C]26[/C][C]105[/C][C]101.855[/C][C]3.145[/C][/ROW]
[ROW][C]27[/C][C]130.5[/C][C]123.875[/C][C]6.625[/C][/ROW]
[ROW][C]28[/C][C]115.5[/C][C]107.615[/C][C]7.885[/C][/ROW]
[ROW][C]29[/C][C]103.7[/C][C]106.035[/C][C]-2.33500000000000[/C][/ROW]
[ROW][C]30[/C][C]130.9[/C][C]124.975[/C][C]5.92500000000001[/C][/ROW]
[ROW][C]31[/C][C]89.1[/C][C]86.595[/C][C]2.50499999999999[/C][/ROW]
[ROW][C]32[/C][C]93.8[/C][C]84.495[/C][C]9.305[/C][/ROW]
[ROW][C]33[/C][C]123.8[/C][C]119.055[/C][C]4.745[/C][/ROW]
[ROW][C]34[/C][C]111.9[/C][C]118.995[/C][C]-7.09500000000001[/C][/ROW]
[ROW][C]35[/C][C]118.3[/C][C]115.655[/C][C]2.64499999999999[/C][/ROW]
[ROW][C]36[/C][C]116.9[/C][C]111.855[/C][C]5.045[/C][/ROW]
[ROW][C]37[/C][C]103.6[/C][C]108.5075[/C][C]-4.90750000000007[/C][/ROW]
[ROW][C]38[/C][C]116.6[/C][C]113.4675[/C][C]3.1325[/C][/ROW]
[ROW][C]39[/C][C]141.3[/C][C]135.4875[/C][C]5.81250000000002[/C][/ROW]
[ROW][C]40[/C][C]107[/C][C]119.2275[/C][C]-12.2275[/C][/ROW]
[ROW][C]41[/C][C]125.2[/C][C]117.6475[/C][C]7.55250000000001[/C][/ROW]
[ROW][C]42[/C][C]136.4[/C][C]136.5875[/C][C]-0.187499999999984[/C][/ROW]
[ROW][C]43[/C][C]91.6[/C][C]98.2075[/C][C]-6.6075[/C][/ROW]
[ROW][C]44[/C][C]95.3[/C][C]96.1075[/C][C]-0.80749999999999[/C][/ROW]
[ROW][C]45[/C][C]132.3[/C][C]130.6675[/C][C]1.63250000000002[/C][/ROW]
[ROW][C]46[/C][C]130.6[/C][C]130.6075[/C][C]-0.00750000000001372[/C][/ROW]
[ROW][C]47[/C][C]131.9[/C][C]127.2675[/C][C]4.63250000000001[/C][/ROW]
[ROW][C]48[/C][C]118.6[/C][C]123.4675[/C][C]-4.8675[/C][/ROW]
[ROW][C]49[/C][C]114.3[/C][C]108.5075[/C][C]5.79249999999993[/C][/ROW]
[ROW][C]50[/C][C]111.3[/C][C]113.4675[/C][C]-2.16750000000000[/C][/ROW]
[ROW][C]51[/C][C]126.5[/C][C]135.4875[/C][C]-8.9875[/C][/ROW]
[ROW][C]52[/C][C]112.1[/C][C]119.2275[/C][C]-7.1275[/C][/ROW]
[ROW][C]53[/C][C]119.3[/C][C]117.6475[/C][C]1.65250000000001[/C][/ROW]
[ROW][C]54[/C][C]142.4[/C][C]136.5875[/C][C]5.81250000000002[/C][/ROW]
[ROW][C]55[/C][C]101.1[/C][C]98.2075[/C][C]2.8925[/C][/ROW]
[ROW][C]56[/C][C]97.4[/C][C]96.1075[/C][C]1.29250000000002[/C][/ROW]
[ROW][C]57[/C][C]129.1[/C][C]130.6675[/C][C]-1.5675[/C][/ROW]
[ROW][C]58[/C][C]136.9[/C][C]130.6075[/C][C]6.2925[/C][/ROW]
[ROW][C]59[/C][C]129.8[/C][C]127.2675[/C][C]2.53250000000001[/C][/ROW]
[ROW][C]60[/C][C]123.9[/C][C]123.4675[/C][C]0.432500000000012[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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
19396.8949999999997-3.89499999999972
299.2101.855-2.65500000000003
3112.2123.875-11.6750000000000
4112.1107.6154.48500000000002
5103.3106.035-2.73500000000003
6108.2124.975-16.775
790.486.5953.805
872.884.495-11.6950000000001
9111119.055-8.05500000000002
10117.9118.995-1.09499999999997
11111.3115.655-4.35500000000001
12110.5111.855-1.35500000000000
1394.896.895-2.09500000000008
14100.4101.855-1.45499999999999
15132.1123.8758.225
16114.6107.6156.98499999999999
17101.9106.035-4.13499999999999
18130.2124.9755.225
198486.595-2.59500000000000
2086.484.4951.90500000000001
21122.3119.0553.245
22120.9118.9951.90499999999999
23110.2115.655-5.455
24112.6111.8550.744999999999993
2510296.8955.10499999999992
26105101.8553.145
27130.5123.8756.625
28115.5107.6157.885
29103.7106.035-2.33500000000000
30130.9124.9755.92500000000001
3189.186.5952.50499999999999
3293.884.4959.305
33123.8119.0554.745
34111.9118.995-7.09500000000001
35118.3115.6552.64499999999999
36116.9111.8555.045
37103.6108.5075-4.90750000000007
38116.6113.46753.1325
39141.3135.48755.81250000000002
40107119.2275-12.2275
41125.2117.64757.55250000000001
42136.4136.5875-0.187499999999984
4391.698.2075-6.6075
4495.396.1075-0.80749999999999
45132.3130.66751.63250000000002
46130.6130.6075-0.00750000000001372
47131.9127.26754.63250000000001
48118.6123.4675-4.8675
49114.3108.50755.79249999999993
50111.3113.4675-2.16750000000000
51126.5135.4875-8.9875
52112.1119.2275-7.1275
53119.3117.64751.65250000000001
54142.4136.58755.81250000000002
55101.198.20752.8925
5697.496.10751.29250000000002
57129.1130.6675-1.5675
58136.9130.60756.2925
59129.8127.26752.53250000000001
60123.9123.46750.432500000000012







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.9156783654238270.1686432691523470.0843216345761733
170.8586807496087970.2826385007824060.141319250391203
180.978705582159010.04258883568197910.0212944178409896
190.9659892654943760.06802146901124740.0340107345056237
200.97045355856680.05909288286639850.0295464414331993
210.965183767271750.06963246545649990.0348162327282499
220.940078692669010.1198426146619810.0599213073309905
230.9360054958931230.1279890082137550.0639945041068774
240.8988734196385070.2022531607229860.101126580361493
250.87592196539050.2481560692189980.124078034609499
260.8303883371429880.3392233257140240.169611662857012
270.8108234836199670.3783530327600660.189176516380033
280.8770123405862840.2459753188274320.122987659413716
290.8682635144805260.2634729710389470.131736485519474
300.8648230533445020.2703538933109950.135176946655498
310.8080064993211090.3839870013577820.191993500678891
320.8621531973880580.2756936052238840.137846802611942
330.8368120249173280.3263759501653440.163187975082672
340.8818836889994450.2362326220011090.118116311000555
350.8655980436885430.2688039126229140.134401956311457
360.8061470544033640.3877058911932730.193852945596636
370.8228838312770050.3542323374459900.177116168722995
380.7775289671303980.4449420657392030.222471032869602
390.9154183280235750.1691633439528510.0845816719764255
400.9220992557418840.1558014885162330.0779007442581163
410.9126397363515440.1747205272969120.087360263648456
420.8812533731493090.2374932537013820.118746626850691
430.9287613823695140.1424772352609710.0712386176304856
440.8398317996928880.3203364006142240.160168200307112

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.915678365423827 & 0.168643269152347 & 0.0843216345761733 \tabularnewline
17 & 0.858680749608797 & 0.282638500782406 & 0.141319250391203 \tabularnewline
18 & 0.97870558215901 & 0.0425888356819791 & 0.0212944178409896 \tabularnewline
19 & 0.965989265494376 & 0.0680214690112474 & 0.0340107345056237 \tabularnewline
20 & 0.9704535585668 & 0.0590928828663985 & 0.0295464414331993 \tabularnewline
21 & 0.96518376727175 & 0.0696324654564999 & 0.0348162327282499 \tabularnewline
22 & 0.94007869266901 & 0.119842614661981 & 0.0599213073309905 \tabularnewline
23 & 0.936005495893123 & 0.127989008213755 & 0.0639945041068774 \tabularnewline
24 & 0.898873419638507 & 0.202253160722986 & 0.101126580361493 \tabularnewline
25 & 0.8759219653905 & 0.248156069218998 & 0.124078034609499 \tabularnewline
26 & 0.830388337142988 & 0.339223325714024 & 0.169611662857012 \tabularnewline
27 & 0.810823483619967 & 0.378353032760066 & 0.189176516380033 \tabularnewline
28 & 0.877012340586284 & 0.245975318827432 & 0.122987659413716 \tabularnewline
29 & 0.868263514480526 & 0.263472971038947 & 0.131736485519474 \tabularnewline
30 & 0.864823053344502 & 0.270353893310995 & 0.135176946655498 \tabularnewline
31 & 0.808006499321109 & 0.383987001357782 & 0.191993500678891 \tabularnewline
32 & 0.862153197388058 & 0.275693605223884 & 0.137846802611942 \tabularnewline
33 & 0.836812024917328 & 0.326375950165344 & 0.163187975082672 \tabularnewline
34 & 0.881883688999445 & 0.236232622001109 & 0.118116311000555 \tabularnewline
35 & 0.865598043688543 & 0.268803912622914 & 0.134401956311457 \tabularnewline
36 & 0.806147054403364 & 0.387705891193273 & 0.193852945596636 \tabularnewline
37 & 0.822883831277005 & 0.354232337445990 & 0.177116168722995 \tabularnewline
38 & 0.777528967130398 & 0.444942065739203 & 0.222471032869602 \tabularnewline
39 & 0.915418328023575 & 0.169163343952851 & 0.0845816719764255 \tabularnewline
40 & 0.922099255741884 & 0.155801488516233 & 0.0779007442581163 \tabularnewline
41 & 0.912639736351544 & 0.174720527296912 & 0.087360263648456 \tabularnewline
42 & 0.881253373149309 & 0.237493253701382 & 0.118746626850691 \tabularnewline
43 & 0.928761382369514 & 0.142477235260971 & 0.0712386176304856 \tabularnewline
44 & 0.839831799692888 & 0.320336400614224 & 0.160168200307112 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34889&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]16[/C][C]0.915678365423827[/C][C]0.168643269152347[/C][C]0.0843216345761733[/C][/ROW]
[ROW][C]17[/C][C]0.858680749608797[/C][C]0.282638500782406[/C][C]0.141319250391203[/C][/ROW]
[ROW][C]18[/C][C]0.97870558215901[/C][C]0.0425888356819791[/C][C]0.0212944178409896[/C][/ROW]
[ROW][C]19[/C][C]0.965989265494376[/C][C]0.0680214690112474[/C][C]0.0340107345056237[/C][/ROW]
[ROW][C]20[/C][C]0.9704535585668[/C][C]0.0590928828663985[/C][C]0.0295464414331993[/C][/ROW]
[ROW][C]21[/C][C]0.96518376727175[/C][C]0.0696324654564999[/C][C]0.0348162327282499[/C][/ROW]
[ROW][C]22[/C][C]0.94007869266901[/C][C]0.119842614661981[/C][C]0.0599213073309905[/C][/ROW]
[ROW][C]23[/C][C]0.936005495893123[/C][C]0.127989008213755[/C][C]0.0639945041068774[/C][/ROW]
[ROW][C]24[/C][C]0.898873419638507[/C][C]0.202253160722986[/C][C]0.101126580361493[/C][/ROW]
[ROW][C]25[/C][C]0.8759219653905[/C][C]0.248156069218998[/C][C]0.124078034609499[/C][/ROW]
[ROW][C]26[/C][C]0.830388337142988[/C][C]0.339223325714024[/C][C]0.169611662857012[/C][/ROW]
[ROW][C]27[/C][C]0.810823483619967[/C][C]0.378353032760066[/C][C]0.189176516380033[/C][/ROW]
[ROW][C]28[/C][C]0.877012340586284[/C][C]0.245975318827432[/C][C]0.122987659413716[/C][/ROW]
[ROW][C]29[/C][C]0.868263514480526[/C][C]0.263472971038947[/C][C]0.131736485519474[/C][/ROW]
[ROW][C]30[/C][C]0.864823053344502[/C][C]0.270353893310995[/C][C]0.135176946655498[/C][/ROW]
[ROW][C]31[/C][C]0.808006499321109[/C][C]0.383987001357782[/C][C]0.191993500678891[/C][/ROW]
[ROW][C]32[/C][C]0.862153197388058[/C][C]0.275693605223884[/C][C]0.137846802611942[/C][/ROW]
[ROW][C]33[/C][C]0.836812024917328[/C][C]0.326375950165344[/C][C]0.163187975082672[/C][/ROW]
[ROW][C]34[/C][C]0.881883688999445[/C][C]0.236232622001109[/C][C]0.118116311000555[/C][/ROW]
[ROW][C]35[/C][C]0.865598043688543[/C][C]0.268803912622914[/C][C]0.134401956311457[/C][/ROW]
[ROW][C]36[/C][C]0.806147054403364[/C][C]0.387705891193273[/C][C]0.193852945596636[/C][/ROW]
[ROW][C]37[/C][C]0.822883831277005[/C][C]0.354232337445990[/C][C]0.177116168722995[/C][/ROW]
[ROW][C]38[/C][C]0.777528967130398[/C][C]0.444942065739203[/C][C]0.222471032869602[/C][/ROW]
[ROW][C]39[/C][C]0.915418328023575[/C][C]0.169163343952851[/C][C]0.0845816719764255[/C][/ROW]
[ROW][C]40[/C][C]0.922099255741884[/C][C]0.155801488516233[/C][C]0.0779007442581163[/C][/ROW]
[ROW][C]41[/C][C]0.912639736351544[/C][C]0.174720527296912[/C][C]0.087360263648456[/C][/ROW]
[ROW][C]42[/C][C]0.881253373149309[/C][C]0.237493253701382[/C][C]0.118746626850691[/C][/ROW]
[ROW][C]43[/C][C]0.928761382369514[/C][C]0.142477235260971[/C][C]0.0712386176304856[/C][/ROW]
[ROW][C]44[/C][C]0.839831799692888[/C][C]0.320336400614224[/C][C]0.160168200307112[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34889&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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
160.9156783654238270.1686432691523470.0843216345761733
170.8586807496087970.2826385007824060.141319250391203
180.978705582159010.04258883568197910.0212944178409896
190.9659892654943760.06802146901124740.0340107345056237
200.97045355856680.05909288286639850.0295464414331993
210.965183767271750.06963246545649990.0348162327282499
220.940078692669010.1198426146619810.0599213073309905
230.9360054958931230.1279890082137550.0639945041068774
240.8988734196385070.2022531607229860.101126580361493
250.87592196539050.2481560692189980.124078034609499
260.8303883371429880.3392233257140240.169611662857012
270.8108234836199670.3783530327600660.189176516380033
280.8770123405862840.2459753188274320.122987659413716
290.8682635144805260.2634729710389470.131736485519474
300.8648230533445020.2703538933109950.135176946655498
310.8080064993211090.3839870013577820.191993500678891
320.8621531973880580.2756936052238840.137846802611942
330.8368120249173280.3263759501653440.163187975082672
340.8818836889994450.2362326220011090.118116311000555
350.8655980436885430.2688039126229140.134401956311457
360.8061470544033640.3877058911932730.193852945596636
370.8228838312770050.3542323374459900.177116168722995
380.7775289671303980.4449420657392030.222471032869602
390.9154183280235750.1691633439528510.0845816719764255
400.9220992557418840.1558014885162330.0779007442581163
410.9126397363515440.1747205272969120.087360263648456
420.8812533731493090.2374932537013820.118746626850691
430.9287613823695140.1424772352609710.0712386176304856
440.8398317996928880.3203364006142240.160168200307112







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34889&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 level10.0344827586206897OK
10% type I error level40.137931034482759NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly 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')
}