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 computationWed, 18 Nov 2009 08:58:15 -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/18/t1258560311llg1ejfg5nn24df.htm/, Retrieved Sun, 05 May 2024 15:23:23 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57495, Retrieved Sun, 05 May 2024 15:23:23 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact180
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [multiplelineairre...] [2009-11-18 15:20:48] [a9a33b1951d9ae87ed6d7d9055d41c93]
- R PD    [Multiple Regression] [Multiplelineairre...] [2009-11-18 15:58:15] [66ffaa9e54a90d3ae4874684602d24e9] [Current]
Feedback Forum

Post a new message
Dataseries X:
17823.2	0
17872	0
17420.4	0
16704.4	0
15991.2	0
16583.6	0
19123.5	0
17838.7	0
17209.4	0
18586.5	0
16258.1	0
15141.6	0
19202.1	0
17746.5	0
19090.1	0
18040.3	0
17515.5	0
17751.8	0
21072.4	0
17170	0
19439.5	0
19795.4	0
17574.9	0
16165.4	0
19464.6	0
19932.1	0
19961.2	0
17343.4	0
18924.2	0
18574.1	0
21350.6	0
18594.6	0
19823.1	0
20844.4	0
19640.2	0
17735.4	0
19813.6	0
22160	0
20664.3	0
17877.4	0
20906.5	0
21164.1	0
21374.4	0
22952.3	0
21343.5	0
23899.3	0
22392.9	0
18274.1	0
22786.7	0
22321.5	0
17842.2	1
16373.5	1
15993.8	1
16446.1	1
17729	1
16643	1
16196.7	1
18252.1	1
17570.4	1
15836.8	1




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

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







Multiple Linear Regression - Estimated Regression Equation
uitvoer[t] = + 17043.5515 -2064.45750000000dummy[t] + 2774.48850000001M1[t] + 2962.86850000000M2[t] + 2364.98000000000M3[t] + 637.139999999999M4[t] + 1235.58000000000M5[t] + 1473.28000000000M6[t] + 3499.32M7[t] + 2009.06M8[t] + 2171.78M9[t] + 3644.88M10[t] + 2056.64M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
uitvoer[t] =  +  17043.5515 -2064.45750000000dummy[t] +  2774.48850000001M1[t] +  2962.86850000000M2[t] +  2364.98000000000M3[t] +  637.139999999999M4[t] +  1235.58000000000M5[t] +  1473.28000000000M6[t] +  3499.32M7[t] +  2009.06M8[t] +  2171.78M9[t] +  3644.88M10[t] +  2056.64M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57495&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]uitvoer[t] =  +  17043.5515 -2064.45750000000dummy[t] +  2774.48850000001M1[t] +  2962.86850000000M2[t] +  2364.98000000000M3[t] +  637.139999999999M4[t] +  1235.58000000000M5[t] +  1473.28000000000M6[t] +  3499.32M7[t] +  2009.06M8[t] +  2171.78M9[t] +  3644.88M10[t] +  2056.64M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57495&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57495&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
uitvoer[t] = + 17043.5515 -2064.45750000000dummy[t] + 2774.48850000001M1[t] + 2962.86850000000M2[t] + 2364.98000000000M3[t] + 637.139999999999M4[t] + 1235.58000000000M5[t] + 1473.28000000000M6[t] + 3499.32M7[t] + 2009.06M8[t] + 2171.78M9[t] + 3644.88M10[t] + 2056.64M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)17043.5515794.55617221.450400
dummy-2064.45750000000620.444132-3.32740.0017090.000855
M12774.488500000011116.7994382.48430.01660.0083
M22962.868500000001116.7994382.6530.0108470.005424
M32364.980000000001109.8842052.13080.0383640.019182
M4637.1399999999991109.8842050.57410.5686650.284332
M51235.580000000001109.8842051.11330.2712620.135631
M61473.280000000001109.8842051.32740.1907830.095391
M73499.321109.8842053.15290.0028150.001408
M82009.061109.8842051.81020.0766680.038334
M92171.781109.8842051.95680.0563310.028165
M103644.881109.8842053.2840.0019370.000969
M112056.641109.8842051.8530.0701630.035082

