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, 19 Nov 2009 09:28:03 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/19/t1258648357tgsim9okgry4bck.htm/, Retrieved Sat, 20 Apr 2024 10:13:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57810, Retrieved Sat, 20 Apr 2024 10:13:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact126
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [] [2009-11-19 16:28:03] [5858ea01c9bd81debbf921a11363ad90] [Current]
Feedback Forum

Post a new message
Dataseries X:
56.6	0
56	0
54.8	0
52.7	0
50.9	0
50.6	0
52.1	0
53.3	0
53.9	0
54.3	0
54.2	0
54.2	0
53.5	0
51.4	0
50.5	0
50.3	0
49.8	0
50.7	0
52.8	0
55.3	0
57.3	0
57.5	0
56.8	0
56.4	0
56.3	0
56.4	0
57	0
57.9	0
58.9	0
58.8	0
56.5	1
51.9	1
47.4	1
44.9	1
43.9	1
43.4	1
42.9	1
42.6	1
42.2	1
41.2	1
40.2	1
39.3	1
38.5	1
38.3	1
37.9	1
37.6	1
37.3	1
36	1
34.5	1
33.5	1
32.9	1
32.9	1
32.8	1
31.9	1
30.5	1
29.2	1
28.7	1
28.4	1
28	1
27.4	1
26.9	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 53.7889795918367 -17.1816326530612X[t] -0.0814965986394639M1[t] + 1.06367346938775M2[t] + 0.563673469387756M3[t] + 0.0836734693877571M4[t] -0.396326530612249M5[t] -0.656326530612247M6[t] + 2.60000000000000M7[t] + 2.12M8[t] + 1.56000000000000M9[t] + 1.06000000000000M10[t] + 0.559999999999999M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  53.7889795918367 -17.1816326530612X[t] -0.0814965986394639M1[t] +  1.06367346938775M2[t] +  0.563673469387756M3[t] +  0.0836734693877571M4[t] -0.396326530612249M5[t] -0.656326530612247M6[t] +  2.60000000000000M7[t] +  2.12M8[t] +  1.56000000000000M9[t] +  1.06000000000000M10[t] +  0.559999999999999M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  53.7889795918367 -17.1816326530612X[t] -0.0814965986394639M1[t] +  1.06367346938775M2[t] +  0.563673469387756M3[t] +  0.0836734693877571M4[t] -0.396326530612249M5[t] -0.656326530612247M6[t] +  2.60000000000000M7[t] +  2.12M8[t] +  1.56000000000000M9[t] +  1.06000000000000M10[t] +  0.559999999999999M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 53.7889795918367 -17.1816326530612X[t] -0.0814965986394639M1[t] + 1.06367346938775M2[t] + 0.563673469387756M3[t] + 0.0836734693877571M4[t] -0.396326530612249M5[t] -0.656326530612247M6[t] + 2.60000000000000M7[t] + 2.12M8[t] + 1.56000000000000M9[t] + 1.06000000000000M10[t] + 0.559999999999999M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)53.78897959183672.87546418.706200
X-17.18163265306121.582891-10.854600
M1-0.08149659863946393.678306-0.02220.9824150.491208
M21.063673469387753.851340.27620.7835930.391797
M30.5636734693877563.851340.14640.8842520.442126
M40.08367346938775713.851340.02170.9827570.491378
M5-0.3963265306122493.85134-0.10290.9184660.459233
M6-0.6563265306122473.85134-0.17040.86540.4327
M72.600000000000003.8383060.67740.5014160.250708
M82.123.8383060.55230.5832870.291644
M91.560000000000003.8383060.40640.6862340.343117
M101.060000000000003.8383060.27620.7836080.391804
M110.5599999999999993.8383060.14590.8846130.442307

