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 computationTue, 21 Dec 2010 18:01:47 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/21/t1292954391gerok26waaqds1w.htm/, Retrieved Mon, 06 May 2024 18:51:57 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=113791, Retrieved Mon, 06 May 2024 18:51:57 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact151
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
-   PD  [Multiple Regression] [Meervoudige regre...] [2010-11-19 12:47:27] [2960375a246cc0628590c95c4038a43c]
-   PD    [Multiple Regression] [Meervoudige regre...] [2010-11-21 10:08:26] [2960375a246cc0628590c95c4038a43c]
- R  D      [Multiple Regression] [Mini-tutorial Ws 7] [2010-11-23 19:58:46] [608064602fec1c42028cf50c6f981c88]
-   PD        [Multiple Regression] [Seizoenseffecten ...] [2010-11-30 08:53:41] [608064602fec1c42028cf50c6f981c88]
-    D          [Multiple Regression] [maandeffecten-Ws 8] [2010-11-30 19:51:31] [608064602fec1c42028cf50c6f981c88]
-    D              [Multiple Regression] [Maandeffecten-Paper] [2010-12-21 18:01:47] [8bf9de033bd61652831a8b7489bc3566] [Current]
-   PD                [Multiple Regression] [Lineaire trend - ...] [2010-12-21 18:49:04] [608064602fec1c42028cf50c6f981c88]
Feedback Forum

Post a new message
Dataseries X:
8,1
9,9
11,5
23,4
25,4
27,9
26,1
18,8
14,1
11,5
15,8
12,4
4,5
-2,2
-4,2
-9,4
-14,5
-17,9
-15,1
-15,2
-15,7
-18
-18,1
-13,5
-9,9
-4,8
-1,7
-0,1
2,2
10,2
7,6
10,8
3,8
11
10,8
20,1
14,9
13
10,9
9,6
4
-1,1
-7,7
-8,9
-8
-7,1
-5,3
-2,5
-2,4
-2,9
-4,8
-7,2
1,7
2,2
13,4
12,3
13,7
4,4
-2,5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&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]6 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=113791&T=0

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







Multiple Linear Regression - Estimated Regression Equation
registraties_personenwagens[t] = + 4.12500000000001 -1.08500000000000M1[t] -1.525M2[t] -1.78499999999999M3[t] -0.86500000000001M4[t] -0.365000000000011M5[t] + 0.134999999999982M6[t] + 0.735000000000008M7[t] -0.565000000000003M8[t] -2.545M9[t] -3.76500000000001M10[t] -3.985M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
registraties_personenwagens[t] =  +  4.12500000000001 -1.08500000000000M1[t] -1.525M2[t] -1.78499999999999M3[t] -0.86500000000001M4[t] -0.365000000000011M5[t] +  0.134999999999982M6[t] +  0.735000000000008M7[t] -0.565000000000003M8[t] -2.545M9[t] -3.76500000000001M10[t] -3.985M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]registraties_personenwagens[t] =  +  4.12500000000001 -1.08500000000000M1[t] -1.525M2[t] -1.78499999999999M3[t] -0.86500000000001M4[t] -0.365000000000011M5[t] +  0.134999999999982M6[t] +  0.735000000000008M7[t] -0.565000000000003M8[t] -2.545M9[t] -3.76500000000001M10[t] -3.985M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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
registraties_personenwagens[t] = + 4.12500000000001 -1.08500000000000M1[t] -1.525M2[t] -1.78499999999999M3[t] -0.86500000000001M4[t] -0.365000000000011M5[t] + 0.134999999999982M6[t] + 0.735000000000008M7[t] -0.565000000000003M8[t] -2.545M9[t] -3.76500000000001M10[t] -3.985M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4.125000000000016.6297380.62220.536820.26841
M1-1.085000000000008.894727-0.1220.9034330.451717
M2-1.5258.894727-0.17140.8646060.432303
M3-1.784999999999998.894727-0.20070.8418140.420907
M4-0.865000000000018.894727-0.09720.9229420.461471
M5-0.3650000000000118.894727-0.0410.9674410.483721
M60.1349999999999828.8947270.01520.9879550.493977
M70.7350000000000088.8947270.08260.9344940.467247
M8-0.5650000000000038.894727-0.06350.9496210.474811
M9-2.5458.894727-0.28610.776040.38802
M10-3.765000000000018.894727-0.42330.6740180.337009
M11-3.9858.894727-0.4480.6561980.328099