\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) & 17043.5515 & 794.556172 & 21.4504 & 0 & 0 \tabularnewline
dummy & -2064.45750000000 & 620.444132 & -3.3274 & 0.001709 & 0.000855 \tabularnewline
M1 & 2774.48850000001 & 1116.799438 & 2.4843 & 0.0166 & 0.0083 \tabularnewline
M2 & 2962.86850000000 & 1116.799438 & 2.653 & 0.010847 & 0.005424 \tabularnewline
M3 & 2364.98000000000 & 1109.884205 & 2.1308 & 0.038364 & 0.019182 \tabularnewline
M4 & 637.139999999999 & 1109.884205 & 0.5741 & 0.568665 & 0.284332 \tabularnewline
M5 & 1235.58000000000 & 1109.884205 & 1.1133 & 0.271262 & 0.135631 \tabularnewline
M6 & 1473.28000000000 & 1109.884205 & 1.3274 & 0.190783 & 0.095391 \tabularnewline
M7 & 3499.32 & 1109.884205 & 3.1529 & 0.002815 & 0.001408 \tabularnewline
M8 & 2009.06 & 1109.884205 & 1.8102 & 0.076668 & 0.038334 \tabularnewline
M9 & 2171.78 & 1109.884205 & 1.9568 & 0.056331 & 0.028165 \tabularnewline
M10 & 3644.88 & 1109.884205 & 3.284 & 0.001937 & 0.000969 \tabularnewline
M11 & 2056.64 & 1109.884205 & 1.853 & 0.070163 & 0.035082 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57495&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]17043.5515[/C][C]794.556172[/C][C]21.4504[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy[/C][C]-2064.45750000000[/C][C]620.444132[/C][C]-3.3274[/C][C]0.001709[/C][C]0.000855[/C][/ROW]
[ROW][C]M1[/C][C]2774.48850000001[/C][C]1116.799438[/C][C]2.4843[/C][C]0.0166[/C][C]0.0083[/C][/ROW]
[ROW][C]M2[/C][C]2962.86850000000[/C][C]1116.799438[/C][C]2.653[/C][C]0.010847[/C][C]0.005424[/C][/ROW]
[ROW][C]M3[/C][C]2364.98000000000[/C][C]1109.884205[/C][C]2.1308[/C][C]0.038364[/C][C]0.019182[/C][/ROW]
[ROW][C]M4[/C][C]637.139999999999[/C][C]1109.884205[/C][C]0.5741[/C][C]0.568665[/C][C]0.284332[/C][/ROW]
[ROW][C]M5[/C][C]1235.58000000000[/C][C]1109.884205[/C][C]1.1133[/C][C]0.271262[/C][C]0.135631[/C][/ROW]
[ROW][C]M6[/C][C]1473.28000000000[/C][C]1109.884205[/C][C]1.3274[/C][C]0.190783[/C][C]0.095391[/C][/ROW]
[ROW][C]M7[/C][C]3499.32[/C][C]1109.884205[/C][C]3.1529[/C][C]0.002815[/C][C]0.001408[/C][/ROW]
[ROW][C]M8[/C][C]2009.06[/C][C]1109.884205[/C][C]1.8102[/C][C]0.076668[/C][C]0.038334[/C][/ROW]
[ROW][C]M9[/C][C]2171.78[/C][C]1109.884205[/C][C]1.9568[/C][C]0.056331[/C][C]0.028165[/C][/ROW]
[ROW][C]M10[/C][C]3644.88[/C][C]1109.884205[/C][C]3.284[/C][C]0.001937[/C][C]0.000969[/C][/ROW]
[ROW][C]M11[/C][C]2056.64[/C][C]1109.884205[/C][C]1.853[/C][C]0.070163[/C][C]0.035082[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57495&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57495&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)17043.5515794.55617221.450400
dummy-2064.45750000000620.444132-3.32740.0017090.000855
M12774.488500000011116.7994382.48430.01660.0083
M22962.868500000001116.7994382.6530.0108470.005424
M32364.980000000001109.8842052.13080.0383640.019182
M4637.1399999999991109.8842050.57410.5686650.284332
M51235.580000000001109.8842051.11330.2712620.135631
M61473.280000000001109.8842051.32740.1907830.095391
M73499.321109.8842053.15290.0028150.001408
M82009.061109.8842051.81020.0766680.038334
M92171.781109.8842051.95680.0563310.028165
M103644.881109.8842053.2840.0019370.000969
M112056.641109.8842051.8530.0701630.035082







Multiple Linear Regression - Regression Statistics
Multiple R0.65483290912575
R-squared0.428806138874093
Adjusted R-squared0.282969408373862
F-TEST (value)2.94031645802298
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00403785006313562
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1754.88101308195
Sum Squared Residuals144741546.393550

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.65483290912575 \tabularnewline
R-squared & 0.428806138874093 \tabularnewline
Adjusted R-squared & 0.282969408373862 \tabularnewline
F-TEST (value) & 2.94031645802298 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00403785006313562 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1754.88101308195 \tabularnewline
Sum Squared Residuals & 144741546.393550 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57495&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.65483290912575[/C][/ROW]
[ROW][C]R-squared[/C][C]0.428806138874093[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.282969408373862[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.94031645802298[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00403785006313562[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1754.88101308195[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]144741546.393550[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57495&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57495&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.65483290912575
R-squared0.428806138874093
Adjusted R-squared0.282969408373862
F-TEST (value)2.94031645802298
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00403785006313562
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1754.88101308195
Sum Squared Residuals144741546.393550







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
117823.219818.0399999999-1994.83999999995
21787220006.42-2134.42000000001
317420.419408.5315-1988.13150000000
416704.417680.6915-976.291499999998
515991.218279.1315-2287.93150000000
616583.618516.8315-1933.2315
719123.520542.8715-1419.3715
817838.719052.6115-1213.9115
917209.419215.3315-2005.93149999999
1018586.520688.4315-2101.9315
1116258.119100.1915-2842.09150000000
1215141.617043.5515-1901.95150000000
1319202.119818.04-615.940000000015
1417746.520006.42-2259.92000000000
1519090.119408.5315-318.431500000003
1618040.317680.6915359.608499999998
1717515.518279.1315-763.631499999999
1817751.818516.8315-765.0315
1921072.420542.8715529.5285
201717019052.6115-1882.6115
2119439.519215.3315224.168500000000
2219795.420688.4315-893.031499999999
2317574.919100.1915-1525.2915
2416165.417043.5515-878.1515
2519464.619818.04-353.440000000014
2619932.120006.42-74.3199999999988
2719961.219408.5315552.668499999999
2817343.417680.6915-337.291499999999
2918924.218279.1315645.068500000002
3018574.118516.831557.2684999999996
3121350.620542.8715807.728499999997
3218594.619052.6115-458.011500000002
3319823.119215.3315607.768499999998
3420844.420688.4315155.968500000001
3519640.219100.1915540.0085
3617735.417043.5515691.848500000001
3719813.619818.04-4.4400000000139
382216020006.422153.58000000000
3920664.319408.53151255.76850000000
4017877.417680.6915196.708500000001
4120906.518279.13152627.3685
4221164.118516.83152647.2685
4321374.420542.8715831.5285
4422952.319052.61153899.6885
4521343.519215.33152128.1685
4623899.320688.43153210.8685
4722392.919100.19153292.7085
4818274.117043.55151230.54850000000
4922786.719818.042968.65999999999
5022321.520006.422315.08000000000
5117842.217344.074498.126
5216373.515616.234757.266
5315993.816214.674-220.873999999999
5416446.116452.374-6.27400000000014
551772918478.414-749.414000000001
561664316988.154-345.154
5716196.717150.874-954.174
5818252.118623.974-371.874000000001
5917570.417035.734534.666000000001
6015836.814979.094857.706

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 17823.2 & 19818.0399999999 & -1994.83999999995 \tabularnewline
2 & 17872 & 20006.42 & -2134.42000000001 \tabularnewline
3 & 17420.4 & 19408.5315 & -1988.13150000000 \tabularnewline
4 & 16704.4 & 17680.6915 & -976.291499999998 \tabularnewline
5 & 15991.2 & 18279.1315 & -2287.93150000000 \tabularnewline
6 & 16583.6 & 18516.8315 & -1933.2315 \tabularnewline
7 & 19123.5 & 20542.8715 & -1419.3715 \tabularnewline
8 & 17838.7 & 19052.6115 & -1213.9115 \tabularnewline
9 & 17209.4 & 19215.3315 & -2005.93149999999 \tabularnewline
10 & 18586.5 & 20688.4315 & -2101.9315 \tabularnewline
11 & 16258.1 & 19100.1915 & -2842.09150000000 \tabularnewline
12 & 15141.6 & 17043.5515 & -1901.95150000000 \tabularnewline
13 & 19202.1 & 19818.04 & -615.940000000015 \tabularnewline
14 & 17746.5 & 20006.42 & -2259.92000000000 \tabularnewline
15 & 19090.1 & 19408.5315 & -318.431500000003 \tabularnewline
16 & 18040.3 & 17680.6915 & 359.608499999998 \tabularnewline
17 & 17515.5 & 18279.1315 & -763.631499999999 \tabularnewline
18 & 17751.8 & 18516.8315 & -765.0315 \tabularnewline
19 & 21072.4 & 20542.8715 & 529.5285 \tabularnewline
20 & 17170 & 19052.6115 & -1882.6115 \tabularnewline
21 & 19439.5 & 19215.3315 & 224.168500000000 \tabularnewline
22 & 19795.4 & 20688.4315 & -893.031499999999 \tabularnewline
23 & 17574.9 & 19100.1915 & -1525.2915 \tabularnewline
24 & 16165.4 & 17043.5515 & -878.1515 \tabularnewline
25 & 19464.6 & 19818.04 & -353.440000000014 \tabularnewline
26 & 19932.1 & 20006.42 & -74.3199999999988 \tabularnewline
27 & 19961.2 & 19408.5315 & 552.668499999999 \tabularnewline
28 & 17343.4 & 17680.6915 & -337.291499999999 \tabularnewline
29 & 18924.2 & 18279.1315 & 645.068500000002 \tabularnewline
30 & 18574.1 & 18516.8315 & 57.2684999999996 \tabularnewline
31 & 21350.6 & 20542.8715 & 807.728499999997 \tabularnewline
32 & 18594.6 & 19052.6115 & -458.011500000002 \tabularnewline
33 & 19823.1 & 19215.3315 & 607.768499999998 \tabularnewline
34 & 20844.4 & 20688.4315 & 155.968500000001 \tabularnewline
35 & 19640.2 & 19100.1915 & 540.0085 \tabularnewline
36 & 17735.4 & 17043.5515 & 691.848500000001 \tabularnewline
37 & 19813.6 & 19818.04 & -4.4400000000139 \tabularnewline
38 & 22160 & 20006.42 & 2153.58000000000 \tabularnewline
39 & 20664.3 & 19408.5315 & 1255.76850000000 \tabularnewline
40 & 17877.4 & 17680.6915 & 196.708500000001 \tabularnewline
41 & 20906.5 & 18279.1315 & 2627.3685 \tabularnewline
42 & 21164.1 & 18516.8315 & 2647.2685 \tabularnewline
43 & 21374.4 & 20542.8715 & 831.5285 \tabularnewline
44 & 22952.3 & 19052.6115 & 3899.6885 \tabularnewline
45 & 21343.5 & 19215.3315 & 2128.1685 \tabularnewline
46 & 23899.3 & 20688.4315 & 3210.8685 \tabularnewline
47 & 22392.9 & 19100.1915 & 3292.7085 \tabularnewline
48 & 18274.1 & 17043.5515 & 1230.54850000000 \tabularnewline
49 & 22786.7 & 19818.04 & 2968.65999999999 \tabularnewline
50 & 22321.5 & 20006.42 & 2315.08000000000 \tabularnewline
51 & 17842.2 & 17344.074 & 498.126 \tabularnewline
52 & 16373.5 & 15616.234 & 757.266 \tabularnewline
53 & 15993.8 & 16214.674 & -220.873999999999 \tabularnewline
54 & 16446.1 & 16452.374 & -6.27400000000014 \tabularnewline
55 & 17729 & 18478.414 & -749.414000000001 \tabularnewline
56 & 16643 & 16988.154 & -345.154 \tabularnewline
57 & 16196.7 & 17150.874 & -954.174 \tabularnewline
58 & 18252.1 & 18623.974 & -371.874000000001 \tabularnewline
59 & 17570.4 & 17035.734 & 534.666000000001 \tabularnewline
60 & 15836.8 & 14979.094 & 857.706 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57495&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]17823.2[/C][C]19818.0399999999[/C][C]-1994.83999999995[/C][/ROW]
[ROW][C]2[/C][C]17872[/C][C]20006.42[/C][C]-2134.42000000001[/C][/ROW]
[ROW][C]3[/C][C]17420.4[/C][C]19408.5315[/C][C]-1988.13150000000[/C][/ROW]
[ROW][C]4[/C][C]16704.4[/C][C]17680.6915[/C][C]-976.291499999998[/C][/ROW]
[ROW][C]5[/C][C]15991.2[/C][C]18279.1315[/C][C]-2287.93150000000[/C][/ROW]
[ROW][C]6[/C][C]16583.6[/C][C]18516.8315[/C][C]-1933.2315[/C][/ROW]
[ROW][C]7[/C][C]19123.5[/C][C]20542.8715[/C][C]-1419.3715[/C][/ROW]
[ROW][C]8[/C][C]17838.7[/C][C]19052.6115[/C][C]-1213.9115[/C][/ROW]
[ROW][C]9[/C][C]17209.4[/C][C]19215.3315[/C][C]-2005.93149999999[/C][/ROW]
[ROW][C]10[/C][C]18586.5[/C][C]20688.4315[/C][C]-2101.9315[/C][/ROW]
[ROW][C]11[/C][C]16258.1[/C][C]19100.1915[/C][C]-2842.09150000000[/C][/ROW]
[ROW][C]12[/C][C]15141.6[/C][C]17043.5515[/C][C]-1901.95150000000[/C][/ROW]
[ROW][C]13[/C][C]19202.1[/C][C]19818.04[/C][C]-615.940000000015[/C][/ROW]
[ROW][C]14[/C][C]17746.5[/C][C]20006.42[/C][C]-2259.92000000000[/C][/ROW]
[ROW][C]15[/C][C]19090.1[/C][C]19408.5315[/C][C]-318.431500000003[/C][/ROW]
[ROW][C]16[/C][C]18040.3[/C][C]17680.6915[/C][C]359.608499999998[/C][/ROW]
[ROW][C]17[/C][C]17515.5[/C][C]18279.1315[/C][C]-763.631499999999[/C][/ROW]
[ROW][C]18[/C][C]17751.8[/C][C]18516.8315[/C][C]-765.0315[/C][/ROW]
[ROW][C]19[/C][C]21072.4[/C][C]20542.8715[/C][C]529.5285[/C][/ROW]
[ROW][C]20[/C][C]17170[/C][C]19052.6115[/C][C]-1882.6115[/C][/ROW]
[ROW][C]21[/C][C]19439.5[/C][C]19215.3315[/C][C]224.168500000000[/C][/ROW]
[ROW][C]22[/C][C]19795.4[/C][C]20688.4315[/C][C]-893.031499999999[/C][/ROW]
[ROW][C]23[/C][C]17574.9[/C][C]19100.1915[/C][C]-1525.2915[/C][/ROW]
[ROW][C]24[/C][C]16165.4[/C][C]17043.5515[/C][C]-878.1515[/C][/ROW]
[ROW][C]25[/C][C]19464.6[/C][C]19818.04[/C][C]-353.440000000014[/C][/ROW]
[ROW][C]26[/C][C]19932.1[/C][C]20006.42[/C][C]-74.3199999999988[/C][/ROW]
[ROW][C]27[/C][C]19961.2[/C][C]19408.5315[/C][C]552.668499999999[/C][/ROW]
[ROW][C]28[/C][C]17343.4[/C][C]17680.6915[/C][C]-337.291499999999[/C][/ROW]
[ROW][C]29[/C][C]18924.2[/C][C]18279.1315[/C][C]645.068500000002[/C][/ROW]
[ROW][C]30[/C][C]18574.1[/C][C]18516.8315[/C][C]57.2684999999996[/C][/ROW]
[ROW][C]31[/C][C]21350.6[/C][C]20542.8715[/C][C]807.728499999997[/C][/ROW]
[ROW][C]32[/C][C]18594.6[/C][C]19052.6115[/C][C]-458.011500000002[/C][/ROW]
[ROW][C]33[/C][C]19823.1[/C][C]19215.3315[/C][C]607.768499999998[/C][/ROW]
[ROW][C]34[/C][C]20844.4[/C][C]20688.4315[/C][C]155.968500000001[/C][/ROW]
[ROW][C]35[/C][C]19640.2[/C][C]19100.1915[/C][C]540.0085[/C][/ROW]
[ROW][C]36[/C][C]17735.4[/C][C]17043.5515[/C][C]691.848500000001[/C][/ROW]
[ROW][C]37[/C][C]19813.6[/C][C]19818.04[/C][C]-4.4400000000139[/C][/ROW]
[ROW][C]38[/C][C]22160[/C][C]20006.42[/C][C]2153.58000000000[/C][/ROW]
[ROW][C]39[/C][C]20664.3[/C][C]19408.5315[/C][C]1255.76850000000[/C][/ROW]
[ROW][C]40[/C][C]17877.4[/C][C]17680.6915[/C][C]196.708500000001[/C][/ROW]
[ROW][C]41[/C][C]20906.5[/C][C]18279.1315[/C][C]2627.3685[/C][/ROW]
[ROW][C]42[/C][C]21164.1[/C][C]18516.8315[/C][C]2647.2685[/C][/ROW]
[ROW][C]43[/C][C]21374.4[/C][C]20542.8715[/C][C]831.5285[/C][/ROW]
[ROW][C]44[/C][C]22952.3[/C][C]19052.6115[/C][C]3899.6885[/C][/ROW]
[ROW][C]45[/C][C]21343.5[/C][C]19215.3315[/C][C]2128.1685[/C][/ROW]
[ROW][C]46[/C][C]23899.3[/C][C]20688.4315[/C][C]3210.8685[/C][/ROW]
[ROW][C]47[/C][C]22392.9[/C][C]19100.1915[/C][C]3292.7085[/C][/ROW]
[ROW][C]48[/C][C]18274.1[/C][C]17043.5515[/C][C]1230.54850000000[/C][/ROW]
[ROW][C]49[/C][C]22786.7[/C][C]19818.04[/C][C]2968.65999999999[/C][/ROW]
[ROW][C]50[/C][C]22321.5[/C][C]20006.42[/C][C]2315.08000000000[/C][/ROW]
[ROW][C]51[/C][C]17842.2[/C][C]17344.074[/C][C]498.126[/C][/ROW]
[ROW][C]52[/C][C]16373.5[/C][C]15616.234[/C][C]757.266[/C][/ROW]
[ROW][C]53[/C][C]15993.8[/C][C]16214.674[/C][C]-220.873999999999[/C][/ROW]
[ROW][C]54[/C][C]16446.1[/C][C]16452.374[/C][C]-6.27400000000014[/C][/ROW]
[ROW][C]55[/C][C]17729[/C][C]18478.414[/C][C]-749.414000000001[/C][/ROW]
[ROW][C]56[/C][C]16643[/C][C]16988.154[/C][C]-345.154[/C][/ROW]
[ROW][C]57[/C][C]16196.7[/C][C]17150.874[/C][C]-954.174[/C][/ROW]
[ROW][C]58[/C][C]18252.1[/C][C]18623.974[/C][C]-371.874000000001[/C][/ROW]
[ROW][C]59[/C][C]17570.4[/C][C]17035.734[/C][C]534.666000000001[/C][/ROW]
[ROW][C]60[/C][C]15836.8[/C][C]14979.094[/C][C]857.706[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57495&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57495&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
117823.219818.0399999999-1994.83999999995
21787220006.42-2134.42000000001
317420.419408.5315-1988.13150000000
416704.417680.6915-976.291499999998
515991.218279.1315-2287.93150000000
616583.618516.8315-1933.2315
719123.520542.8715-1419.3715
817838.719052.6115-1213.9115
917209.419215.3315-2005.93149999999
1018586.520688.4315-2101.9315
1116258.119100.1915-2842.09150000000
1215141.617043.5515-1901.95150000000
1319202.119818.04-615.940000000015
1417746.520006.42-2259.92000000000
1519090.119408.5315-318.431500000003
1618040.317680.6915359.608499999998
1717515.518279.1315-763.631499999999
1817751.818516.8315-765.0315
1921072.420542.8715529.5285
201717019052.6115-1882.6115
2119439.519215.3315224.168500000000
2219795.420688.4315-893.031499999999
2317574.919100.1915-1525.2915
2416165.417043.5515-878.1515
2519464.619818.04-353.440000000014
2619932.120006.42-74.3199999999988
2719961.219408.5315552.668499999999
2817343.417680.6915-337.291499999999
2918924.218279.1315645.068500000002
3018574.118516.831557.2684999999996
3121350.620542.8715807.728499999997
3218594.619052.6115-458.011500000002
3319823.119215.3315607.768499999998
3420844.420688.4315155.968500000001
3519640.219100.1915540.0085
3617735.417043.5515691.848500000001
3719813.619818.04-4.4400000000139
382216020006.422153.58000000000
3920664.319408.53151255.76850000000
4017877.417680.6915196.708500000001
4120906.518279.13152627.3685
4221164.118516.83152647.2685
4321374.420542.8715831.5285
4422952.319052.61153899.6885
4521343.519215.33152128.1685
4623899.320688.43153210.8685
4722392.919100.19153292.7085
4818274.117043.55151230.54850000000
4922786.719818.042968.65999999999
5022321.520006.422315.08000000000
5117842.217344.074498.126
5216373.515616.234757.266
5315993.816214.674-220.873999999999
5416446.116452.374-6.27400000000014
551772918478.414-749.414000000001
561664316988.154-345.154
5716196.717150.874-954.174
5818252.118623.974-371.874000000001
5917570.417035.734534.666000000001
6015836.814979.094857.706







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2963902759172560.5927805518345120.703609724082744
170.2546225080273800.5092450160547610.74537749197262
180.1924752556917960.3849505113835920.807524744308204
190.1975747306926070.3951494613852130.802425269307393
200.1624647867616200.3249295735232410.83753521323838
210.1935310199095910.3870620398191820.806468980090409
220.1704468447274220.3408936894548430.829553155272578
230.2034443512081870.4068887024163730.796555648791814
240.1880541734740180.3761083469480360.811945826525982
250.166393420387790.332786840775580.83360657961221
260.2569950074183240.5139900148366490.743004992581676
270.2579786816904630.5159573633809260.742021318309537
280.2056145584553570.4112291169107140.794385441544643
290.2478990884984010.4957981769968030.752100911501599
300.2632769311030870.5265538622061750.736723068896913
310.2154868121786760.4309736243573520.784513187821324
320.309694812507330.619389625014660.69030518749267
330.2804441431083710.5608882862167430.719555856891629
340.3448304324224560.6896608648449110.655169567577544
350.5300496091917910.9399007816164180.469950390808209
360.5527989509203250.894402098159350.447201049079675
370.7016154017885220.5967691964229560.298384598211478
380.7470863386660310.5058273226679380.252913661333969
390.7326670929459120.5346658141081760.267332907054088
400.8945329953664230.2109340092671540.105467004633577
410.868699339909830.2626013201803400.131300660090170
420.821378902085760.3572421958284790.178621097914239
430.7460316720859870.5079366558280260.253968327914013
440.7790185207115780.4419629585768440.220981479288422

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.296390275917256 & 0.592780551834512 & 0.703609724082744 \tabularnewline
17 & 0.254622508027380 & 0.509245016054761 & 0.74537749197262 \tabularnewline
18 & 0.192475255691796 & 0.384950511383592 & 0.807524744308204 \tabularnewline
19 & 0.197574730692607 & 0.395149461385213 & 0.802425269307393 \tabularnewline
20 & 0.162464786761620 & 0.324929573523241 & 0.83753521323838 \tabularnewline
21 & 0.193531019909591 & 0.387062039819182 & 0.806468980090409 \tabularnewline
22 & 0.170446844727422 & 0.340893689454843 & 0.829553155272578 \tabularnewline
23 & 0.203444351208187 & 0.406888702416373 & 0.796555648791814 \tabularnewline
24 & 0.188054173474018 & 0.376108346948036 & 0.811945826525982 \tabularnewline
25 & 0.16639342038779 & 0.33278684077558 & 0.83360657961221 \tabularnewline
26 & 0.256995007418324 & 0.513990014836649 & 0.743004992581676 \tabularnewline
27 & 0.257978681690463 & 0.515957363380926 & 0.742021318309537 \tabularnewline
28 & 0.205614558455357 & 0.411229116910714 & 0.794385441544643 \tabularnewline
29 & 0.247899088498401 & 0.495798176996803 & 0.752100911501599 \tabularnewline
30 & 0.263276931103087 & 0.526553862206175 & 0.736723068896913 \tabularnewline
31 & 0.215486812178676 & 0.430973624357352 & 0.784513187821324 \tabularnewline
32 & 0.30969481250733 & 0.61938962501466 & 0.69030518749267 \tabularnewline
33 & 0.280444143108371 & 0.560888286216743 & 0.719555856891629 \tabularnewline
34 & 0.344830432422456 & 0.689660864844911 & 0.655169567577544 \tabularnewline
35 & 0.530049609191791 & 0.939900781616418 & 0.469950390808209 \tabularnewline
36 & 0.552798950920325 & 0.89440209815935 & 0.447201049079675 \tabularnewline
37 & 0.701615401788522 & 0.596769196422956 & 0.298384598211478 \tabularnewline
38 & 0.747086338666031 & 0.505827322667938 & 0.252913661333969 \tabularnewline
39 & 0.732667092945912 & 0.534665814108176 & 0.267332907054088 \tabularnewline
40 & 0.894532995366423 & 0.210934009267154 & 0.105467004633577 \tabularnewline
41 & 0.86869933990983 & 0.262601320180340 & 0.131300660090170 \tabularnewline
42 & 0.82137890208576 & 0.357242195828479 & 0.178621097914239 \tabularnewline
43 & 0.746031672085987 & 0.507936655828026 & 0.253968327914013 \tabularnewline
44 & 0.779018520711578 & 0.441962958576844 & 0.220981479288422 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57495&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.296390275917256[/C][C]0.592780551834512[/C][C]0.703609724082744[/C][/ROW]
[ROW][C]17[/C][C]0.254622508027380[/C][C]0.509245016054761[/C][C]0.74537749197262[/C][/ROW]
[ROW][C]18[/C][C]0.192475255691796[/C][C]0.384950511383592[/C][C]0.807524744308204[/C][/ROW]
[ROW][C]19[/C][C]0.197574730692607[/C][C]0.395149461385213[/C][C]0.802425269307393[/C][/ROW]
[ROW][C]20[/C][C]0.162464786761620[/C][C]0.324929573523241[/C][C]0.83753521323838[/C][/ROW]
[ROW][C]21[/C][C]0.193531019909591[/C][C]0.387062039819182[/C][C]0.806468980090409[/C][/ROW]
[ROW][C]22[/C][C]0.170446844727422[/C][C]0.340893689454843[/C][C]0.829553155272578[/C][/ROW]
[ROW][C]23[/C][C]0.203444351208187[/C][C]0.406888702416373[/C][C]0.796555648791814[/C][/ROW]
[ROW][C]24[/C][C]0.188054173474018[/C][C]0.376108346948036[/C][C]0.811945826525982[/C][/ROW]
[ROW][C]25[/C][C]0.16639342038779[/C][C]0.33278684077558[/C][C]0.83360657961221[/C][/ROW]
[ROW][C]26[/C][C]0.256995007418324[/C][C]0.513990014836649[/C][C]0.743004992581676[/C][/ROW]
[ROW][C]27[/C][C]0.257978681690463[/C][C]0.515957363380926[/C][C]0.742021318309537[/C][/ROW]
[ROW][C]28[/C][C]0.205614558455357[/C][C]0.411229116910714[/C][C]0.794385441544643[/C][/ROW]
[ROW][C]29[/C][C]0.247899088498401[/C][C]0.495798176996803[/C][C]0.752100911501599[/C][/ROW]
[ROW][C]30[/C][C]0.263276931103087[/C][C]0.526553862206175[/C][C]0.736723068896913[/C][/ROW]
[ROW][C]31[/C][C]0.215486812178676[/C][C]0.430973624357352[/C][C]0.784513187821324[/C][/ROW]
[ROW][C]32[/C][C]0.30969481250733[/C][C]0.61938962501466[/C][C]0.69030518749267[/C][/ROW]
[ROW][C]33[/C][C]0.280444143108371[/C][C]0.560888286216743[/C][C]0.719555856891629[/C][/ROW]
[ROW][C]34[/C][C]0.344830432422456[/C][C]0.689660864844911[/C][C]0.655169567577544[/C][/ROW]
[ROW][C]35[/C][C]0.530049609191791[/C][C]0.939900781616418[/C][C]0.469950390808209[/C][/ROW]
[ROW][C]36[/C][C]0.552798950920325[/C][C]0.89440209815935[/C][C]0.447201049079675[/C][/ROW]
[ROW][C]37[/C][C]0.701615401788522[/C][C]0.596769196422956[/C][C]0.298384598211478[/C][/ROW]
[ROW][C]38[/C][C]0.747086338666031[/C][C]0.505827322667938[/C][C]0.252913661333969[/C][/ROW]
[ROW][C]39[/C][C]0.732667092945912[/C][C]0.534665814108176[/C][C]0.267332907054088[/C][/ROW]
[ROW][C]40[/C][C]0.894532995366423[/C][C]0.210934009267154[/C][C]0.105467004633577[/C][/ROW]
[ROW][C]41[/C][C]0.86869933990983[/C][C]0.262601320180340[/C][C]0.131300660090170[/C][/ROW]
[ROW][C]42[/C][C]0.82137890208576[/C][C]0.357242195828479[/C][C]0.178621097914239[/C][/ROW]
[ROW][C]43[/C][C]0.746031672085987[/C][C]0.507936655828026[/C][C]0.253968327914013[/C][/ROW]
[ROW][C]44[/C][C]0.779018520711578[/C][C]0.441962958576844[/C][C]0.220981479288422[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57495&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57495&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.2963902759172560.5927805518345120.703609724082744
170.2546225080273800.5092450160547610.74537749197262
180.1924752556917960.3849505113835920.807524744308204
190.1975747306926070.3951494613852130.802425269307393
200.1624647867616200.3249295735232410.83753521323838
210.1935310199095910.3870620398191820.806468980090409
220.1704468447274220.3408936894548430.829553155272578
230.2034443512081870.4068887024163730.796555648791814
240.1880541734740180.3761083469480360.811945826525982
250.166393420387790.332786840775580.83360657961221
260.2569950074183240.5139900148366490.743004992581676
270.2579786816904630.5159573633809260.742021318309537
280.2056145584553570.4112291169107140.794385441544643
290.2478990884984010.4957981769968030.752100911501599
300.2632769311030870.5265538622061750.736723068896913
310.2154868121786760.4309736243573520.784513187821324
320.309694812507330.619389625014660.69030518749267
330.2804441431083710.5608882862167430.719555856891629
340.3448304324224560.6896608648449110.655169567577544
350.5300496091917910.9399007816164180.469950390808209
360.5527989509203250.894402098159350.447201049079675
370.7016154017885220.5967691964229560.298384598211478
380.7470863386660310.5058273226679380.252913661333969
390.7326670929459120.5346658141081760.267332907054088
400.8945329953664230.2109340092671540.105467004633577
410.868699339909830.2626013201803400.131300660090170
420.821378902085760.3572421958284790.178621097914239
430.7460316720859870.5079366558280260.253968327914013
440.7790185207115780.4419629585768440.220981479288422







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

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