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 10:01:38 -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/t1229619913eomanh88eb3g6us.htm/, Retrieved Sat, 11 May 2024 14:58:10 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=34891, Retrieved Sat, 11 May 2024 14:58:10 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [mult lin regr] [2008-12-18 17:01:38] [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=34891&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=34891&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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] = + 104.765 + 2.74999999999999INVA[t] -11.7104166666667M1[t] -7.04583333333333M2[t] + 14.67875M3[t] -1.87666666666666M4[t] -3.75208333333333M5[t] + 14.8925M6[t] -23.7829166666667M7[t] -26.1783333333333M8[t] + 8.08625M9[t] + 7.73083333333334M10[t] + 4.09541666666667M11[t] + 0.295416666666667t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
INV[t] =  +  104.765 +  2.74999999999999INVA[t] -11.7104166666667M1[t] -7.04583333333333M2[t] +  14.67875M3[t] -1.87666666666666M4[t] -3.75208333333333M5[t] +  14.8925M6[t] -23.7829166666667M7[t] -26.1783333333333M8[t] +  8.08625M9[t] +  7.73083333333334M10[t] +  4.09541666666667M11[t] +  0.295416666666667t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34891&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]INV[t] =  +  104.765 +  2.74999999999999INVA[t] -11.7104166666667M1[t] -7.04583333333333M2[t] +  14.67875M3[t] -1.87666666666666M4[t] -3.75208333333333M5[t] +  14.8925M6[t] -23.7829166666667M7[t] -26.1783333333333M8[t] +  8.08625M9[t] +  7.73083333333334M10[t] +  4.09541666666667M11[t] +  0.295416666666667t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34891&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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] = + 104.765 + 2.74999999999999INVA[t] -11.7104166666667M1[t] -7.04583333333333M2[t] + 14.67875M3[t] -1.87666666666666M4[t] -3.75208333333333M5[t] + 14.8925M6[t] -23.7829166666667M7[t] -26.1783333333333M8[t] + 8.08625M9[t] + 7.73083333333334M10[t] + 4.09541666666667M11[t] + 0.295416666666667t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)104.7653.42104630.623700
INVA2.749999999999993.072190.89510.3753790.18769
M1-11.71041666666673.813519-3.07080.0035780.001789
M2-7.045833333333333.791801-1.85820.069550.034775
M314.678753.7720443.89150.0003190.00016
M4-1.876666666666663.754278-0.49990.6195470.309773
M5-3.752083333333333.738533-1.00360.320810.160405
M614.89253.7248323.99820.0002290.000115
M7-23.78291666666673.713201-6.40500
M8-26.17833333333333.703656-7.068200
M98.086253.6962162.18770.033810.016905
M107.730833333333343.6908922.09460.0417460.020873
M114.095416666666673.6876951.11060.2725280.136264
t0.2954166666666670.0886863.3310.0017130.000856