\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) & 4.12500000000001 & 6.629738 & 0.6222 & 0.53682 & 0.26841 \tabularnewline
M1 & -1.08500000000000 & 8.894727 & -0.122 & 0.903433 & 0.451717 \tabularnewline
M2 & -1.525 & 8.894727 & -0.1714 & 0.864606 & 0.432303 \tabularnewline
M3 & -1.78499999999999 & 8.894727 & -0.2007 & 0.841814 & 0.420907 \tabularnewline
M4 & -0.86500000000001 & 8.894727 & -0.0972 & 0.922942 & 0.461471 \tabularnewline
M5 & -0.365000000000011 & 8.894727 & -0.041 & 0.967441 & 0.483721 \tabularnewline
M6 & 0.134999999999982 & 8.894727 & 0.0152 & 0.987955 & 0.493977 \tabularnewline
M7 & 0.735000000000008 & 8.894727 & 0.0826 & 0.934494 & 0.467247 \tabularnewline
M8 & -0.565000000000003 & 8.894727 & -0.0635 & 0.949621 & 0.474811 \tabularnewline
M9 & -2.545 & 8.894727 & -0.2861 & 0.77604 & 0.38802 \tabularnewline
M10 & -3.76500000000001 & 8.894727 & -0.4233 & 0.674018 & 0.337009 \tabularnewline
M11 & -3.985 & 8.894727 & -0.448 & 0.656198 & 0.328099 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&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]4.12500000000001[/C][C]6.629738[/C][C]0.6222[/C][C]0.53682[/C][C]0.26841[/C][/ROW]
[ROW][C]M1[/C][C]-1.08500000000000[/C][C]8.894727[/C][C]-0.122[/C][C]0.903433[/C][C]0.451717[/C][/ROW]
[ROW][C]M2[/C][C]-1.525[/C][C]8.894727[/C][C]-0.1714[/C][C]0.864606[/C][C]0.432303[/C][/ROW]
[ROW][C]M3[/C][C]-1.78499999999999[/C][C]8.894727[/C][C]-0.2007[/C][C]0.841814[/C][C]0.420907[/C][/ROW]
[ROW][C]M4[/C][C]-0.86500000000001[/C][C]8.894727[/C][C]-0.0972[/C][C]0.922942[/C][C]0.461471[/C][/ROW]
[ROW][C]M5[/C][C]-0.365000000000011[/C][C]8.894727[/C][C]-0.041[/C][C]0.967441[/C][C]0.483721[/C][/ROW]
[ROW][C]M6[/C][C]0.134999999999982[/C][C]8.894727[/C][C]0.0152[/C][C]0.987955[/C][C]0.493977[/C][/ROW]
[ROW][C]M7[/C][C]0.735000000000008[/C][C]8.894727[/C][C]0.0826[/C][C]0.934494[/C][C]0.467247[/C][/ROW]
[ROW][C]M8[/C][C]-0.565000000000003[/C][C]8.894727[/C][C]-0.0635[/C][C]0.949621[/C][C]0.474811[/C][/ROW]
[ROW][C]M9[/C][C]-2.545[/C][C]8.894727[/C][C]-0.2861[/C][C]0.77604[/C][C]0.38802[/C][/ROW]
[ROW][C]M10[/C][C]-3.76500000000001[/C][C]8.894727[/C][C]-0.4233[/C][C]0.674018[/C][C]0.337009[/C][/ROW]
[ROW][C]M11[/C][C]-3.985[/C][C]8.894727[/C][C]-0.448[/C][C]0.656198[/C][C]0.328099[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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)4.125000000000016.6297380.62220.536820.26841
M1-1.085000000000008.894727-0.1220.9034330.451717
M2-1.5258.894727-0.17140.8646060.432303
M3-1.784999999999998.894727-0.20070.8418140.420907
M4-0.865000000000018.894727-0.09720.9229420.461471
M5-0.3650000000000118.894727-0.0410.9674410.483721
M60.1349999999999828.8947270.01520.9879550.493977
M70.7350000000000088.8947270.08260.9344940.467247
M8-0.5650000000000038.894727-0.06350.9496210.474811
M9-2.5458.894727-0.28610.776040.38802
M10-3.765000000000018.894727-0.42330.6740180.337009
M11-3.9858.894727-0.4480.6561980.328099