\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) & 53.7889795918367 & 2.875464 & 18.7062 & 0 & 0 \tabularnewline
X & -17.1816326530612 & 1.582891 & -10.8546 & 0 & 0 \tabularnewline
M1 & -0.0814965986394639 & 3.678306 & -0.0222 & 0.982415 & 0.491208 \tabularnewline
M2 & 1.06367346938775 & 3.85134 & 0.2762 & 0.783593 & 0.391797 \tabularnewline
M3 & 0.563673469387756 & 3.85134 & 0.1464 & 0.884252 & 0.442126 \tabularnewline
M4 & 0.0836734693877571 & 3.85134 & 0.0217 & 0.982757 & 0.491378 \tabularnewline
M5 & -0.396326530612249 & 3.85134 & -0.1029 & 0.918466 & 0.459233 \tabularnewline
M6 & -0.656326530612247 & 3.85134 & -0.1704 & 0.8654 & 0.4327 \tabularnewline
M7 & 2.60000000000000 & 3.838306 & 0.6774 & 0.501416 & 0.250708 \tabularnewline
M8 & 2.12 & 3.838306 & 0.5523 & 0.583287 & 0.291644 \tabularnewline
M9 & 1.56000000000000 & 3.838306 & 0.4064 & 0.686234 & 0.343117 \tabularnewline
M10 & 1.06000000000000 & 3.838306 & 0.2762 & 0.783608 & 0.391804 \tabularnewline
M11 & 0.559999999999999 & 3.838306 & 0.1459 & 0.884613 & 0.442307 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&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]53.7889795918367[/C][C]2.875464[/C][C]18.7062[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-17.1816326530612[/C][C]1.582891[/C][C]-10.8546[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-0.0814965986394639[/C][C]3.678306[/C][C]-0.0222[/C][C]0.982415[/C][C]0.491208[/C][/ROW]
[ROW][C]M2[/C][C]1.06367346938775[/C][C]3.85134[/C][C]0.2762[/C][C]0.783593[/C][C]0.391797[/C][/ROW]
[ROW][C]M3[/C][C]0.563673469387756[/C][C]3.85134[/C][C]0.1464[/C][C]0.884252[/C][C]0.442126[/C][/ROW]
[ROW][C]M4[/C][C]0.0836734693877571[/C][C]3.85134[/C][C]0.0217[/C][C]0.982757[/C][C]0.491378[/C][/ROW]
[ROW][C]M5[/C][C]-0.396326530612249[/C][C]3.85134[/C][C]-0.1029[/C][C]0.918466[/C][C]0.459233[/C][/ROW]
[ROW][C]M6[/C][C]-0.656326530612247[/C][C]3.85134[/C][C]-0.1704[/C][C]0.8654[/C][C]0.4327[/C][/ROW]
[ROW][C]M7[/C][C]2.60000000000000[/C][C]3.838306[/C][C]0.6774[/C][C]0.501416[/C][C]0.250708[/C][/ROW]
[ROW][C]M8[/C][C]2.12[/C][C]3.838306[/C][C]0.5523[/C][C]0.583287[/C][C]0.291644[/C][/ROW]
[ROW][C]M9[/C][C]1.56000000000000[/C][C]3.838306[/C][C]0.4064[/C][C]0.686234[/C][C]0.343117[/C][/ROW]
[ROW][C]M10[/C][C]1.06000000000000[/C][C]3.838306[/C][C]0.2762[/C][C]0.783608[/C][C]0.391804[/C][/ROW]
[ROW][C]M11[/C][C]0.559999999999999[/C][C]3.838306[/C][C]0.1459[/C][C]0.884613[/C][C]0.442307[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57810&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)53.78897959183672.87546418.706200
X-17.18163265306121.582891-10.854600
M1-0.08149659863946393.678306-0.02220.9824150.491208
M21.063673469387753.851340.27620.7835930.391797
M30.5636734693877563.851340.14640.8842520.442126
M40.08367346938775713.851340.02170.9827570.491378
M5-0.3963265306122493.85134-0.10290.9184660.459233
M6-0.6563265306122473.85134-0.17040.86540.4327
M72.600000000000003.8383060.67740.5014160.250708
M82.123.8383060.55230.5832870.291644
M91.560000000000003.8383060.40640.6862340.343117
M101.060000000000003.8383060.27620.7836080.391804
M110.5599999999999993.8383060.14590.8846130.442307







Multiple Linear Regression - Regression Statistics
Multiple R0.845833695305805
R-squared0.715434640114673
Adjusted R-squared0.644293300143341
F-TEST (value)10.0565246648851
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.91935778381946e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.06889503628554
Sum Squared Residuals1767.91137414966

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.845833695305805 \tabularnewline
R-squared & 0.715434640114673 \tabularnewline
Adjusted R-squared & 0.644293300143341 \tabularnewline
F-TEST (value) & 10.0565246648851 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 1.91935778381946e-09 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.06889503628554 \tabularnewline
Sum Squared Residuals & 1767.91137414966 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.845833695305805[/C][/ROW]
[ROW][C]R-squared[/C][C]0.715434640114673[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.644293300143341[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.0565246648851[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]1.91935778381946e-09[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]6.06889503628554[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1767.91137414966[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57810&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.845833695305805
R-squared0.715434640114673
Adjusted R-squared0.644293300143341
F-TEST (value)10.0565246648851
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value1.91935778381946e-09
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.06889503628554
Sum Squared Residuals1767.91137414966







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
156.653.70748299319732.89251700680269
25654.85265306122451.14734693877548
354.854.35265306122450.44734693877551
452.753.8726530612245-1.17265306122449
550.953.3926530612245-2.49265306122449
650.653.1326530612245-2.53265306122449
752.156.3889795918367-4.28897959183673
853.355.9089795918367-2.60897959183673
953.955.3489795918367-1.44897959183673
1054.354.8489795918367-0.548979591836734
1154.254.3489795918367-0.148979591836729
1254.253.78897959183670.41102040816327
1353.553.7074829931973-0.207482993197271
1451.454.8526530612245-3.45265306122448
1550.554.3526530612245-3.85265306122449
1650.353.8726530612245-3.57265306122449
1749.853.3926530612245-3.59265306122449
1850.753.1326530612245-2.43265306122449
1952.856.3889795918367-3.58897959183674
2055.355.9089795918367-0.608979591836735
2157.355.34897959183671.95102040816327
2257.554.84897959183672.65102040816327
2356.854.34897959183672.45102040816326
2456.453.78897959183672.61102040816326
2556.353.70748299319732.59251700680273
2656.454.85265306122451.54734693877552
275754.35265306122452.64734693877551
2857.953.87265306122454.02734693877551
2958.953.39265306122455.50734693877552
3058.853.13265306122455.66734693877551
3156.539.207346938775517.2926530612245
3251.938.727346938775513.1726530612245
3347.438.16734693877559.23265306122449
3444.937.66734693877557.23265306122449
3543.937.16734693877556.73265306122449
3643.436.60734693877556.79265306122449
3742.936.52585034013606.37414965986395
3842.637.67102040816334.92897959183674
3942.237.17102040816335.02897959183673
4041.236.69102040816334.50897959183674
4140.236.21102040816333.98897959183674
4239.335.95102040816333.34897959183673
4338.539.2073469387755-0.707346938775512
4438.338.7273469387755-0.427346938775513
4537.938.1673469387755-0.26734693877551
4637.637.6673469387755-0.0673469387755091
4737.337.16734693877550.132653061224487
483636.6073469387755-0.607346938775511
4934.536.5258503401360-2.02585034013605
5033.537.6710204081633-4.17102040816326
5132.937.1710204081633-4.27102040816327
5232.936.6910204081633-3.79102040816327
5332.836.2110204081633-3.41102040816327
5431.935.9510204081633-4.05102040816327
5530.539.2073469387755-8.70734693877551
5629.238.7273469387755-9.5273469387755
5728.738.1673469387755-9.46734693877551
5828.437.6673469387755-9.26734693877551
592837.1673469387755-9.16734693877551
6027.436.6073469387755-9.20734693877552
6126.936.5258503401360-9.62585034013605

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 56.6 & 53.7074829931973 & 2.89251700680269 \tabularnewline
2 & 56 & 54.8526530612245 & 1.14734693877548 \tabularnewline
3 & 54.8 & 54.3526530612245 & 0.44734693877551 \tabularnewline
4 & 52.7 & 53.8726530612245 & -1.17265306122449 \tabularnewline
5 & 50.9 & 53.3926530612245 & -2.49265306122449 \tabularnewline
6 & 50.6 & 53.1326530612245 & -2.53265306122449 \tabularnewline
7 & 52.1 & 56.3889795918367 & -4.28897959183673 \tabularnewline
8 & 53.3 & 55.9089795918367 & -2.60897959183673 \tabularnewline
9 & 53.9 & 55.3489795918367 & -1.44897959183673 \tabularnewline
10 & 54.3 & 54.8489795918367 & -0.548979591836734 \tabularnewline
11 & 54.2 & 54.3489795918367 & -0.148979591836729 \tabularnewline
12 & 54.2 & 53.7889795918367 & 0.41102040816327 \tabularnewline
13 & 53.5 & 53.7074829931973 & -0.207482993197271 \tabularnewline
14 & 51.4 & 54.8526530612245 & -3.45265306122448 \tabularnewline
15 & 50.5 & 54.3526530612245 & -3.85265306122449 \tabularnewline
16 & 50.3 & 53.8726530612245 & -3.57265306122449 \tabularnewline
17 & 49.8 & 53.3926530612245 & -3.59265306122449 \tabularnewline
18 & 50.7 & 53.1326530612245 & -2.43265306122449 \tabularnewline
19 & 52.8 & 56.3889795918367 & -3.58897959183674 \tabularnewline
20 & 55.3 & 55.9089795918367 & -0.608979591836735 \tabularnewline
21 & 57.3 & 55.3489795918367 & 1.95102040816327 \tabularnewline
22 & 57.5 & 54.8489795918367 & 2.65102040816327 \tabularnewline
23 & 56.8 & 54.3489795918367 & 2.45102040816326 \tabularnewline
24 & 56.4 & 53.7889795918367 & 2.61102040816326 \tabularnewline
25 & 56.3 & 53.7074829931973 & 2.59251700680273 \tabularnewline
26 & 56.4 & 54.8526530612245 & 1.54734693877552 \tabularnewline
27 & 57 & 54.3526530612245 & 2.64734693877551 \tabularnewline
28 & 57.9 & 53.8726530612245 & 4.02734693877551 \tabularnewline
29 & 58.9 & 53.3926530612245 & 5.50734693877552 \tabularnewline
30 & 58.8 & 53.1326530612245 & 5.66734693877551 \tabularnewline
31 & 56.5 & 39.2073469387755 & 17.2926530612245 \tabularnewline
32 & 51.9 & 38.7273469387755 & 13.1726530612245 \tabularnewline
33 & 47.4 & 38.1673469387755 & 9.23265306122449 \tabularnewline
34 & 44.9 & 37.6673469387755 & 7.23265306122449 \tabularnewline
35 & 43.9 & 37.1673469387755 & 6.73265306122449 \tabularnewline
36 & 43.4 & 36.6073469387755 & 6.79265306122449 \tabularnewline
37 & 42.9 & 36.5258503401360 & 6.37414965986395 \tabularnewline
38 & 42.6 & 37.6710204081633 & 4.92897959183674 \tabularnewline
39 & 42.2 & 37.1710204081633 & 5.02897959183673 \tabularnewline
40 & 41.2 & 36.6910204081633 & 4.50897959183674 \tabularnewline
41 & 40.2 & 36.2110204081633 & 3.98897959183674 \tabularnewline
42 & 39.3 & 35.9510204081633 & 3.34897959183673 \tabularnewline
43 & 38.5 & 39.2073469387755 & -0.707346938775512 \tabularnewline
44 & 38.3 & 38.7273469387755 & -0.427346938775513 \tabularnewline
45 & 37.9 & 38.1673469387755 & -0.26734693877551 \tabularnewline
46 & 37.6 & 37.6673469387755 & -0.0673469387755091 \tabularnewline
47 & 37.3 & 37.1673469387755 & 0.132653061224487 \tabularnewline
48 & 36 & 36.6073469387755 & -0.607346938775511 \tabularnewline
49 & 34.5 & 36.5258503401360 & -2.02585034013605 \tabularnewline
50 & 33.5 & 37.6710204081633 & -4.17102040816326 \tabularnewline
51 & 32.9 & 37.1710204081633 & -4.27102040816327 \tabularnewline
52 & 32.9 & 36.6910204081633 & -3.79102040816327 \tabularnewline
53 & 32.8 & 36.2110204081633 & -3.41102040816327 \tabularnewline
54 & 31.9 & 35.9510204081633 & -4.05102040816327 \tabularnewline
55 & 30.5 & 39.2073469387755 & -8.70734693877551 \tabularnewline
56 & 29.2 & 38.7273469387755 & -9.5273469387755 \tabularnewline
57 & 28.7 & 38.1673469387755 & -9.46734693877551 \tabularnewline
58 & 28.4 & 37.6673469387755 & -9.26734693877551 \tabularnewline
59 & 28 & 37.1673469387755 & -9.16734693877551 \tabularnewline
60 & 27.4 & 36.6073469387755 & -9.20734693877552 \tabularnewline
61 & 26.9 & 36.5258503401360 & -9.62585034013605 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&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]56.6[/C][C]53.7074829931973[/C][C]2.89251700680269[/C][/ROW]
[ROW][C]2[/C][C]56[/C][C]54.8526530612245[/C][C]1.14734693877548[/C][/ROW]
[ROW][C]3[/C][C]54.8[/C][C]54.3526530612245[/C][C]0.44734693877551[/C][/ROW]
[ROW][C]4[/C][C]52.7[/C][C]53.8726530612245[/C][C]-1.17265306122449[/C][/ROW]
[ROW][C]5[/C][C]50.9[/C][C]53.3926530612245[/C][C]-2.49265306122449[/C][/ROW]
[ROW][C]6[/C][C]50.6[/C][C]53.1326530612245[/C][C]-2.53265306122449[/C][/ROW]
[ROW][C]7[/C][C]52.1[/C][C]56.3889795918367[/C][C]-4.28897959183673[/C][/ROW]
[ROW][C]8[/C][C]53.3[/C][C]55.9089795918367[/C][C]-2.60897959183673[/C][/ROW]
[ROW][C]9[/C][C]53.9[/C][C]55.3489795918367[/C][C]-1.44897959183673[/C][/ROW]
[ROW][C]10[/C][C]54.3[/C][C]54.8489795918367[/C][C]-0.548979591836734[/C][/ROW]
[ROW][C]11[/C][C]54.2[/C][C]54.3489795918367[/C][C]-0.148979591836729[/C][/ROW]
[ROW][C]12[/C][C]54.2[/C][C]53.7889795918367[/C][C]0.41102040816327[/C][/ROW]
[ROW][C]13[/C][C]53.5[/C][C]53.7074829931973[/C][C]-0.207482993197271[/C][/ROW]
[ROW][C]14[/C][C]51.4[/C][C]54.8526530612245[/C][C]-3.45265306122448[/C][/ROW]
[ROW][C]15[/C][C]50.5[/C][C]54.3526530612245[/C][C]-3.85265306122449[/C][/ROW]
[ROW][C]16[/C][C]50.3[/C][C]53.8726530612245[/C][C]-3.57265306122449[/C][/ROW]
[ROW][C]17[/C][C]49.8[/C][C]53.3926530612245[/C][C]-3.59265306122449[/C][/ROW]
[ROW][C]18[/C][C]50.7[/C][C]53.1326530612245[/C][C]-2.43265306122449[/C][/ROW]
[ROW][C]19[/C][C]52.8[/C][C]56.3889795918367[/C][C]-3.58897959183674[/C][/ROW]
[ROW][C]20[/C][C]55.3[/C][C]55.9089795918367[/C][C]-0.608979591836735[/C][/ROW]
[ROW][C]21[/C][C]57.3[/C][C]55.3489795918367[/C][C]1.95102040816327[/C][/ROW]
[ROW][C]22[/C][C]57.5[/C][C]54.8489795918367[/C][C]2.65102040816327[/C][/ROW]
[ROW][C]23[/C][C]56.8[/C][C]54.3489795918367[/C][C]2.45102040816326[/C][/ROW]
[ROW][C]24[/C][C]56.4[/C][C]53.7889795918367[/C][C]2.61102040816326[/C][/ROW]
[ROW][C]25[/C][C]56.3[/C][C]53.7074829931973[/C][C]2.59251700680273[/C][/ROW]
[ROW][C]26[/C][C]56.4[/C][C]54.8526530612245[/C][C]1.54734693877552[/C][/ROW]
[ROW][C]27[/C][C]57[/C][C]54.3526530612245[/C][C]2.64734693877551[/C][/ROW]
[ROW][C]28[/C][C]57.9[/C][C]53.8726530612245[/C][C]4.02734693877551[/C][/ROW]
[ROW][C]29[/C][C]58.9[/C][C]53.3926530612245[/C][C]5.50734693877552[/C][/ROW]
[ROW][C]30[/C][C]58.8[/C][C]53.1326530612245[/C][C]5.66734693877551[/C][/ROW]
[ROW][C]31[/C][C]56.5[/C][C]39.2073469387755[/C][C]17.2926530612245[/C][/ROW]
[ROW][C]32[/C][C]51.9[/C][C]38.7273469387755[/C][C]13.1726530612245[/C][/ROW]
[ROW][C]33[/C][C]47.4[/C][C]38.1673469387755[/C][C]9.23265306122449[/C][/ROW]
[ROW][C]34[/C][C]44.9[/C][C]37.6673469387755[/C][C]7.23265306122449[/C][/ROW]
[ROW][C]35[/C][C]43.9[/C][C]37.1673469387755[/C][C]6.73265306122449[/C][/ROW]
[ROW][C]36[/C][C]43.4[/C][C]36.6073469387755[/C][C]6.79265306122449[/C][/ROW]
[ROW][C]37[/C][C]42.9[/C][C]36.5258503401360[/C][C]6.37414965986395[/C][/ROW]
[ROW][C]38[/C][C]42.6[/C][C]37.6710204081633[/C][C]4.92897959183674[/C][/ROW]
[ROW][C]39[/C][C]42.2[/C][C]37.1710204081633[/C][C]5.02897959183673[/C][/ROW]
[ROW][C]40[/C][C]41.2[/C][C]36.6910204081633[/C][C]4.50897959183674[/C][/ROW]
[ROW][C]41[/C][C]40.2[/C][C]36.2110204081633[/C][C]3.98897959183674[/C][/ROW]
[ROW][C]42[/C][C]39.3[/C][C]35.9510204081633[/C][C]3.34897959183673[/C][/ROW]
[ROW][C]43[/C][C]38.5[/C][C]39.2073469387755[/C][C]-0.707346938775512[/C][/ROW]
[ROW][C]44[/C][C]38.3[/C][C]38.7273469387755[/C][C]-0.427346938775513[/C][/ROW]
[ROW][C]45[/C][C]37.9[/C][C]38.1673469387755[/C][C]-0.26734693877551[/C][/ROW]
[ROW][C]46[/C][C]37.6[/C][C]37.6673469387755[/C][C]-0.0673469387755091[/C][/ROW]
[ROW][C]47[/C][C]37.3[/C][C]37.1673469387755[/C][C]0.132653061224487[/C][/ROW]
[ROW][C]48[/C][C]36[/C][C]36.6073469387755[/C][C]-0.607346938775511[/C][/ROW]
[ROW][C]49[/C][C]34.5[/C][C]36.5258503401360[/C][C]-2.02585034013605[/C][/ROW]
[ROW][C]50[/C][C]33.5[/C][C]37.6710204081633[/C][C]-4.17102040816326[/C][/ROW]
[ROW][C]51[/C][C]32.9[/C][C]37.1710204081633[/C][C]-4.27102040816327[/C][/ROW]
[ROW][C]52[/C][C]32.9[/C][C]36.6910204081633[/C][C]-3.79102040816327[/C][/ROW]
[ROW][C]53[/C][C]32.8[/C][C]36.2110204081633[/C][C]-3.41102040816327[/C][/ROW]
[ROW][C]54[/C][C]31.9[/C][C]35.9510204081633[/C][C]-4.05102040816327[/C][/ROW]
[ROW][C]55[/C][C]30.5[/C][C]39.2073469387755[/C][C]-8.70734693877551[/C][/ROW]
[ROW][C]56[/C][C]29.2[/C][C]38.7273469387755[/C][C]-9.5273469387755[/C][/ROW]
[ROW][C]57[/C][C]28.7[/C][C]38.1673469387755[/C][C]-9.46734693877551[/C][/ROW]
[ROW][C]58[/C][C]28.4[/C][C]37.6673469387755[/C][C]-9.26734693877551[/C][/ROW]
[ROW][C]59[/C][C]28[/C][C]37.1673469387755[/C][C]-9.16734693877551[/C][/ROW]
[ROW][C]60[/C][C]27.4[/C][C]36.6073469387755[/C][C]-9.20734693877552[/C][/ROW]
[ROW][C]61[/C][C]26.9[/C][C]36.5258503401360[/C][C]-9.62585034013605[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57810&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
156.653.70748299319732.89251700680269
25654.85265306122451.14734693877548
354.854.35265306122450.44734693877551
452.753.8726530612245-1.17265306122449
550.953.3926530612245-2.49265306122449
650.653.1326530612245-2.53265306122449
752.156.3889795918367-4.28897959183673
853.355.9089795918367-2.60897959183673
953.955.3489795918367-1.44897959183673
1054.354.8489795918367-0.548979591836734
1154.254.3489795918367-0.148979591836729
1254.253.78897959183670.41102040816327
1353.553.7074829931973-0.207482993197271
1451.454.8526530612245-3.45265306122448
1550.554.3526530612245-3.85265306122449
1650.353.8726530612245-3.57265306122449
1749.853.3926530612245-3.59265306122449
1850.753.1326530612245-2.43265306122449
1952.856.3889795918367-3.58897959183674
2055.355.9089795918367-0.608979591836735
2157.355.34897959183671.95102040816327
2257.554.84897959183672.65102040816327
2356.854.34897959183672.45102040816326
2456.453.78897959183672.61102040816326
2556.353.70748299319732.59251700680273
2656.454.85265306122451.54734693877552
275754.35265306122452.64734693877551
2857.953.87265306122454.02734693877551
2958.953.39265306122455.50734693877552
3058.853.13265306122455.66734693877551
3156.539.207346938775517.2926530612245
3251.938.727346938775513.1726530612245
3347.438.16734693877559.23265306122449
3444.937.66734693877557.23265306122449
3543.937.16734693877556.73265306122449
3643.436.60734693877556.79265306122449
3742.936.52585034013606.37414965986395
3842.637.67102040816334.92897959183674
3942.237.17102040816335.02897959183673
4041.236.69102040816334.50897959183674
4140.236.21102040816333.98897959183674
4239.335.95102040816333.34897959183673
4338.539.2073469387755-0.707346938775512
4438.338.7273469387755-0.427346938775513
4537.938.1673469387755-0.26734693877551
4637.637.6673469387755-0.0673469387755091
4737.337.16734693877550.132653061224487
483636.6073469387755-0.607346938775511
4934.536.5258503401360-2.02585034013605
5033.537.6710204081633-4.17102040816326
5132.937.1710204081633-4.27102040816327
5232.936.6910204081633-3.79102040816327
5332.836.2110204081633-3.41102040816327
5431.935.9510204081633-4.05102040816327
5530.539.2073469387755-8.70734693877551
5629.238.7273469387755-9.5273469387755
5728.738.1673469387755-9.46734693877551
5828.437.6673469387755-9.26734693877551
592837.1673469387755-9.16734693877551
6027.436.6073469387755-9.20734693877552
6126.936.5258503401360-9.62585034013605







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09079147330583380.1815829466116680.909208526694166
170.03242296548280090.06484593096560180.96757703451720
180.01012049993146910.02024099986293810.98987950006853
190.003178133351869610.006356266703739220.99682186664813
200.001068430268876920.002136860537753830.998931569731123
210.0005092090057420830.001018418011484170.999490790994258
220.0002226141759489350.0004452283518978710.99977738582405
238.04947863379647e-050.0001609895726759290.999919505213662
242.57810506126255e-055.1562101225251e-050.999974218949387
256.88833087188077e-061.37766617437615e-050.999993111669128
262.82165500876413e-065.64331001752827e-060.999997178344991
272.51778939777423e-065.03557879554846e-060.999997482210602
286.18612248012076e-061.23722449602415e-050.99999381387752
292.97176721365546e-055.94353442731092e-050.999970282327863
306.04808323064724e-050.0001209616646129450.999939519167694
310.0001126712167216470.0002253424334432940.999887328783278
320.0002888042166430760.0005776084332861530.999711195783357
330.0009768204860262880.001953640972052580.999023179513974
340.002498305616785520.004996611233571030.997501694383214
350.004497090437975110.008994180875950220.995502909562025
360.00794169633944940.01588339267889880.99205830366055
370.01694496478525340.03388992957050670.983055035214747
380.01753880761015130.03507761522030260.982461192389849
390.0183469607587060.0366939215174120.981653039241294
400.01765549305989350.03531098611978690.982344506940107
410.01559258134545960.03118516269091910.98440741865454
420.01440667257635840.02881334515271680.985593327423642
430.02182925755605570.04365851511211130.978170742443944
440.03348490998774620.06696981997549230.966515090012254
450.04649601652655840.09299203305311680.953503983473442

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0907914733058338 & 0.181582946611668 & 0.909208526694166 \tabularnewline
17 & 0.0324229654828009 & 0.0648459309656018 & 0.96757703451720 \tabularnewline
18 & 0.0101204999314691 & 0.0202409998629381 & 0.98987950006853 \tabularnewline
19 & 0.00317813335186961 & 0.00635626670373922 & 0.99682186664813 \tabularnewline
20 & 0.00106843026887692 & 0.00213686053775383 & 0.998931569731123 \tabularnewline
21 & 0.000509209005742083 & 0.00101841801148417 & 0.999490790994258 \tabularnewline
22 & 0.000222614175948935 & 0.000445228351897871 & 0.99977738582405 \tabularnewline
23 & 8.04947863379647e-05 & 0.000160989572675929 & 0.999919505213662 \tabularnewline
24 & 2.57810506126255e-05 & 5.1562101225251e-05 & 0.999974218949387 \tabularnewline
25 & 6.88833087188077e-06 & 1.37766617437615e-05 & 0.999993111669128 \tabularnewline
26 & 2.82165500876413e-06 & 5.64331001752827e-06 & 0.999997178344991 \tabularnewline
27 & 2.51778939777423e-06 & 5.03557879554846e-06 & 0.999997482210602 \tabularnewline
28 & 6.18612248012076e-06 & 1.23722449602415e-05 & 0.99999381387752 \tabularnewline
29 & 2.97176721365546e-05 & 5.94353442731092e-05 & 0.999970282327863 \tabularnewline
30 & 6.04808323064724e-05 & 0.000120961664612945 & 0.999939519167694 \tabularnewline
31 & 0.000112671216721647 & 0.000225342433443294 & 0.999887328783278 \tabularnewline
32 & 0.000288804216643076 & 0.000577608433286153 & 0.999711195783357 \tabularnewline
33 & 0.000976820486026288 & 0.00195364097205258 & 0.999023179513974 \tabularnewline
34 & 0.00249830561678552 & 0.00499661123357103 & 0.997501694383214 \tabularnewline
35 & 0.00449709043797511 & 0.00899418087595022 & 0.995502909562025 \tabularnewline
36 & 0.0079416963394494 & 0.0158833926788988 & 0.99205830366055 \tabularnewline
37 & 0.0169449647852534 & 0.0338899295705067 & 0.983055035214747 \tabularnewline
38 & 0.0175388076101513 & 0.0350776152203026 & 0.982461192389849 \tabularnewline
39 & 0.018346960758706 & 0.036693921517412 & 0.981653039241294 \tabularnewline
40 & 0.0176554930598935 & 0.0353109861197869 & 0.982344506940107 \tabularnewline
41 & 0.0155925813454596 & 0.0311851626909191 & 0.98440741865454 \tabularnewline
42 & 0.0144066725763584 & 0.0288133451527168 & 0.985593327423642 \tabularnewline
43 & 0.0218292575560557 & 0.0436585151121113 & 0.978170742443944 \tabularnewline
44 & 0.0334849099877462 & 0.0669698199754923 & 0.966515090012254 \tabularnewline
45 & 0.0464960165265584 & 0.0929920330531168 & 0.953503983473442 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&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.0907914733058338[/C][C]0.181582946611668[/C][C]0.909208526694166[/C][/ROW]
[ROW][C]17[/C][C]0.0324229654828009[/C][C]0.0648459309656018[/C][C]0.96757703451720[/C][/ROW]
[ROW][C]18[/C][C]0.0101204999314691[/C][C]0.0202409998629381[/C][C]0.98987950006853[/C][/ROW]
[ROW][C]19[/C][C]0.00317813335186961[/C][C]0.00635626670373922[/C][C]0.99682186664813[/C][/ROW]
[ROW][C]20[/C][C]0.00106843026887692[/C][C]0.00213686053775383[/C][C]0.998931569731123[/C][/ROW]
[ROW][C]21[/C][C]0.000509209005742083[/C][C]0.00101841801148417[/C][C]0.999490790994258[/C][/ROW]
[ROW][C]22[/C][C]0.000222614175948935[/C][C]0.000445228351897871[/C][C]0.99977738582405[/C][/ROW]
[ROW][C]23[/C][C]8.04947863379647e-05[/C][C]0.000160989572675929[/C][C]0.999919505213662[/C][/ROW]
[ROW][C]24[/C][C]2.57810506126255e-05[/C][C]5.1562101225251e-05[/C][C]0.999974218949387[/C][/ROW]
[ROW][C]25[/C][C]6.88833087188077e-06[/C][C]1.37766617437615e-05[/C][C]0.999993111669128[/C][/ROW]
[ROW][C]26[/C][C]2.82165500876413e-06[/C][C]5.64331001752827e-06[/C][C]0.999997178344991[/C][/ROW]
[ROW][C]27[/C][C]2.51778939777423e-06[/C][C]5.03557879554846e-06[/C][C]0.999997482210602[/C][/ROW]
[ROW][C]28[/C][C]6.18612248012076e-06[/C][C]1.23722449602415e-05[/C][C]0.99999381387752[/C][/ROW]
[ROW][C]29[/C][C]2.97176721365546e-05[/C][C]5.94353442731092e-05[/C][C]0.999970282327863[/C][/ROW]
[ROW][C]30[/C][C]6.04808323064724e-05[/C][C]0.000120961664612945[/C][C]0.999939519167694[/C][/ROW]
[ROW][C]31[/C][C]0.000112671216721647[/C][C]0.000225342433443294[/C][C]0.999887328783278[/C][/ROW]
[ROW][C]32[/C][C]0.000288804216643076[/C][C]0.000577608433286153[/C][C]0.999711195783357[/C][/ROW]
[ROW][C]33[/C][C]0.000976820486026288[/C][C]0.00195364097205258[/C][C]0.999023179513974[/C][/ROW]
[ROW][C]34[/C][C]0.00249830561678552[/C][C]0.00499661123357103[/C][C]0.997501694383214[/C][/ROW]
[ROW][C]35[/C][C]0.00449709043797511[/C][C]0.00899418087595022[/C][C]0.995502909562025[/C][/ROW]
[ROW][C]36[/C][C]0.0079416963394494[/C][C]0.0158833926788988[/C][C]0.99205830366055[/C][/ROW]
[ROW][C]37[/C][C]0.0169449647852534[/C][C]0.0338899295705067[/C][C]0.983055035214747[/C][/ROW]
[ROW][C]38[/C][C]0.0175388076101513[/C][C]0.0350776152203026[/C][C]0.982461192389849[/C][/ROW]
[ROW][C]39[/C][C]0.018346960758706[/C][C]0.036693921517412[/C][C]0.981653039241294[/C][/ROW]
[ROW][C]40[/C][C]0.0176554930598935[/C][C]0.0353109861197869[/C][C]0.982344506940107[/C][/ROW]
[ROW][C]41[/C][C]0.0155925813454596[/C][C]0.0311851626909191[/C][C]0.98440741865454[/C][/ROW]
[ROW][C]42[/C][C]0.0144066725763584[/C][C]0.0288133451527168[/C][C]0.985593327423642[/C][/ROW]
[ROW][C]43[/C][C]0.0218292575560557[/C][C]0.0436585151121113[/C][C]0.978170742443944[/C][/ROW]
[ROW][C]44[/C][C]0.0334849099877462[/C][C]0.0669698199754923[/C][C]0.966515090012254[/C][/ROW]
[ROW][C]45[/C][C]0.0464960165265584[/C][C]0.0929920330531168[/C][C]0.953503983473442[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57810&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.09079147330583380.1815829466116680.909208526694166
170.03242296548280090.06484593096560180.96757703451720
180.01012049993146910.02024099986293810.98987950006853
190.003178133351869610.006356266703739220.99682186664813
200.001068430268876920.002136860537753830.998931569731123
210.0005092090057420830.001018418011484170.999490790994258
220.0002226141759489350.0004452283518978710.99977738582405
238.04947863379647e-050.0001609895726759290.999919505213662
242.57810506126255e-055.1562101225251e-050.999974218949387
256.88833087188077e-061.37766617437615e-050.999993111669128
262.82165500876413e-065.64331001752827e-060.999997178344991
272.51778939777423e-065.03557879554846e-060.999997482210602
286.18612248012076e-061.23722449602415e-050.99999381387752
292.97176721365546e-055.94353442731092e-050.999970282327863
306.04808323064724e-050.0001209616646129450.999939519167694
310.0001126712167216470.0002253424334432940.999887328783278
320.0002888042166430760.0005776084332861530.999711195783357
330.0009768204860262880.001953640972052580.999023179513974
340.002498305616785520.004996611233571030.997501694383214
350.004497090437975110.008994180875950220.995502909562025
360.00794169633944940.01588339267889880.99205830366055
370.01694496478525340.03388992957050670.983055035214747
380.01753880761015130.03507761522030260.982461192389849
390.0183469607587060.0366939215174120.981653039241294
400.01765549305989350.03531098611978690.982344506940107
410.01559258134545960.03118516269091910.98440741865454
420.01440667257635840.02881334515271680.985593327423642
430.02182925755605570.04365851511211130.978170742443944
440.03348490998774620.06696981997549230.966515090012254
450.04649601652655840.09299203305311680.953503983473442







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.566666666666667NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK

\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 & 17 & 0.566666666666667 & NOK \tabularnewline
5% type I error level & 26 & 0.866666666666667 & NOK \tabularnewline
10% type I error level & 29 & 0.966666666666667 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57810&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]17[/C][C]0.566666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]26[/C][C]0.866666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]29[/C][C]0.966666666666667[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57810&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57810&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 level170.566666666666667NOK
5% type I error level260.866666666666667NOK
10% type I error level290.966666666666667NOK



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