\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) & 104.765 & 3.421046 & 30.6237 & 0 & 0 \tabularnewline
INVA & 2.74999999999999 & 3.07219 & 0.8951 & 0.375379 & 0.18769 \tabularnewline
M1 & -11.7104166666667 & 3.813519 & -3.0708 & 0.003578 & 0.001789 \tabularnewline
M2 & -7.04583333333333 & 3.791801 & -1.8582 & 0.06955 & 0.034775 \tabularnewline
M3 & 14.67875 & 3.772044 & 3.8915 & 0.000319 & 0.00016 \tabularnewline
M4 & -1.87666666666666 & 3.754278 & -0.4999 & 0.619547 & 0.309773 \tabularnewline
M5 & -3.75208333333333 & 3.738533 & -1.0036 & 0.32081 & 0.160405 \tabularnewline
M6 & 14.8925 & 3.724832 & 3.9982 & 0.000229 & 0.000115 \tabularnewline
M7 & -23.7829166666667 & 3.713201 & -6.405 & 0 & 0 \tabularnewline
M8 & -26.1783333333333 & 3.703656 & -7.0682 & 0 & 0 \tabularnewline
M9 & 8.08625 & 3.696216 & 2.1877 & 0.03381 & 0.016905 \tabularnewline
M10 & 7.73083333333334 & 3.690892 & 2.0946 & 0.041746 & 0.020873 \tabularnewline
M11 & 4.09541666666667 & 3.687695 & 1.1106 & 0.272528 & 0.136264 \tabularnewline
t & 0.295416666666667 & 0.088686 & 3.331 & 0.001713 & 0.000856 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34891&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]104.765[/C][C]3.421046[/C][C]30.6237[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]INVA[/C][C]2.74999999999999[/C][C]3.07219[/C][C]0.8951[/C][C]0.375379[/C][C]0.18769[/C][/ROW]
[ROW][C]M1[/C][C]-11.7104166666667[/C][C]3.813519[/C][C]-3.0708[/C][C]0.003578[/C][C]0.001789[/C][/ROW]
[ROW][C]M2[/C][C]-7.04583333333333[/C][C]3.791801[/C][C]-1.8582[/C][C]0.06955[/C][C]0.034775[/C][/ROW]
[ROW][C]M3[/C][C]14.67875[/C][C]3.772044[/C][C]3.8915[/C][C]0.000319[/C][C]0.00016[/C][/ROW]
[ROW][C]M4[/C][C]-1.87666666666666[/C][C]3.754278[/C][C]-0.4999[/C][C]0.619547[/C][C]0.309773[/C][/ROW]
[ROW][C]M5[/C][C]-3.75208333333333[/C][C]3.738533[/C][C]-1.0036[/C][C]0.32081[/C][C]0.160405[/C][/ROW]
[ROW][C]M6[/C][C]14.8925[/C][C]3.724832[/C][C]3.9982[/C][C]0.000229[/C][C]0.000115[/C][/ROW]
[ROW][C]M7[/C][C]-23.7829166666667[/C][C]3.713201[/C][C]-6.405[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]-26.1783333333333[/C][C]3.703656[/C][C]-7.0682[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]8.08625[/C][C]3.696216[/C][C]2.1877[/C][C]0.03381[/C][C]0.016905[/C][/ROW]
[ROW][C]M10[/C][C]7.73083333333334[/C][C]3.690892[/C][C]2.0946[/C][C]0.041746[/C][C]0.020873[/C][/ROW]
[ROW][C]M11[/C][C]4.09541666666667[/C][C]3.687695[/C][C]1.1106[/C][C]0.272528[/C][C]0.136264[/C][/ROW]
[ROW][C]t[/C][C]0.295416666666667[/C][C]0.088686[/C][C]3.331[/C][C]0.001713[/C][C]0.000856[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34891&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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)104.7653.42104630.623700
INVA2.749999999999993.072190.89510.3753790.18769
M1-11.71041666666673.813519-3.07080.0035780.001789
M2-7.045833333333333.791801-1.85820.069550.034775
M314.678753.7720443.89150.0003190.00016
M4-1.876666666666663.754278-0.49990.6195470.309773
M5-3.752083333333333.738533-1.00360.320810.160405
M614.89253.7248323.99820.0002290.000115
M7-23.78291666666673.713201-6.40500
M8-26.17833333333333.703656-7.068200
M98.086253.6962162.18770.033810.016905
M107.730833333333343.6908922.09460.0417460.020873
M114.095416666666673.6876951.11060.2725280.136264
t0.2954166666666670.0886863.3310.0017130.000856