Multiple Linear Regression - Regression Statistics
Multiple R0.120419064580162
R-squared0.0145007511143612
Adjusted R-squared-0.216148009263129
F-TEST (value)0.0628694084053545
F-TEST (DF numerator)11
F-TEST (DF denominator)47
p-value0.999988437281317
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.2594755359841
Sum Squared Residuals8263.2435

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.120419064580162 \tabularnewline
R-squared & 0.0145007511143612 \tabularnewline
Adjusted R-squared & -0.216148009263129 \tabularnewline
F-TEST (value) & 0.0628694084053545 \tabularnewline
F-TEST (DF numerator) & 11 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.999988437281317 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 13.2594755359841 \tabularnewline
Sum Squared Residuals & 8263.2435 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.120419064580162[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0145007511143612[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.216148009263129[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.0628694084053545[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]11[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.999988437281317[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]13.2594755359841[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]8263.2435[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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.120419064580162
R-squared0.0145007511143612
Adjusted R-squared-0.216148009263129
F-TEST (value)0.0628694084053545
F-TEST (DF numerator)11
F-TEST (DF denominator)47
p-value0.999988437281317
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation13.2594755359841
Sum Squared Residuals8263.2435







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.13.039999999999985.06000000000002
29.92.67.3
311.52.339999999999989.16000000000002
423.43.2600000000000120.14
525.43.7599999999999921.64
627.94.2600000000000123.64
726.14.8621.24
818.83.5600000000000115.24
914.11.5800000000000112.52
1011.50.36000000000000111.14
1115.80.13999999999999915.66
1212.44.1258.275
134.53.040000000000001.46000000000000
14-2.22.60000000000001-4.80000000000001
15-4.22.34000000000000-6.54
16-9.43.25999999999999-12.66
17-14.53.75999999999998-18.26
18-17.94.25999999999999-22.16
19-15.14.86000000000001-19.96
20-15.23.56-18.76
21-15.71.58000000000001-17.28
22-180.360000000000003-18.36
23-18.10.140000000000004-18.24
24-13.54.125-17.625
25-9.93.04000000000001-12.94
26-4.82.60000000000001-7.40000000000001
27-1.72.34000000000000-4.04
28-0.13.25999999999999-3.35999999999999
292.23.75999999999998-1.55999999999998
3010.24.259999999999995.94000000000001
317.64.860000000000012.73999999999999
3210.83.567.24
333.81.582.22
34110.35999999999999910.64
3510.80.14000000000000110.66
3620.14.1250000000000115.975
3714.93.0400000000000111.86
38132.6000000000000110.4000000000000
3910.92.348.56
409.63.259999999999996.34000000000001
4143.759999999999990.240000000000014
42-1.14.25999999999999-5.35999999999999
43-7.74.86000000000002-12.5600000000000
44-8.93.56-12.46
45-81.58000000000000-9.58
46-7.10.360000000000005-7.46
47-5.30.140000000000001-5.44
48-2.54.125-6.625
49-2.43.04000000000001-5.44000000000001
50-2.92.60000000000001-5.50000000000001
51-4.82.34000000000000-7.14
52-7.23.25999999999999-10.46
531.73.75999999999998-2.05999999999998
542.24.25999999999999-2.05999999999999
5513.44.860000000000018.54
5612.33.568.74
5713.71.5800000000000012.12
584.40.3599999999999994.04
59-2.50.139999999999997-2.64000000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.1 & 3.03999999999998 & 5.06000000000002 \tabularnewline
2 & 9.9 & 2.6 & 7.3 \tabularnewline
3 & 11.5 & 2.33999999999998 & 9.16000000000002 \tabularnewline
4 & 23.4 & 3.26000000000001 & 20.14 \tabularnewline
5 & 25.4 & 3.75999999999999 & 21.64 \tabularnewline
6 & 27.9 & 4.26000000000001 & 23.64 \tabularnewline
7 & 26.1 & 4.86 & 21.24 \tabularnewline
8 & 18.8 & 3.56000000000001 & 15.24 \tabularnewline
9 & 14.1 & 1.58000000000001 & 12.52 \tabularnewline
10 & 11.5 & 0.360000000000001 & 11.14 \tabularnewline
11 & 15.8 & 0.139999999999999 & 15.66 \tabularnewline
12 & 12.4 & 4.125 & 8.275 \tabularnewline
13 & 4.5 & 3.04000000000000 & 1.46000000000000 \tabularnewline
14 & -2.2 & 2.60000000000001 & -4.80000000000001 \tabularnewline
15 & -4.2 & 2.34000000000000 & -6.54 \tabularnewline
16 & -9.4 & 3.25999999999999 & -12.66 \tabularnewline
17 & -14.5 & 3.75999999999998 & -18.26 \tabularnewline
18 & -17.9 & 4.25999999999999 & -22.16 \tabularnewline
19 & -15.1 & 4.86000000000001 & -19.96 \tabularnewline
20 & -15.2 & 3.56 & -18.76 \tabularnewline
21 & -15.7 & 1.58000000000001 & -17.28 \tabularnewline
22 & -18 & 0.360000000000003 & -18.36 \tabularnewline
23 & -18.1 & 0.140000000000004 & -18.24 \tabularnewline
24 & -13.5 & 4.125 & -17.625 \tabularnewline
25 & -9.9 & 3.04000000000001 & -12.94 \tabularnewline
26 & -4.8 & 2.60000000000001 & -7.40000000000001 \tabularnewline
27 & -1.7 & 2.34000000000000 & -4.04 \tabularnewline
28 & -0.1 & 3.25999999999999 & -3.35999999999999 \tabularnewline
29 & 2.2 & 3.75999999999998 & -1.55999999999998 \tabularnewline
30 & 10.2 & 4.25999999999999 & 5.94000000000001 \tabularnewline
31 & 7.6 & 4.86000000000001 & 2.73999999999999 \tabularnewline
32 & 10.8 & 3.56 & 7.24 \tabularnewline
33 & 3.8 & 1.58 & 2.22 \tabularnewline
34 & 11 & 0.359999999999999 & 10.64 \tabularnewline
35 & 10.8 & 0.140000000000001 & 10.66 \tabularnewline
36 & 20.1 & 4.12500000000001 & 15.975 \tabularnewline
37 & 14.9 & 3.04000000000001 & 11.86 \tabularnewline
38 & 13 & 2.60000000000001 & 10.4000000000000 \tabularnewline
39 & 10.9 & 2.34 & 8.56 \tabularnewline
40 & 9.6 & 3.25999999999999 & 6.34000000000001 \tabularnewline
41 & 4 & 3.75999999999999 & 0.240000000000014 \tabularnewline
42 & -1.1 & 4.25999999999999 & -5.35999999999999 \tabularnewline
43 & -7.7 & 4.86000000000002 & -12.5600000000000 \tabularnewline
44 & -8.9 & 3.56 & -12.46 \tabularnewline
45 & -8 & 1.58000000000000 & -9.58 \tabularnewline
46 & -7.1 & 0.360000000000005 & -7.46 \tabularnewline
47 & -5.3 & 0.140000000000001 & -5.44 \tabularnewline
48 & -2.5 & 4.125 & -6.625 \tabularnewline
49 & -2.4 & 3.04000000000001 & -5.44000000000001 \tabularnewline
50 & -2.9 & 2.60000000000001 & -5.50000000000001 \tabularnewline
51 & -4.8 & 2.34000000000000 & -7.14 \tabularnewline
52 & -7.2 & 3.25999999999999 & -10.46 \tabularnewline
53 & 1.7 & 3.75999999999998 & -2.05999999999998 \tabularnewline
54 & 2.2 & 4.25999999999999 & -2.05999999999999 \tabularnewline
55 & 13.4 & 4.86000000000001 & 8.54 \tabularnewline
56 & 12.3 & 3.56 & 8.74 \tabularnewline
57 & 13.7 & 1.58000000000000 & 12.12 \tabularnewline
58 & 4.4 & 0.359999999999999 & 4.04 \tabularnewline
59 & -2.5 & 0.139999999999997 & -2.64000000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&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]8.1[/C][C]3.03999999999998[/C][C]5.06000000000002[/C][/ROW]
[ROW][C]2[/C][C]9.9[/C][C]2.6[/C][C]7.3[/C][/ROW]
[ROW][C]3[/C][C]11.5[/C][C]2.33999999999998[/C][C]9.16000000000002[/C][/ROW]
[ROW][C]4[/C][C]23.4[/C][C]3.26000000000001[/C][C]20.14[/C][/ROW]
[ROW][C]5[/C][C]25.4[/C][C]3.75999999999999[/C][C]21.64[/C][/ROW]
[ROW][C]6[/C][C]27.9[/C][C]4.26000000000001[/C][C]23.64[/C][/ROW]
[ROW][C]7[/C][C]26.1[/C][C]4.86[/C][C]21.24[/C][/ROW]
[ROW][C]8[/C][C]18.8[/C][C]3.56000000000001[/C][C]15.24[/C][/ROW]
[ROW][C]9[/C][C]14.1[/C][C]1.58000000000001[/C][C]12.52[/C][/ROW]
[ROW][C]10[/C][C]11.5[/C][C]0.360000000000001[/C][C]11.14[/C][/ROW]
[ROW][C]11[/C][C]15.8[/C][C]0.139999999999999[/C][C]15.66[/C][/ROW]
[ROW][C]12[/C][C]12.4[/C][C]4.125[/C][C]8.275[/C][/ROW]
[ROW][C]13[/C][C]4.5[/C][C]3.04000000000000[/C][C]1.46000000000000[/C][/ROW]
[ROW][C]14[/C][C]-2.2[/C][C]2.60000000000001[/C][C]-4.80000000000001[/C][/ROW]
[ROW][C]15[/C][C]-4.2[/C][C]2.34000000000000[/C][C]-6.54[/C][/ROW]
[ROW][C]16[/C][C]-9.4[/C][C]3.25999999999999[/C][C]-12.66[/C][/ROW]
[ROW][C]17[/C][C]-14.5[/C][C]3.75999999999998[/C][C]-18.26[/C][/ROW]
[ROW][C]18[/C][C]-17.9[/C][C]4.25999999999999[/C][C]-22.16[/C][/ROW]
[ROW][C]19[/C][C]-15.1[/C][C]4.86000000000001[/C][C]-19.96[/C][/ROW]
[ROW][C]20[/C][C]-15.2[/C][C]3.56[/C][C]-18.76[/C][/ROW]
[ROW][C]21[/C][C]-15.7[/C][C]1.58000000000001[/C][C]-17.28[/C][/ROW]
[ROW][C]22[/C][C]-18[/C][C]0.360000000000003[/C][C]-18.36[/C][/ROW]
[ROW][C]23[/C][C]-18.1[/C][C]0.140000000000004[/C][C]-18.24[/C][/ROW]
[ROW][C]24[/C][C]-13.5[/C][C]4.125[/C][C]-17.625[/C][/ROW]
[ROW][C]25[/C][C]-9.9[/C][C]3.04000000000001[/C][C]-12.94[/C][/ROW]
[ROW][C]26[/C][C]-4.8[/C][C]2.60000000000001[/C][C]-7.40000000000001[/C][/ROW]
[ROW][C]27[/C][C]-1.7[/C][C]2.34000000000000[/C][C]-4.04[/C][/ROW]
[ROW][C]28[/C][C]-0.1[/C][C]3.25999999999999[/C][C]-3.35999999999999[/C][/ROW]
[ROW][C]29[/C][C]2.2[/C][C]3.75999999999998[/C][C]-1.55999999999998[/C][/ROW]
[ROW][C]30[/C][C]10.2[/C][C]4.25999999999999[/C][C]5.94000000000001[/C][/ROW]
[ROW][C]31[/C][C]7.6[/C][C]4.86000000000001[/C][C]2.73999999999999[/C][/ROW]
[ROW][C]32[/C][C]10.8[/C][C]3.56[/C][C]7.24[/C][/ROW]
[ROW][C]33[/C][C]3.8[/C][C]1.58[/C][C]2.22[/C][/ROW]
[ROW][C]34[/C][C]11[/C][C]0.359999999999999[/C][C]10.64[/C][/ROW]
[ROW][C]35[/C][C]10.8[/C][C]0.140000000000001[/C][C]10.66[/C][/ROW]
[ROW][C]36[/C][C]20.1[/C][C]4.12500000000001[/C][C]15.975[/C][/ROW]
[ROW][C]37[/C][C]14.9[/C][C]3.04000000000001[/C][C]11.86[/C][/ROW]
[ROW][C]38[/C][C]13[/C][C]2.60000000000001[/C][C]10.4000000000000[/C][/ROW]
[ROW][C]39[/C][C]10.9[/C][C]2.34[/C][C]8.56[/C][/ROW]
[ROW][C]40[/C][C]9.6[/C][C]3.25999999999999[/C][C]6.34000000000001[/C][/ROW]
[ROW][C]41[/C][C]4[/C][C]3.75999999999999[/C][C]0.240000000000014[/C][/ROW]
[ROW][C]42[/C][C]-1.1[/C][C]4.25999999999999[/C][C]-5.35999999999999[/C][/ROW]
[ROW][C]43[/C][C]-7.7[/C][C]4.86000000000002[/C][C]-12.5600000000000[/C][/ROW]
[ROW][C]44[/C][C]-8.9[/C][C]3.56[/C][C]-12.46[/C][/ROW]
[ROW][C]45[/C][C]-8[/C][C]1.58000000000000[/C][C]-9.58[/C][/ROW]
[ROW][C]46[/C][C]-7.1[/C][C]0.360000000000005[/C][C]-7.46[/C][/ROW]
[ROW][C]47[/C][C]-5.3[/C][C]0.140000000000001[/C][C]-5.44[/C][/ROW]
[ROW][C]48[/C][C]-2.5[/C][C]4.125[/C][C]-6.625[/C][/ROW]
[ROW][C]49[/C][C]-2.4[/C][C]3.04000000000001[/C][C]-5.44000000000001[/C][/ROW]
[ROW][C]50[/C][C]-2.9[/C][C]2.60000000000001[/C][C]-5.50000000000001[/C][/ROW]
[ROW][C]51[/C][C]-4.8[/C][C]2.34000000000000[/C][C]-7.14[/C][/ROW]
[ROW][C]52[/C][C]-7.2[/C][C]3.25999999999999[/C][C]-10.46[/C][/ROW]
[ROW][C]53[/C][C]1.7[/C][C]3.75999999999998[/C][C]-2.05999999999998[/C][/ROW]
[ROW][C]54[/C][C]2.2[/C][C]4.25999999999999[/C][C]-2.05999999999999[/C][/ROW]
[ROW][C]55[/C][C]13.4[/C][C]4.86000000000001[/C][C]8.54[/C][/ROW]
[ROW][C]56[/C][C]12.3[/C][C]3.56[/C][C]8.74[/C][/ROW]
[ROW][C]57[/C][C]13.7[/C][C]1.58000000000000[/C][C]12.12[/C][/ROW]
[ROW][C]58[/C][C]4.4[/C][C]0.359999999999999[/C][C]4.04[/C][/ROW]
[ROW][C]59[/C][C]-2.5[/C][C]0.139999999999997[/C][C]-2.64000000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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
18.13.039999999999985.06000000000002
29.92.67.3
311.52.339999999999989.16000000000002
423.43.2600000000000120.14
525.43.7599999999999921.64
627.94.2600000000000123.64
726.14.8621.24
818.83.5600000000000115.24
914.11.5800000000000112.52
1011.50.36000000000000111.14
1115.80.13999999999999915.66
1212.44.1258.275
134.53.040000000000001.46000000000000
14-2.22.60000000000001-4.80000000000001
15-4.22.34000000000000-6.54
16-9.43.25999999999999-12.66
17-14.53.75999999999998-18.26
18-17.94.25999999999999-22.16
19-15.14.86000000000001-19.96
20-15.23.56-18.76
21-15.71.58000000000001-17.28
22-180.360000000000003-18.36
23-18.10.140000000000004-18.24
24-13.54.125-17.625
25-9.93.04000000000001-12.94
26-4.82.60000000000001-7.40000000000001
27-1.72.34000000000000-4.04
28-0.13.25999999999999-3.35999999999999
292.23.75999999999998-1.55999999999998
3010.24.259999999999995.94000000000001
317.64.860000000000012.73999999999999
3210.83.567.24
333.81.582.22
34110.35999999999999910.64
3510.80.14000000000000110.66
3620.14.1250000000000115.975
3714.93.0400000000000111.86
38132.6000000000000110.4000000000000
3910.92.348.56
409.63.259999999999996.34000000000001
4143.759999999999990.240000000000014
42-1.14.25999999999999-5.35999999999999
43-7.74.86000000000002-12.5600000000000
44-8.93.56-12.46
45-81.58000000000000-9.58
46-7.10.360000000000005-7.46
47-5.30.140000000000001-5.44
48-2.54.125-6.625
49-2.43.04000000000001-5.44000000000001
50-2.92.60000000000001-5.50000000000001
51-4.82.34000000000000-7.14
52-7.23.25999999999999-10.46
531.73.75999999999998-2.05999999999998
542.24.25999999999999-2.05999999999999
5513.44.860000000000018.54
5612.33.568.74
5713.71.5800000000000012.12
584.40.3599999999999994.04
59-2.50.139999999999997-2.64000000000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
150.2937065941173670.5874131882347340.706293405882633
160.694869743150830.6102605136983390.305130256849170
170.911395255350080.1772094892998400.0886047446499199
180.9831970598070210.03360588038595730.0168029401929786
190.9943425401135940.01131491977281280.00565745988640641
200.996921033972020.006157932055960740.00307896602798037
210.9978415646352930.004316870729413670.00215843536470683
220.9986856929463530.002628614107293160.00131430705364658
230.9992834598282330.001433080343534240.000716540171767122
240.9995781840312580.000843631937484740.00042181596874237
250.9995339950201240.0009320099597515190.000466004979875759
260.9991586017318960.001682796536208350.000841398268104174
270.99821225164330.003575496713401050.00178774835670053
280.996274233796230.007451532407539210.00372576620376961
290.992419131478590.01516173704282130.00758086852141066
300.9876180424004560.02476391519908860.0123819575995443
310.9776793979909020.04464120401819640.0223206020090982
320.9660261167355450.067947766528910.033973883264455
330.941968364026850.1160632719463020.0580316359731511
340.9271077331435470.1457845337129070.0728922668564534
350.9147832280343950.1704335439312110.0852167719656054
360.93004103050720.1399179389856020.0699589694928009
370.9228335647863540.1543328704272930.0771664352136464
380.908685434056850.1826291318863000.0913145659431501
390.8897500863781170.2204998272437660.110249913621883
400.8729211746144490.2541576507711020.127078825385551
410.7870806584305270.4258386831389450.212919341569473
420.6718622047818810.6562755904362380.328137795218119
430.6867379883713560.6265240232572880.313262011628644
440.723939866874720.552120266250560.27606013312528

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
15 & 0.293706594117367 & 0.587413188234734 & 0.706293405882633 \tabularnewline
16 & 0.69486974315083 & 0.610260513698339 & 0.305130256849170 \tabularnewline
17 & 0.91139525535008 & 0.177209489299840 & 0.0886047446499199 \tabularnewline
18 & 0.983197059807021 & 0.0336058803859573 & 0.0168029401929786 \tabularnewline
19 & 0.994342540113594 & 0.0113149197728128 & 0.00565745988640641 \tabularnewline
20 & 0.99692103397202 & 0.00615793205596074 & 0.00307896602798037 \tabularnewline
21 & 0.997841564635293 & 0.00431687072941367 & 0.00215843536470683 \tabularnewline
22 & 0.998685692946353 & 0.00262861410729316 & 0.00131430705364658 \tabularnewline
23 & 0.999283459828233 & 0.00143308034353424 & 0.000716540171767122 \tabularnewline
24 & 0.999578184031258 & 0.00084363193748474 & 0.00042181596874237 \tabularnewline
25 & 0.999533995020124 & 0.000932009959751519 & 0.000466004979875759 \tabularnewline
26 & 0.999158601731896 & 0.00168279653620835 & 0.000841398268104174 \tabularnewline
27 & 0.9982122516433 & 0.00357549671340105 & 0.00178774835670053 \tabularnewline
28 & 0.99627423379623 & 0.00745153240753921 & 0.00372576620376961 \tabularnewline
29 & 0.99241913147859 & 0.0151617370428213 & 0.00758086852141066 \tabularnewline
30 & 0.987618042400456 & 0.0247639151990886 & 0.0123819575995443 \tabularnewline
31 & 0.977679397990902 & 0.0446412040181964 & 0.0223206020090982 \tabularnewline
32 & 0.966026116735545 & 0.06794776652891 & 0.033973883264455 \tabularnewline
33 & 0.94196836402685 & 0.116063271946302 & 0.0580316359731511 \tabularnewline
34 & 0.927107733143547 & 0.145784533712907 & 0.0728922668564534 \tabularnewline
35 & 0.914783228034395 & 0.170433543931211 & 0.0852167719656054 \tabularnewline
36 & 0.9300410305072 & 0.139917938985602 & 0.0699589694928009 \tabularnewline
37 & 0.922833564786354 & 0.154332870427293 & 0.0771664352136464 \tabularnewline
38 & 0.90868543405685 & 0.182629131886300 & 0.0913145659431501 \tabularnewline
39 & 0.889750086378117 & 0.220499827243766 & 0.110249913621883 \tabularnewline
40 & 0.872921174614449 & 0.254157650771102 & 0.127078825385551 \tabularnewline
41 & 0.787080658430527 & 0.425838683138945 & 0.212919341569473 \tabularnewline
42 & 0.671862204781881 & 0.656275590436238 & 0.328137795218119 \tabularnewline
43 & 0.686737988371356 & 0.626524023257288 & 0.313262011628644 \tabularnewline
44 & 0.72393986687472 & 0.55212026625056 & 0.27606013312528 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&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]15[/C][C]0.293706594117367[/C][C]0.587413188234734[/C][C]0.706293405882633[/C][/ROW]
[ROW][C]16[/C][C]0.69486974315083[/C][C]0.610260513698339[/C][C]0.305130256849170[/C][/ROW]
[ROW][C]17[/C][C]0.91139525535008[/C][C]0.177209489299840[/C][C]0.0886047446499199[/C][/ROW]
[ROW][C]18[/C][C]0.983197059807021[/C][C]0.0336058803859573[/C][C]0.0168029401929786[/C][/ROW]
[ROW][C]19[/C][C]0.994342540113594[/C][C]0.0113149197728128[/C][C]0.00565745988640641[/C][/ROW]
[ROW][C]20[/C][C]0.99692103397202[/C][C]0.00615793205596074[/C][C]0.00307896602798037[/C][/ROW]
[ROW][C]21[/C][C]0.997841564635293[/C][C]0.00431687072941367[/C][C]0.00215843536470683[/C][/ROW]
[ROW][C]22[/C][C]0.998685692946353[/C][C]0.00262861410729316[/C][C]0.00131430705364658[/C][/ROW]
[ROW][C]23[/C][C]0.999283459828233[/C][C]0.00143308034353424[/C][C]0.000716540171767122[/C][/ROW]
[ROW][C]24[/C][C]0.999578184031258[/C][C]0.00084363193748474[/C][C]0.00042181596874237[/C][/ROW]
[ROW][C]25[/C][C]0.999533995020124[/C][C]0.000932009959751519[/C][C]0.000466004979875759[/C][/ROW]
[ROW][C]26[/C][C]0.999158601731896[/C][C]0.00168279653620835[/C][C]0.000841398268104174[/C][/ROW]
[ROW][C]27[/C][C]0.9982122516433[/C][C]0.00357549671340105[/C][C]0.00178774835670053[/C][/ROW]
[ROW][C]28[/C][C]0.99627423379623[/C][C]0.00745153240753921[/C][C]0.00372576620376961[/C][/ROW]
[ROW][C]29[/C][C]0.99241913147859[/C][C]0.0151617370428213[/C][C]0.00758086852141066[/C][/ROW]
[ROW][C]30[/C][C]0.987618042400456[/C][C]0.0247639151990886[/C][C]0.0123819575995443[/C][/ROW]
[ROW][C]31[/C][C]0.977679397990902[/C][C]0.0446412040181964[/C][C]0.0223206020090982[/C][/ROW]
[ROW][C]32[/C][C]0.966026116735545[/C][C]0.06794776652891[/C][C]0.033973883264455[/C][/ROW]
[ROW][C]33[/C][C]0.94196836402685[/C][C]0.116063271946302[/C][C]0.0580316359731511[/C][/ROW]
[ROW][C]34[/C][C]0.927107733143547[/C][C]0.145784533712907[/C][C]0.0728922668564534[/C][/ROW]
[ROW][C]35[/C][C]0.914783228034395[/C][C]0.170433543931211[/C][C]0.0852167719656054[/C][/ROW]
[ROW][C]36[/C][C]0.9300410305072[/C][C]0.139917938985602[/C][C]0.0699589694928009[/C][/ROW]
[ROW][C]37[/C][C]0.922833564786354[/C][C]0.154332870427293[/C][C]0.0771664352136464[/C][/ROW]
[ROW][C]38[/C][C]0.90868543405685[/C][C]0.182629131886300[/C][C]0.0913145659431501[/C][/ROW]
[ROW][C]39[/C][C]0.889750086378117[/C][C]0.220499827243766[/C][C]0.110249913621883[/C][/ROW]
[ROW][C]40[/C][C]0.872921174614449[/C][C]0.254157650771102[/C][C]0.127078825385551[/C][/ROW]
[ROW][C]41[/C][C]0.787080658430527[/C][C]0.425838683138945[/C][C]0.212919341569473[/C][/ROW]
[ROW][C]42[/C][C]0.671862204781881[/C][C]0.656275590436238[/C][C]0.328137795218119[/C][/ROW]
[ROW][C]43[/C][C]0.686737988371356[/C][C]0.626524023257288[/C][C]0.313262011628644[/C][/ROW]
[ROW][C]44[/C][C]0.72393986687472[/C][C]0.55212026625056[/C][C]0.27606013312528[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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
150.2937065941173670.5874131882347340.706293405882633
160.694869743150830.6102605136983390.305130256849170
170.911395255350080.1772094892998400.0886047446499199
180.9831970598070210.03360588038595730.0168029401929786
190.9943425401135940.01131491977281280.00565745988640641
200.996921033972020.006157932055960740.00307896602798037
210.9978415646352930.004316870729413670.00215843536470683
220.9986856929463530.002628614107293160.00131430705364658
230.9992834598282330.001433080343534240.000716540171767122
240.9995781840312580.000843631937484740.00042181596874237
250.9995339950201240.0009320099597515190.000466004979875759
260.9991586017318960.001682796536208350.000841398268104174
270.99821225164330.003575496713401050.00178774835670053
280.996274233796230.007451532407539210.00372576620376961
290.992419131478590.01516173704282130.00758086852141066
300.9876180424004560.02476391519908860.0123819575995443
310.9776793979909020.04464120401819640.0223206020090982
320.9660261167355450.067947766528910.033973883264455
330.941968364026850.1160632719463020.0580316359731511
340.9271077331435470.1457845337129070.0728922668564534
350.9147832280343950.1704335439312110.0852167719656054
360.93004103050720.1399179389856020.0699589694928009
370.9228335647863540.1543328704272930.0771664352136464
380.908685434056850.1826291318863000.0913145659431501
390.8897500863781170.2204998272437660.110249913621883
400.8729211746144490.2541576507711020.127078825385551
410.7870806584305270.4258386831389450.212919341569473
420.6718622047818810.6562755904362380.328137795218119
430.6867379883713560.6265240232572880.313262011628644
440.723939866874720.552120266250560.27606013312528







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.3NOK
5% type I error level140.466666666666667NOK
10% type I error level150.5NOK

\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 & 9 & 0.3 & NOK \tabularnewline
5% type I error level & 14 & 0.466666666666667 & NOK \tabularnewline
10% type I error level & 15 & 0.5 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=113791&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]9[/C][C]0.3[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]14[/C][C]0.466666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]15[/C][C]0.5[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=113791&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=113791&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 level90.3NOK
5% type I error level140.466666666666667NOK
10% type I error level150.5NOK



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