Multiple Linear Regression - Regression Statistics
Multiple R0.942707574399442
R-squared0.888697570830079
Adjusted R-squared0.857242536499449
F-TEST (value)28.2529518642011
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.82907069929601
Sum Squared Residuals1562.991

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.942707574399442 \tabularnewline
R-squared & 0.888697570830079 \tabularnewline
Adjusted R-squared & 0.857242536499449 \tabularnewline
F-TEST (value) & 28.2529518642011 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 5.82907069929601 \tabularnewline
Sum Squared Residuals & 1562.991 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34891&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.942707574399442[/C][/ROW]
[ROW][C]R-squared[/C][C]0.888697570830079[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.857242536499449[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]28.2529518642011[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]5.82907069929601[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1562.991[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34891&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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.942707574399442
R-squared0.888697570830079
Adjusted R-squared0.857242536499449
F-TEST (value)28.2529518642011
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.82907069929601
Sum Squared Residuals1562.991







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19393.3500000000001-0.350000000000098
299.298.310.890000000000014
3112.2120.33-8.12999999999999
4112.1104.078.03
5103.3102.490.809999999999997
6108.2121.43-13.23
790.483.057.35000000000001
872.880.95-8.15000000000001
9111115.51-4.50999999999999
10117.9115.452.45000000000001
11111.3112.11-0.810000000000002
12110.5108.312.19000000000001
1394.896.895-2.09499999999997
14100.4101.855-1.45499999999999
15132.1123.8758.225
16114.6107.6156.985
17101.9106.035-4.13499999999999
18130.2124.9755.22499999999999
198486.595-2.595
2086.484.4951.90500000000001
21122.3119.0553.245
22120.9118.9951.90500000000001
23110.2115.655-5.455
24112.6111.8550.744999999999999
25102100.441.56000000000002
26105105.4-0.400000000000002
27130.5127.423.07999999999999
28115.5111.164.34
29103.7109.58-5.88
30130.9128.522.38
3189.190.14-1.04000000000001
3293.888.045.76
33123.8122.61.19999999999999
34111.9122.54-10.64
35118.3119.2-0.900000000000005
36116.9115.41.50000000000001
37103.6106.735-3.13499999999998
38116.6111.6954.90499999999999
39141.3133.7157.585
40107117.455-10.455
41125.2115.8759.325
42136.4134.8151.58500000000000
4391.696.435-4.835
4495.394.3350.965
45132.3128.8953.40500000000001
46130.6128.8351.76499999999999
47131.9125.4956.405
48118.6121.695-3.095
49114.3110.284.02000000000002
50111.3115.24-3.94000000000001
51126.5137.26-10.76
52112.1121-8.90000000000001
53119.3119.42-0.120000000000009
54142.4138.364.04
55101.199.981.12
5697.497.88-0.479999999999994
57129.1132.44-3.34000000000001
58136.9132.384.51999999999999
59129.8129.040.760000000000001
60123.9125.24-1.34

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 93 & 93.3500000000001 & -0.350000000000098 \tabularnewline
2 & 99.2 & 98.31 & 0.890000000000014 \tabularnewline
3 & 112.2 & 120.33 & -8.12999999999999 \tabularnewline
4 & 112.1 & 104.07 & 8.03 \tabularnewline
5 & 103.3 & 102.49 & 0.809999999999997 \tabularnewline
6 & 108.2 & 121.43 & -13.23 \tabularnewline
7 & 90.4 & 83.05 & 7.35000000000001 \tabularnewline
8 & 72.8 & 80.95 & -8.15000000000001 \tabularnewline
9 & 111 & 115.51 & -4.50999999999999 \tabularnewline
10 & 117.9 & 115.45 & 2.45000000000001 \tabularnewline
11 & 111.3 & 112.11 & -0.810000000000002 \tabularnewline
12 & 110.5 & 108.31 & 2.19000000000001 \tabularnewline
13 & 94.8 & 96.895 & -2.09499999999997 \tabularnewline
14 & 100.4 & 101.855 & -1.45499999999999 \tabularnewline
15 & 132.1 & 123.875 & 8.225 \tabularnewline
16 & 114.6 & 107.615 & 6.985 \tabularnewline
17 & 101.9 & 106.035 & -4.13499999999999 \tabularnewline
18 & 130.2 & 124.975 & 5.22499999999999 \tabularnewline
19 & 84 & 86.595 & -2.595 \tabularnewline
20 & 86.4 & 84.495 & 1.90500000000001 \tabularnewline
21 & 122.3 & 119.055 & 3.245 \tabularnewline
22 & 120.9 & 118.995 & 1.90500000000001 \tabularnewline
23 & 110.2 & 115.655 & -5.455 \tabularnewline
24 & 112.6 & 111.855 & 0.744999999999999 \tabularnewline
25 & 102 & 100.44 & 1.56000000000002 \tabularnewline
26 & 105 & 105.4 & -0.400000000000002 \tabularnewline
27 & 130.5 & 127.42 & 3.07999999999999 \tabularnewline
28 & 115.5 & 111.16 & 4.34 \tabularnewline
29 & 103.7 & 109.58 & -5.88 \tabularnewline
30 & 130.9 & 128.52 & 2.38 \tabularnewline
31 & 89.1 & 90.14 & -1.04000000000001 \tabularnewline
32 & 93.8 & 88.04 & 5.76 \tabularnewline
33 & 123.8 & 122.6 & 1.19999999999999 \tabularnewline
34 & 111.9 & 122.54 & -10.64 \tabularnewline
35 & 118.3 & 119.2 & -0.900000000000005 \tabularnewline
36 & 116.9 & 115.4 & 1.50000000000001 \tabularnewline
37 & 103.6 & 106.735 & -3.13499999999998 \tabularnewline
38 & 116.6 & 111.695 & 4.90499999999999 \tabularnewline
39 & 141.3 & 133.715 & 7.585 \tabularnewline
40 & 107 & 117.455 & -10.455 \tabularnewline
41 & 125.2 & 115.875 & 9.325 \tabularnewline
42 & 136.4 & 134.815 & 1.58500000000000 \tabularnewline
43 & 91.6 & 96.435 & -4.835 \tabularnewline
44 & 95.3 & 94.335 & 0.965 \tabularnewline
45 & 132.3 & 128.895 & 3.40500000000001 \tabularnewline
46 & 130.6 & 128.835 & 1.76499999999999 \tabularnewline
47 & 131.9 & 125.495 & 6.405 \tabularnewline
48 & 118.6 & 121.695 & -3.095 \tabularnewline
49 & 114.3 & 110.28 & 4.02000000000002 \tabularnewline
50 & 111.3 & 115.24 & -3.94000000000001 \tabularnewline
51 & 126.5 & 137.26 & -10.76 \tabularnewline
52 & 112.1 & 121 & -8.90000000000001 \tabularnewline
53 & 119.3 & 119.42 & -0.120000000000009 \tabularnewline
54 & 142.4 & 138.36 & 4.04 \tabularnewline
55 & 101.1 & 99.98 & 1.12 \tabularnewline
56 & 97.4 & 97.88 & -0.479999999999994 \tabularnewline
57 & 129.1 & 132.44 & -3.34000000000001 \tabularnewline
58 & 136.9 & 132.38 & 4.51999999999999 \tabularnewline
59 & 129.8 & 129.04 & 0.760000000000001 \tabularnewline
60 & 123.9 & 125.24 & -1.34 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34891&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]93.3500000000001[/C][C]-0.350000000000098[/C][/ROW]
[ROW][C]2[/C][C]99.2[/C][C]98.31[/C][C]0.890000000000014[/C][/ROW]
[ROW][C]3[/C][C]112.2[/C][C]120.33[/C][C]-8.12999999999999[/C][/ROW]
[ROW][C]4[/C][C]112.1[/C][C]104.07[/C][C]8.03[/C][/ROW]
[ROW][C]5[/C][C]103.3[/C][C]102.49[/C][C]0.809999999999997[/C][/ROW]
[ROW][C]6[/C][C]108.2[/C][C]121.43[/C][C]-13.23[/C][/ROW]
[ROW][C]7[/C][C]90.4[/C][C]83.05[/C][C]7.35000000000001[/C][/ROW]
[ROW][C]8[/C][C]72.8[/C][C]80.95[/C][C]-8.15000000000001[/C][/ROW]
[ROW][C]9[/C][C]111[/C][C]115.51[/C][C]-4.50999999999999[/C][/ROW]
[ROW][C]10[/C][C]117.9[/C][C]115.45[/C][C]2.45000000000001[/C][/ROW]
[ROW][C]11[/C][C]111.3[/C][C]112.11[/C][C]-0.810000000000002[/C][/ROW]
[ROW][C]12[/C][C]110.5[/C][C]108.31[/C][C]2.19000000000001[/C][/ROW]
[ROW][C]13[/C][C]94.8[/C][C]96.895[/C][C]-2.09499999999997[/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.985[/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.22499999999999[/C][/ROW]
[ROW][C]19[/C][C]84[/C][C]86.595[/C][C]-2.595[/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.90500000000001[/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.744999999999999[/C][/ROW]
[ROW][C]25[/C][C]102[/C][C]100.44[/C][C]1.56000000000002[/C][/ROW]
[ROW][C]26[/C][C]105[/C][C]105.4[/C][C]-0.400000000000002[/C][/ROW]
[ROW][C]27[/C][C]130.5[/C][C]127.42[/C][C]3.07999999999999[/C][/ROW]
[ROW][C]28[/C][C]115.5[/C][C]111.16[/C][C]4.34[/C][/ROW]
[ROW][C]29[/C][C]103.7[/C][C]109.58[/C][C]-5.88[/C][/ROW]
[ROW][C]30[/C][C]130.9[/C][C]128.52[/C][C]2.38[/C][/ROW]
[ROW][C]31[/C][C]89.1[/C][C]90.14[/C][C]-1.04000000000001[/C][/ROW]
[ROW][C]32[/C][C]93.8[/C][C]88.04[/C][C]5.76[/C][/ROW]
[ROW][C]33[/C][C]123.8[/C][C]122.6[/C][C]1.19999999999999[/C][/ROW]
[ROW][C]34[/C][C]111.9[/C][C]122.54[/C][C]-10.64[/C][/ROW]
[ROW][C]35[/C][C]118.3[/C][C]119.2[/C][C]-0.900000000000005[/C][/ROW]
[ROW][C]36[/C][C]116.9[/C][C]115.4[/C][C]1.50000000000001[/C][/ROW]
[ROW][C]37[/C][C]103.6[/C][C]106.735[/C][C]-3.13499999999998[/C][/ROW]
[ROW][C]38[/C][C]116.6[/C][C]111.695[/C][C]4.90499999999999[/C][/ROW]
[ROW][C]39[/C][C]141.3[/C][C]133.715[/C][C]7.585[/C][/ROW]
[ROW][C]40[/C][C]107[/C][C]117.455[/C][C]-10.455[/C][/ROW]
[ROW][C]41[/C][C]125.2[/C][C]115.875[/C][C]9.325[/C][/ROW]
[ROW][C]42[/C][C]136.4[/C][C]134.815[/C][C]1.58500000000000[/C][/ROW]
[ROW][C]43[/C][C]91.6[/C][C]96.435[/C][C]-4.835[/C][/ROW]
[ROW][C]44[/C][C]95.3[/C][C]94.335[/C][C]0.965[/C][/ROW]
[ROW][C]45[/C][C]132.3[/C][C]128.895[/C][C]3.40500000000001[/C][/ROW]
[ROW][C]46[/C][C]130.6[/C][C]128.835[/C][C]1.76499999999999[/C][/ROW]
[ROW][C]47[/C][C]131.9[/C][C]125.495[/C][C]6.405[/C][/ROW]
[ROW][C]48[/C][C]118.6[/C][C]121.695[/C][C]-3.095[/C][/ROW]
[ROW][C]49[/C][C]114.3[/C][C]110.28[/C][C]4.02000000000002[/C][/ROW]
[ROW][C]50[/C][C]111.3[/C][C]115.24[/C][C]-3.94000000000001[/C][/ROW]
[ROW][C]51[/C][C]126.5[/C][C]137.26[/C][C]-10.76[/C][/ROW]
[ROW][C]52[/C][C]112.1[/C][C]121[/C][C]-8.90000000000001[/C][/ROW]
[ROW][C]53[/C][C]119.3[/C][C]119.42[/C][C]-0.120000000000009[/C][/ROW]
[ROW][C]54[/C][C]142.4[/C][C]138.36[/C][C]4.04[/C][/ROW]
[ROW][C]55[/C][C]101.1[/C][C]99.98[/C][C]1.12[/C][/ROW]
[ROW][C]56[/C][C]97.4[/C][C]97.88[/C][C]-0.479999999999994[/C][/ROW]
[ROW][C]57[/C][C]129.1[/C][C]132.44[/C][C]-3.34000000000001[/C][/ROW]
[ROW][C]58[/C][C]136.9[/C][C]132.38[/C][C]4.51999999999999[/C][/ROW]
[ROW][C]59[/C][C]129.8[/C][C]129.04[/C][C]0.760000000000001[/C][/ROW]
[ROW][C]60[/C][C]123.9[/C][C]125.24[/C][C]-1.34[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34891&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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
19393.3500000000001-0.350000000000098
299.298.310.890000000000014
3112.2120.33-8.12999999999999
4112.1104.078.03
5103.3102.490.809999999999997
6108.2121.43-13.23
790.483.057.35000000000001
872.880.95-8.15000000000001
9111115.51-4.50999999999999
10117.9115.452.45000000000001
11111.3112.11-0.810000000000002
12110.5108.312.19000000000001
1394.896.895-2.09499999999997
14100.4101.855-1.45499999999999
15132.1123.8758.225
16114.6107.6156.985
17101.9106.035-4.13499999999999
18130.2124.9755.22499999999999
198486.595-2.595
2086.484.4951.90500000000001
21122.3119.0553.245
22120.9118.9951.90500000000001
23110.2115.655-5.455
24112.6111.8550.744999999999999
25102100.441.56000000000002
26105105.4-0.400000000000002
27130.5127.423.07999999999999
28115.5111.164.34
29103.7109.58-5.88
30130.9128.522.38
3189.190.14-1.04000000000001
3293.888.045.76
33123.8122.61.19999999999999
34111.9122.54-10.64
35118.3119.2-0.900000000000005
36116.9115.41.50000000000001
37103.6106.735-3.13499999999998
38116.6111.6954.90499999999999
39141.3133.7157.585
40107117.455-10.455
41125.2115.8759.325
42136.4134.8151.58500000000000
4391.696.435-4.835
4495.394.3350.965
45132.3128.8953.40500000000001
46130.6128.8351.76499999999999
47131.9125.4956.405
48118.6121.695-3.095
49114.3110.284.02000000000002
50111.3115.24-3.94000000000001
51126.5137.26-10.76
52112.1121-8.90000000000001
53119.3119.42-0.120000000000009
54142.4138.364.04
55101.199.981.12
5697.497.88-0.479999999999994
57129.1132.44-3.34000000000001
58136.9132.384.51999999999999
59129.8129.040.760000000000001
60123.9125.24-1.34







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.8354381196427530.3291237607144950.164561880357247
180.9294529330368240.1410941339263520.0705470669631758
190.9433582447304010.1132835105391970.0566417552695987
200.9188046315639990.1623907368720020.081195368436001
210.8726616079822160.2546767840355680.127338392017784
220.8128164406089970.3743671187820070.187183559391003
230.8133739139857370.3732521720285260.186626086014263
240.7408369915070350.518326016985930.259163008492965
250.6470807780845170.7058384438309650.352919221915483
260.5548260390972350.890347921805530.445173960902765
270.4673875916864040.9347751833728070.532612408313596
280.5988165168037030.8023669663925950.401183483196297
290.613762241474570.7724755170508590.386237758525430
300.5386114853729930.9227770292540140.461388514627007
310.4667272539428270.9334545078856540.533272746057173
320.4881400794132650.976280158826530.511859920586735
330.4184997321664540.8369994643329080.581500267833546
340.6398797297920140.7202405404159720.360120270207986
350.5870357939742730.8259284120514540.412964206025727
360.4782503246942830.9565006493885660.521749675305717
370.4904742860384580.9809485720769160.509525713961542
380.4446500157750570.8893000315501140.555349984224943
390.8047707944181370.3904584111637250.195229205581863
400.821241826599540.3575163468009210.178758173400461
410.8896632297980460.2206735404039070.110336770201954
420.8053638089926410.3892723820147180.194636191007359
430.8134530228904770.3730939542190450.186546977109523

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.835438119642753 & 0.329123760714495 & 0.164561880357247 \tabularnewline
18 & 0.929452933036824 & 0.141094133926352 & 0.0705470669631758 \tabularnewline
19 & 0.943358244730401 & 0.113283510539197 & 0.0566417552695987 \tabularnewline
20 & 0.918804631563999 & 0.162390736872002 & 0.081195368436001 \tabularnewline
21 & 0.872661607982216 & 0.254676784035568 & 0.127338392017784 \tabularnewline
22 & 0.812816440608997 & 0.374367118782007 & 0.187183559391003 \tabularnewline
23 & 0.813373913985737 & 0.373252172028526 & 0.186626086014263 \tabularnewline
24 & 0.740836991507035 & 0.51832601698593 & 0.259163008492965 \tabularnewline
25 & 0.647080778084517 & 0.705838443830965 & 0.352919221915483 \tabularnewline
26 & 0.554826039097235 & 0.89034792180553 & 0.445173960902765 \tabularnewline
27 & 0.467387591686404 & 0.934775183372807 & 0.532612408313596 \tabularnewline
28 & 0.598816516803703 & 0.802366966392595 & 0.401183483196297 \tabularnewline
29 & 0.61376224147457 & 0.772475517050859 & 0.386237758525430 \tabularnewline
30 & 0.538611485372993 & 0.922777029254014 & 0.461388514627007 \tabularnewline
31 & 0.466727253942827 & 0.933454507885654 & 0.533272746057173 \tabularnewline
32 & 0.488140079413265 & 0.97628015882653 & 0.511859920586735 \tabularnewline
33 & 0.418499732166454 & 0.836999464332908 & 0.581500267833546 \tabularnewline
34 & 0.639879729792014 & 0.720240540415972 & 0.360120270207986 \tabularnewline
35 & 0.587035793974273 & 0.825928412051454 & 0.412964206025727 \tabularnewline
36 & 0.478250324694283 & 0.956500649388566 & 0.521749675305717 \tabularnewline
37 & 0.490474286038458 & 0.980948572076916 & 0.509525713961542 \tabularnewline
38 & 0.444650015775057 & 0.889300031550114 & 0.555349984224943 \tabularnewline
39 & 0.804770794418137 & 0.390458411163725 & 0.195229205581863 \tabularnewline
40 & 0.82124182659954 & 0.357516346800921 & 0.178758173400461 \tabularnewline
41 & 0.889663229798046 & 0.220673540403907 & 0.110336770201954 \tabularnewline
42 & 0.805363808992641 & 0.389272382014718 & 0.194636191007359 \tabularnewline
43 & 0.813453022890477 & 0.373093954219045 & 0.186546977109523 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=34891&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]17[/C][C]0.835438119642753[/C][C]0.329123760714495[/C][C]0.164561880357247[/C][/ROW]
[ROW][C]18[/C][C]0.929452933036824[/C][C]0.141094133926352[/C][C]0.0705470669631758[/C][/ROW]
[ROW][C]19[/C][C]0.943358244730401[/C][C]0.113283510539197[/C][C]0.0566417552695987[/C][/ROW]
[ROW][C]20[/C][C]0.918804631563999[/C][C]0.162390736872002[/C][C]0.081195368436001[/C][/ROW]
[ROW][C]21[/C][C]0.872661607982216[/C][C]0.254676784035568[/C][C]0.127338392017784[/C][/ROW]
[ROW][C]22[/C][C]0.812816440608997[/C][C]0.374367118782007[/C][C]0.187183559391003[/C][/ROW]
[ROW][C]23[/C][C]0.813373913985737[/C][C]0.373252172028526[/C][C]0.186626086014263[/C][/ROW]
[ROW][C]24[/C][C]0.740836991507035[/C][C]0.51832601698593[/C][C]0.259163008492965[/C][/ROW]
[ROW][C]25[/C][C]0.647080778084517[/C][C]0.705838443830965[/C][C]0.352919221915483[/C][/ROW]
[ROW][C]26[/C][C]0.554826039097235[/C][C]0.89034792180553[/C][C]0.445173960902765[/C][/ROW]
[ROW][C]27[/C][C]0.467387591686404[/C][C]0.934775183372807[/C][C]0.532612408313596[/C][/ROW]
[ROW][C]28[/C][C]0.598816516803703[/C][C]0.802366966392595[/C][C]0.401183483196297[/C][/ROW]
[ROW][C]29[/C][C]0.61376224147457[/C][C]0.772475517050859[/C][C]0.386237758525430[/C][/ROW]
[ROW][C]30[/C][C]0.538611485372993[/C][C]0.922777029254014[/C][C]0.461388514627007[/C][/ROW]
[ROW][C]31[/C][C]0.466727253942827[/C][C]0.933454507885654[/C][C]0.533272746057173[/C][/ROW]
[ROW][C]32[/C][C]0.488140079413265[/C][C]0.97628015882653[/C][C]0.511859920586735[/C][/ROW]
[ROW][C]33[/C][C]0.418499732166454[/C][C]0.836999464332908[/C][C]0.581500267833546[/C][/ROW]
[ROW][C]34[/C][C]0.639879729792014[/C][C]0.720240540415972[/C][C]0.360120270207986[/C][/ROW]
[ROW][C]35[/C][C]0.587035793974273[/C][C]0.825928412051454[/C][C]0.412964206025727[/C][/ROW]
[ROW][C]36[/C][C]0.478250324694283[/C][C]0.956500649388566[/C][C]0.521749675305717[/C][/ROW]
[ROW][C]37[/C][C]0.490474286038458[/C][C]0.980948572076916[/C][C]0.509525713961542[/C][/ROW]
[ROW][C]38[/C][C]0.444650015775057[/C][C]0.889300031550114[/C][C]0.555349984224943[/C][/ROW]
[ROW][C]39[/C][C]0.804770794418137[/C][C]0.390458411163725[/C][C]0.195229205581863[/C][/ROW]
[ROW][C]40[/C][C]0.82124182659954[/C][C]0.357516346800921[/C][C]0.178758173400461[/C][/ROW]
[ROW][C]41[/C][C]0.889663229798046[/C][C]0.220673540403907[/C][C]0.110336770201954[/C][/ROW]
[ROW][C]42[/C][C]0.805363808992641[/C][C]0.389272382014718[/C][C]0.194636191007359[/C][/ROW]
[ROW][C]43[/C][C]0.813453022890477[/C][C]0.373093954219045[/C][C]0.186546977109523[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=34891&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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
170.8354381196427530.3291237607144950.164561880357247
180.9294529330368240.1410941339263520.0705470669631758
190.9433582447304010.1132835105391970.0566417552695987
200.9188046315639990.1623907368720020.081195368436001
210.8726616079822160.2546767840355680.127338392017784
220.8128164406089970.3743671187820070.187183559391003
230.8133739139857370.3732521720285260.186626086014263
240.7408369915070350.518326016985930.259163008492965
250.6470807780845170.7058384438309650.352919221915483
260.5548260390972350.890347921805530.445173960902765
270.4673875916864040.9347751833728070.532612408313596
280.5988165168037030.8023669663925950.401183483196297
290.613762241474570.7724755170508590.386237758525430
300.5386114853729930.9227770292540140.461388514627007
310.4667272539428270.9334545078856540.533272746057173
320.4881400794132650.976280158826530.511859920586735
330.4184997321664540.8369994643329080.581500267833546
340.6398797297920140.7202405404159720.360120270207986
350.5870357939742730.8259284120514540.412964206025727
360.4782503246942830.9565006493885660.521749675305717
370.4904742860384580.9809485720769160.509525713961542
380.4446500157750570.8893000315501140.555349984224943
390.8047707944181370.3904584111637250.195229205581863
400.821241826599540.3575163468009210.178758173400461
410.8896632297980460.2206735404039070.110336770201954
420.8053638089926410.3892723820147180.194636191007359
430.8134530228904770.3730939542190450.186546977109523







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=34891&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=34891&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=34891&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 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = 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')
}