Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationThu, 27 Nov 2008 15:40:18 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Nov/27/t12278256867ekxfk2387m4kuo.htm/, Retrieved Sun, 19 May 2024 10:51:44 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=25936, Retrieved Sun, 19 May 2024 10:51:44 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact125
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2008-11-27 22:40:18] [707275eb4030c85d1414565d3cd5b4f2] [Current]
Feedback Forum

Post a new message
Dataseries X:
2120.88	0
2174.56	0
2196.72	0
2350.44	0
2440.25	0
2408.64	0
2472.81	0
2407.6	0
2454.62	0
2448.05	0
2497.84	0
2645.64	0
2756.76	0
2849.27	0
2921.44	0
2981.85	0
3080.58	0
3106.22	0
3119.31	0
3061.26	0
3097.31	0
3161.69	0
3257.16	0
3277.01	0
3295.32	0
3363.99	0
3494.17	0
3667.03	0
3813.06	0
3917.96	0
3895.51	0
3801.06	0
3570.12	0
3701.61	0
3862.27	0
3970.1	0
4138.52	0
4199.75	0
4290.89	0
4443.91	0
4502.64	1
4356.98	1
4591.27	1
4696.96	1
4621.4	1
4562.84	1
4202.52	1
4296.49	1
4435.23	1
4105.18	1
4116.68	1
3844.49	1
3720.98	1
3674.4	1
3857.62	1
3801.06	1
3504.37	1
3032.6	1
3047.03	1
2962.34	1
2197.82	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=25936&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=25936&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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
Bel20[t] = + 3167.8295 + 743.165738095238dummy[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bel20[t] =  +  3167.8295 +  743.165738095238dummy[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bel20[t] =  +  3167.8295 +  743.165738095238dummy[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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
Bel20[t] = + 3167.8295 + 743.165738095238dummy[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)3167.8295104.13329430.420900
dummy743.165738095238177.4781434.18749.5e-054.8e-05

\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) & 3167.8295 & 104.133294 & 30.4209 & 0 & 0 \tabularnewline
dummy & 743.165738095238 & 177.478143 & 4.1874 & 9.5e-05 & 4.8e-05 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&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]3167.8295[/C][C]104.133294[/C][C]30.4209[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy[/C][C]743.165738095238[/C][C]177.478143[/C][C]4.1874[/C][C]9.5e-05[/C][C]4.8e-05[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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)3167.8295104.13329430.420900
dummy743.165738095238177.4781434.18749.5e-054.8e-05







Multiple Linear Regression - Regression Statistics
Multiple R0.478645000748653
R-squared0.229101036741678
Adjusted R-squared0.216034952618655
F-TEST (value)17.5340243170486
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value9.54339556555883e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation658.596779322623
Sum Squared Residuals25591233.3463138

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.478645000748653 \tabularnewline
R-squared & 0.229101036741678 \tabularnewline
Adjusted R-squared & 0.216034952618655 \tabularnewline
F-TEST (value) & 17.5340243170486 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 9.54339556555883e-05 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 658.596779322623 \tabularnewline
Sum Squared Residuals & 25591233.3463138 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.478645000748653[/C][/ROW]
[ROW][C]R-squared[/C][C]0.229101036741678[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.216034952618655[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]17.5340243170486[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]9.54339556555883e-05[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]658.596779322623[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]25591233.3463138[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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.478645000748653
R-squared0.229101036741678
Adjusted R-squared0.216034952618655
F-TEST (value)17.5340243170486
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value9.54339556555883e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation658.596779322623
Sum Squared Residuals25591233.3463138







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12120.883167.82949999999-1046.94949999999
22174.563167.8295-993.269499999999
32196.723167.8295-971.1095
42350.443167.8295-817.3895
52440.253167.8295-727.5795
62408.643167.8295-759.1895
72472.813167.8295-695.0195
82407.63167.8295-760.2295
92454.623167.8295-713.2095
102448.053167.8295-719.7795
112497.843167.8295-669.9895
122645.643167.8295-522.1895
132756.763167.8295-411.0695
142849.273167.8295-318.5595
152921.443167.8295-246.3895
162981.853167.8295-185.979500000000
173080.583167.8295-87.2495000000002
183106.223167.8295-61.6095000000004
193119.313167.8295-48.5195000000002
203061.263167.8295-106.5695
213097.313167.8295-70.5195000000002
223161.693167.8295-6.1395000000001
233257.163167.829589.3304999999997
243277.013167.8295109.1805
253295.323167.8295127.4905
263363.993167.8295196.160500000000
273494.173167.8295326.3405
283667.033167.8295499.2005
293813.063167.8295645.2305
303917.963167.8295750.1305
313895.513167.8295727.6805
323801.063167.8295633.2305
333570.123167.8295402.2905
343701.613167.8295533.7805
353862.273167.8295694.4405
363970.13167.8295802.2705
374138.523167.8295970.6905
384199.753167.82951031.9205
394290.893167.82951123.0605
404443.913167.82951276.0805
414502.643910.99523809524591.644761904762
424356.983910.99523809524445.984761904761
434591.273910.99523809524680.274761904762
444696.963910.99523809524785.964761904762
454621.43910.99523809524710.404761904761
464562.843910.99523809524651.844761904762
474202.523910.99523809524291.524761904762
484296.493910.99523809524385.494761904762
494435.233910.99523809524524.234761904761
504105.183910.99523809524194.184761904762
514116.683910.99523809524205.684761904762
523844.493910.99523809524-66.5052380952383
533720.983910.99523809524-190.015238095238
543674.43910.99523809524-236.595238095238
553857.623910.99523809524-53.3752380952382
563801.063910.99523809524-109.935238095238
573504.373910.99523809524-406.625238095238
583032.63910.99523809524-878.395238095238
593047.033910.99523809524-863.965238095238
602962.343910.99523809524-948.655238095238
612197.823910.99523809524-1713.17523809524

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2120.88 & 3167.82949999999 & -1046.94949999999 \tabularnewline
2 & 2174.56 & 3167.8295 & -993.269499999999 \tabularnewline
3 & 2196.72 & 3167.8295 & -971.1095 \tabularnewline
4 & 2350.44 & 3167.8295 & -817.3895 \tabularnewline
5 & 2440.25 & 3167.8295 & -727.5795 \tabularnewline
6 & 2408.64 & 3167.8295 & -759.1895 \tabularnewline
7 & 2472.81 & 3167.8295 & -695.0195 \tabularnewline
8 & 2407.6 & 3167.8295 & -760.2295 \tabularnewline
9 & 2454.62 & 3167.8295 & -713.2095 \tabularnewline
10 & 2448.05 & 3167.8295 & -719.7795 \tabularnewline
11 & 2497.84 & 3167.8295 & -669.9895 \tabularnewline
12 & 2645.64 & 3167.8295 & -522.1895 \tabularnewline
13 & 2756.76 & 3167.8295 & -411.0695 \tabularnewline
14 & 2849.27 & 3167.8295 & -318.5595 \tabularnewline
15 & 2921.44 & 3167.8295 & -246.3895 \tabularnewline
16 & 2981.85 & 3167.8295 & -185.979500000000 \tabularnewline
17 & 3080.58 & 3167.8295 & -87.2495000000002 \tabularnewline
18 & 3106.22 & 3167.8295 & -61.6095000000004 \tabularnewline
19 & 3119.31 & 3167.8295 & -48.5195000000002 \tabularnewline
20 & 3061.26 & 3167.8295 & -106.5695 \tabularnewline
21 & 3097.31 & 3167.8295 & -70.5195000000002 \tabularnewline
22 & 3161.69 & 3167.8295 & -6.1395000000001 \tabularnewline
23 & 3257.16 & 3167.8295 & 89.3304999999997 \tabularnewline
24 & 3277.01 & 3167.8295 & 109.1805 \tabularnewline
25 & 3295.32 & 3167.8295 & 127.4905 \tabularnewline
26 & 3363.99 & 3167.8295 & 196.160500000000 \tabularnewline
27 & 3494.17 & 3167.8295 & 326.3405 \tabularnewline
28 & 3667.03 & 3167.8295 & 499.2005 \tabularnewline
29 & 3813.06 & 3167.8295 & 645.2305 \tabularnewline
30 & 3917.96 & 3167.8295 & 750.1305 \tabularnewline
31 & 3895.51 & 3167.8295 & 727.6805 \tabularnewline
32 & 3801.06 & 3167.8295 & 633.2305 \tabularnewline
33 & 3570.12 & 3167.8295 & 402.2905 \tabularnewline
34 & 3701.61 & 3167.8295 & 533.7805 \tabularnewline
35 & 3862.27 & 3167.8295 & 694.4405 \tabularnewline
36 & 3970.1 & 3167.8295 & 802.2705 \tabularnewline
37 & 4138.52 & 3167.8295 & 970.6905 \tabularnewline
38 & 4199.75 & 3167.8295 & 1031.9205 \tabularnewline
39 & 4290.89 & 3167.8295 & 1123.0605 \tabularnewline
40 & 4443.91 & 3167.8295 & 1276.0805 \tabularnewline
41 & 4502.64 & 3910.99523809524 & 591.644761904762 \tabularnewline
42 & 4356.98 & 3910.99523809524 & 445.984761904761 \tabularnewline
43 & 4591.27 & 3910.99523809524 & 680.274761904762 \tabularnewline
44 & 4696.96 & 3910.99523809524 & 785.964761904762 \tabularnewline
45 & 4621.4 & 3910.99523809524 & 710.404761904761 \tabularnewline
46 & 4562.84 & 3910.99523809524 & 651.844761904762 \tabularnewline
47 & 4202.52 & 3910.99523809524 & 291.524761904762 \tabularnewline
48 & 4296.49 & 3910.99523809524 & 385.494761904762 \tabularnewline
49 & 4435.23 & 3910.99523809524 & 524.234761904761 \tabularnewline
50 & 4105.18 & 3910.99523809524 & 194.184761904762 \tabularnewline
51 & 4116.68 & 3910.99523809524 & 205.684761904762 \tabularnewline
52 & 3844.49 & 3910.99523809524 & -66.5052380952383 \tabularnewline
53 & 3720.98 & 3910.99523809524 & -190.015238095238 \tabularnewline
54 & 3674.4 & 3910.99523809524 & -236.595238095238 \tabularnewline
55 & 3857.62 & 3910.99523809524 & -53.3752380952382 \tabularnewline
56 & 3801.06 & 3910.99523809524 & -109.935238095238 \tabularnewline
57 & 3504.37 & 3910.99523809524 & -406.625238095238 \tabularnewline
58 & 3032.6 & 3910.99523809524 & -878.395238095238 \tabularnewline
59 & 3047.03 & 3910.99523809524 & -863.965238095238 \tabularnewline
60 & 2962.34 & 3910.99523809524 & -948.655238095238 \tabularnewline
61 & 2197.82 & 3910.99523809524 & -1713.17523809524 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&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]2120.88[/C][C]3167.82949999999[/C][C]-1046.94949999999[/C][/ROW]
[ROW][C]2[/C][C]2174.56[/C][C]3167.8295[/C][C]-993.269499999999[/C][/ROW]
[ROW][C]3[/C][C]2196.72[/C][C]3167.8295[/C][C]-971.1095[/C][/ROW]
[ROW][C]4[/C][C]2350.44[/C][C]3167.8295[/C][C]-817.3895[/C][/ROW]
[ROW][C]5[/C][C]2440.25[/C][C]3167.8295[/C][C]-727.5795[/C][/ROW]
[ROW][C]6[/C][C]2408.64[/C][C]3167.8295[/C][C]-759.1895[/C][/ROW]
[ROW][C]7[/C][C]2472.81[/C][C]3167.8295[/C][C]-695.0195[/C][/ROW]
[ROW][C]8[/C][C]2407.6[/C][C]3167.8295[/C][C]-760.2295[/C][/ROW]
[ROW][C]9[/C][C]2454.62[/C][C]3167.8295[/C][C]-713.2095[/C][/ROW]
[ROW][C]10[/C][C]2448.05[/C][C]3167.8295[/C][C]-719.7795[/C][/ROW]
[ROW][C]11[/C][C]2497.84[/C][C]3167.8295[/C][C]-669.9895[/C][/ROW]
[ROW][C]12[/C][C]2645.64[/C][C]3167.8295[/C][C]-522.1895[/C][/ROW]
[ROW][C]13[/C][C]2756.76[/C][C]3167.8295[/C][C]-411.0695[/C][/ROW]
[ROW][C]14[/C][C]2849.27[/C][C]3167.8295[/C][C]-318.5595[/C][/ROW]
[ROW][C]15[/C][C]2921.44[/C][C]3167.8295[/C][C]-246.3895[/C][/ROW]
[ROW][C]16[/C][C]2981.85[/C][C]3167.8295[/C][C]-185.979500000000[/C][/ROW]
[ROW][C]17[/C][C]3080.58[/C][C]3167.8295[/C][C]-87.2495000000002[/C][/ROW]
[ROW][C]18[/C][C]3106.22[/C][C]3167.8295[/C][C]-61.6095000000004[/C][/ROW]
[ROW][C]19[/C][C]3119.31[/C][C]3167.8295[/C][C]-48.5195000000002[/C][/ROW]
[ROW][C]20[/C][C]3061.26[/C][C]3167.8295[/C][C]-106.5695[/C][/ROW]
[ROW][C]21[/C][C]3097.31[/C][C]3167.8295[/C][C]-70.5195000000002[/C][/ROW]
[ROW][C]22[/C][C]3161.69[/C][C]3167.8295[/C][C]-6.1395000000001[/C][/ROW]
[ROW][C]23[/C][C]3257.16[/C][C]3167.8295[/C][C]89.3304999999997[/C][/ROW]
[ROW][C]24[/C][C]3277.01[/C][C]3167.8295[/C][C]109.1805[/C][/ROW]
[ROW][C]25[/C][C]3295.32[/C][C]3167.8295[/C][C]127.4905[/C][/ROW]
[ROW][C]26[/C][C]3363.99[/C][C]3167.8295[/C][C]196.160500000000[/C][/ROW]
[ROW][C]27[/C][C]3494.17[/C][C]3167.8295[/C][C]326.3405[/C][/ROW]
[ROW][C]28[/C][C]3667.03[/C][C]3167.8295[/C][C]499.2005[/C][/ROW]
[ROW][C]29[/C][C]3813.06[/C][C]3167.8295[/C][C]645.2305[/C][/ROW]
[ROW][C]30[/C][C]3917.96[/C][C]3167.8295[/C][C]750.1305[/C][/ROW]
[ROW][C]31[/C][C]3895.51[/C][C]3167.8295[/C][C]727.6805[/C][/ROW]
[ROW][C]32[/C][C]3801.06[/C][C]3167.8295[/C][C]633.2305[/C][/ROW]
[ROW][C]33[/C][C]3570.12[/C][C]3167.8295[/C][C]402.2905[/C][/ROW]
[ROW][C]34[/C][C]3701.61[/C][C]3167.8295[/C][C]533.7805[/C][/ROW]
[ROW][C]35[/C][C]3862.27[/C][C]3167.8295[/C][C]694.4405[/C][/ROW]
[ROW][C]36[/C][C]3970.1[/C][C]3167.8295[/C][C]802.2705[/C][/ROW]
[ROW][C]37[/C][C]4138.52[/C][C]3167.8295[/C][C]970.6905[/C][/ROW]
[ROW][C]38[/C][C]4199.75[/C][C]3167.8295[/C][C]1031.9205[/C][/ROW]
[ROW][C]39[/C][C]4290.89[/C][C]3167.8295[/C][C]1123.0605[/C][/ROW]
[ROW][C]40[/C][C]4443.91[/C][C]3167.8295[/C][C]1276.0805[/C][/ROW]
[ROW][C]41[/C][C]4502.64[/C][C]3910.99523809524[/C][C]591.644761904762[/C][/ROW]
[ROW][C]42[/C][C]4356.98[/C][C]3910.99523809524[/C][C]445.984761904761[/C][/ROW]
[ROW][C]43[/C][C]4591.27[/C][C]3910.99523809524[/C][C]680.274761904762[/C][/ROW]
[ROW][C]44[/C][C]4696.96[/C][C]3910.99523809524[/C][C]785.964761904762[/C][/ROW]
[ROW][C]45[/C][C]4621.4[/C][C]3910.99523809524[/C][C]710.404761904761[/C][/ROW]
[ROW][C]46[/C][C]4562.84[/C][C]3910.99523809524[/C][C]651.844761904762[/C][/ROW]
[ROW][C]47[/C][C]4202.52[/C][C]3910.99523809524[/C][C]291.524761904762[/C][/ROW]
[ROW][C]48[/C][C]4296.49[/C][C]3910.99523809524[/C][C]385.494761904762[/C][/ROW]
[ROW][C]49[/C][C]4435.23[/C][C]3910.99523809524[/C][C]524.234761904761[/C][/ROW]
[ROW][C]50[/C][C]4105.18[/C][C]3910.99523809524[/C][C]194.184761904762[/C][/ROW]
[ROW][C]51[/C][C]4116.68[/C][C]3910.99523809524[/C][C]205.684761904762[/C][/ROW]
[ROW][C]52[/C][C]3844.49[/C][C]3910.99523809524[/C][C]-66.5052380952383[/C][/ROW]
[ROW][C]53[/C][C]3720.98[/C][C]3910.99523809524[/C][C]-190.015238095238[/C][/ROW]
[ROW][C]54[/C][C]3674.4[/C][C]3910.99523809524[/C][C]-236.595238095238[/C][/ROW]
[ROW][C]55[/C][C]3857.62[/C][C]3910.99523809524[/C][C]-53.3752380952382[/C][/ROW]
[ROW][C]56[/C][C]3801.06[/C][C]3910.99523809524[/C][C]-109.935238095238[/C][/ROW]
[ROW][C]57[/C][C]3504.37[/C][C]3910.99523809524[/C][C]-406.625238095238[/C][/ROW]
[ROW][C]58[/C][C]3032.6[/C][C]3910.99523809524[/C][C]-878.395238095238[/C][/ROW]
[ROW][C]59[/C][C]3047.03[/C][C]3910.99523809524[/C][C]-863.965238095238[/C][/ROW]
[ROW][C]60[/C][C]2962.34[/C][C]3910.99523809524[/C][C]-948.655238095238[/C][/ROW]
[ROW][C]61[/C][C]2197.82[/C][C]3910.99523809524[/C][C]-1713.17523809524[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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
12120.883167.82949999999-1046.94949999999
22174.563167.8295-993.269499999999
32196.723167.8295-971.1095
42350.443167.8295-817.3895
52440.253167.8295-727.5795
62408.643167.8295-759.1895
72472.813167.8295-695.0195
82407.63167.8295-760.2295
92454.623167.8295-713.2095
102448.053167.8295-719.7795
112497.843167.8295-669.9895
122645.643167.8295-522.1895
132756.763167.8295-411.0695
142849.273167.8295-318.5595
152921.443167.8295-246.3895
162981.853167.8295-185.979500000000
173080.583167.8295-87.2495000000002
183106.223167.8295-61.6095000000004
193119.313167.8295-48.5195000000002
203061.263167.8295-106.5695
213097.313167.8295-70.5195000000002
223161.693167.8295-6.1395000000001
233257.163167.829589.3304999999997
243277.013167.8295109.1805
253295.323167.8295127.4905
263363.993167.8295196.160500000000
273494.173167.8295326.3405
283667.033167.8295499.2005
293813.063167.8295645.2305
303917.963167.8295750.1305
313895.513167.8295727.6805
323801.063167.8295633.2305
333570.123167.8295402.2905
343701.613167.8295533.7805
353862.273167.8295694.4405
363970.13167.8295802.2705
374138.523167.8295970.6905
384199.753167.82951031.9205
394290.893167.82951123.0605
404443.913167.82951276.0805
414502.643910.99523809524591.644761904762
424356.983910.99523809524445.984761904761
434591.273910.99523809524680.274761904762
444696.963910.99523809524785.964761904762
454621.43910.99523809524710.404761904761
464562.843910.99523809524651.844761904762
474202.523910.99523809524291.524761904762
484296.493910.99523809524385.494761904762
494435.233910.99523809524524.234761904761
504105.183910.99523809524194.184761904762
514116.683910.99523809524205.684761904762
523844.493910.99523809524-66.5052380952383
533720.983910.99523809524-190.015238095238
543674.43910.99523809524-236.595238095238
553857.623910.99523809524-53.3752380952382
563801.063910.99523809524-109.935238095238
573504.373910.99523809524-406.625238095238
583032.63910.99523809524-878.395238095238
593047.033910.99523809524-863.965238095238
602962.343910.99523809524-948.655238095238
612197.823910.99523809524-1713.17523809524







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.02028204017342250.04056408034684490.979717959826578
60.00688211909600280.01376423819200560.993117880903997
70.003131059998492230.006262119996984470.996868940001508
80.0009605791860210530.001921158372042110.999039420813979
90.0003566710514057870.0007133421028115740.999643328948594
100.0001273082211451920.0002546164422903840.999872691778855
115.96713165636764e-050.0001193426331273530.999940328683436
128.48464699580457e-050.0001696929399160910.999915153530042
130.0002068474111057380.0004136948222114770.999793152588894
140.0005558664767566240.001111732953513250.999444133523243
150.001332066460996000.002664132921991990.998667933539004
160.002775811156275530.005551622312551070.997224188843725
170.006070153044941530.01214030608988310.993929846955058
180.01038280655185940.02076561310371870.98961719344814
190.01497004870068910.02994009740137810.98502995129931
200.01723294043210670.03446588086421340.982767059567893
210.02016331874136550.04032663748273090.979836681258635
220.02489684598064820.04979369196129630.975103154019352
230.03335312533841050.0667062506768210.96664687466159
240.04250095180892830.08500190361785650.957499048191072
250.0523499777105710.1046999554211420.947650022289429
260.06600123770984210.1320024754196840.933998762290158
270.08908124922192790.1781624984438560.910918750778072
280.1302798385977520.2605596771955040.869720161402248
290.1908959298216790.3817918596433590.80910407017832
300.2626495970464580.5252991940929150.737350402953542
310.3125873022225630.6251746044451270.687412697777437
320.3312571810676040.6625143621352080.668742818932396
330.3252757387506690.6505514775013390.674724261249331
340.3262683312113770.6525366624227550.673731668788623
350.3365406217141590.6730812434283180.663459378285841
360.3510794447916130.7021588895832260.648920555208387
370.375941789851370.751883579702740.62405821014863
380.3958040689283640.7916081378567290.604195931071636
390.4145358848362980.8290717696725970.585464115163702
400.4395623987597310.8791247975194620.560437601240269
410.4019702822218980.8039405644437960.598029717778102
420.3515612371149940.7031224742299880.648438762885006
430.3407486171053030.6814972342106060.659251382894697
440.3655574597481930.7311149194963860.634442540251807
450.3920041142349440.7840082284698890.607995885765056
460.4272329819377610.8544659638755230.572767018062239
470.3979205656869450.795841131373890.602079434313055
480.3977440657775130.7954881315550250.602255934222487
490.4690423007537930.9380846015075870.530957699246207
500.4674866903766570.9349733807533140.532513309623343
510.4944524489211990.9889048978423980.505547551078801
520.4623454565451010.9246909130902030.537654543454899
530.4097011486220910.8194022972441820.590298851377909
540.3530291386923850.706058277384770.646970861307615
550.3788261945531060.7576523891062130.621173805446894
560.4677341983570090.9354683967140180.532265801642991

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0202820401734225 & 0.0405640803468449 & 0.979717959826578 \tabularnewline
6 & 0.0068821190960028 & 0.0137642381920056 & 0.993117880903997 \tabularnewline
7 & 0.00313105999849223 & 0.00626211999698447 & 0.996868940001508 \tabularnewline
8 & 0.000960579186021053 & 0.00192115837204211 & 0.999039420813979 \tabularnewline
9 & 0.000356671051405787 & 0.000713342102811574 & 0.999643328948594 \tabularnewline
10 & 0.000127308221145192 & 0.000254616442290384 & 0.999872691778855 \tabularnewline
11 & 5.96713165636764e-05 & 0.000119342633127353 & 0.999940328683436 \tabularnewline
12 & 8.48464699580457e-05 & 0.000169692939916091 & 0.999915153530042 \tabularnewline
13 & 0.000206847411105738 & 0.000413694822211477 & 0.999793152588894 \tabularnewline
14 & 0.000555866476756624 & 0.00111173295351325 & 0.999444133523243 \tabularnewline
15 & 0.00133206646099600 & 0.00266413292199199 & 0.998667933539004 \tabularnewline
16 & 0.00277581115627553 & 0.00555162231255107 & 0.997224188843725 \tabularnewline
17 & 0.00607015304494153 & 0.0121403060898831 & 0.993929846955058 \tabularnewline
18 & 0.0103828065518594 & 0.0207656131037187 & 0.98961719344814 \tabularnewline
19 & 0.0149700487006891 & 0.0299400974013781 & 0.98502995129931 \tabularnewline
20 & 0.0172329404321067 & 0.0344658808642134 & 0.982767059567893 \tabularnewline
21 & 0.0201633187413655 & 0.0403266374827309 & 0.979836681258635 \tabularnewline
22 & 0.0248968459806482 & 0.0497936919612963 & 0.975103154019352 \tabularnewline
23 & 0.0333531253384105 & 0.066706250676821 & 0.96664687466159 \tabularnewline
24 & 0.0425009518089283 & 0.0850019036178565 & 0.957499048191072 \tabularnewline
25 & 0.052349977710571 & 0.104699955421142 & 0.947650022289429 \tabularnewline
26 & 0.0660012377098421 & 0.132002475419684 & 0.933998762290158 \tabularnewline
27 & 0.0890812492219279 & 0.178162498443856 & 0.910918750778072 \tabularnewline
28 & 0.130279838597752 & 0.260559677195504 & 0.869720161402248 \tabularnewline
29 & 0.190895929821679 & 0.381791859643359 & 0.80910407017832 \tabularnewline
30 & 0.262649597046458 & 0.525299194092915 & 0.737350402953542 \tabularnewline
31 & 0.312587302222563 & 0.625174604445127 & 0.687412697777437 \tabularnewline
32 & 0.331257181067604 & 0.662514362135208 & 0.668742818932396 \tabularnewline
33 & 0.325275738750669 & 0.650551477501339 & 0.674724261249331 \tabularnewline
34 & 0.326268331211377 & 0.652536662422755 & 0.673731668788623 \tabularnewline
35 & 0.336540621714159 & 0.673081243428318 & 0.663459378285841 \tabularnewline
36 & 0.351079444791613 & 0.702158889583226 & 0.648920555208387 \tabularnewline
37 & 0.37594178985137 & 0.75188357970274 & 0.62405821014863 \tabularnewline
38 & 0.395804068928364 & 0.791608137856729 & 0.604195931071636 \tabularnewline
39 & 0.414535884836298 & 0.829071769672597 & 0.585464115163702 \tabularnewline
40 & 0.439562398759731 & 0.879124797519462 & 0.560437601240269 \tabularnewline
41 & 0.401970282221898 & 0.803940564443796 & 0.598029717778102 \tabularnewline
42 & 0.351561237114994 & 0.703122474229988 & 0.648438762885006 \tabularnewline
43 & 0.340748617105303 & 0.681497234210606 & 0.659251382894697 \tabularnewline
44 & 0.365557459748193 & 0.731114919496386 & 0.634442540251807 \tabularnewline
45 & 0.392004114234944 & 0.784008228469889 & 0.607995885765056 \tabularnewline
46 & 0.427232981937761 & 0.854465963875523 & 0.572767018062239 \tabularnewline
47 & 0.397920565686945 & 0.79584113137389 & 0.602079434313055 \tabularnewline
48 & 0.397744065777513 & 0.795488131555025 & 0.602255934222487 \tabularnewline
49 & 0.469042300753793 & 0.938084601507587 & 0.530957699246207 \tabularnewline
50 & 0.467486690376657 & 0.934973380753314 & 0.532513309623343 \tabularnewline
51 & 0.494452448921199 & 0.988904897842398 & 0.505547551078801 \tabularnewline
52 & 0.462345456545101 & 0.924690913090203 & 0.537654543454899 \tabularnewline
53 & 0.409701148622091 & 0.819402297244182 & 0.590298851377909 \tabularnewline
54 & 0.353029138692385 & 0.70605827738477 & 0.646970861307615 \tabularnewline
55 & 0.378826194553106 & 0.757652389106213 & 0.621173805446894 \tabularnewline
56 & 0.467734198357009 & 0.935468396714018 & 0.532265801642991 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&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]5[/C][C]0.0202820401734225[/C][C]0.0405640803468449[/C][C]0.979717959826578[/C][/ROW]
[ROW][C]6[/C][C]0.0068821190960028[/C][C]0.0137642381920056[/C][C]0.993117880903997[/C][/ROW]
[ROW][C]7[/C][C]0.00313105999849223[/C][C]0.00626211999698447[/C][C]0.996868940001508[/C][/ROW]
[ROW][C]8[/C][C]0.000960579186021053[/C][C]0.00192115837204211[/C][C]0.999039420813979[/C][/ROW]
[ROW][C]9[/C][C]0.000356671051405787[/C][C]0.000713342102811574[/C][C]0.999643328948594[/C][/ROW]
[ROW][C]10[/C][C]0.000127308221145192[/C][C]0.000254616442290384[/C][C]0.999872691778855[/C][/ROW]
[ROW][C]11[/C][C]5.96713165636764e-05[/C][C]0.000119342633127353[/C][C]0.999940328683436[/C][/ROW]
[ROW][C]12[/C][C]8.48464699580457e-05[/C][C]0.000169692939916091[/C][C]0.999915153530042[/C][/ROW]
[ROW][C]13[/C][C]0.000206847411105738[/C][C]0.000413694822211477[/C][C]0.999793152588894[/C][/ROW]
[ROW][C]14[/C][C]0.000555866476756624[/C][C]0.00111173295351325[/C][C]0.999444133523243[/C][/ROW]
[ROW][C]15[/C][C]0.00133206646099600[/C][C]0.00266413292199199[/C][C]0.998667933539004[/C][/ROW]
[ROW][C]16[/C][C]0.00277581115627553[/C][C]0.00555162231255107[/C][C]0.997224188843725[/C][/ROW]
[ROW][C]17[/C][C]0.00607015304494153[/C][C]0.0121403060898831[/C][C]0.993929846955058[/C][/ROW]
[ROW][C]18[/C][C]0.0103828065518594[/C][C]0.0207656131037187[/C][C]0.98961719344814[/C][/ROW]
[ROW][C]19[/C][C]0.0149700487006891[/C][C]0.0299400974013781[/C][C]0.98502995129931[/C][/ROW]
[ROW][C]20[/C][C]0.0172329404321067[/C][C]0.0344658808642134[/C][C]0.982767059567893[/C][/ROW]
[ROW][C]21[/C][C]0.0201633187413655[/C][C]0.0403266374827309[/C][C]0.979836681258635[/C][/ROW]
[ROW][C]22[/C][C]0.0248968459806482[/C][C]0.0497936919612963[/C][C]0.975103154019352[/C][/ROW]
[ROW][C]23[/C][C]0.0333531253384105[/C][C]0.066706250676821[/C][C]0.96664687466159[/C][/ROW]
[ROW][C]24[/C][C]0.0425009518089283[/C][C]0.0850019036178565[/C][C]0.957499048191072[/C][/ROW]
[ROW][C]25[/C][C]0.052349977710571[/C][C]0.104699955421142[/C][C]0.947650022289429[/C][/ROW]
[ROW][C]26[/C][C]0.0660012377098421[/C][C]0.132002475419684[/C][C]0.933998762290158[/C][/ROW]
[ROW][C]27[/C][C]0.0890812492219279[/C][C]0.178162498443856[/C][C]0.910918750778072[/C][/ROW]
[ROW][C]28[/C][C]0.130279838597752[/C][C]0.260559677195504[/C][C]0.869720161402248[/C][/ROW]
[ROW][C]29[/C][C]0.190895929821679[/C][C]0.381791859643359[/C][C]0.80910407017832[/C][/ROW]
[ROW][C]30[/C][C]0.262649597046458[/C][C]0.525299194092915[/C][C]0.737350402953542[/C][/ROW]
[ROW][C]31[/C][C]0.312587302222563[/C][C]0.625174604445127[/C][C]0.687412697777437[/C][/ROW]
[ROW][C]32[/C][C]0.331257181067604[/C][C]0.662514362135208[/C][C]0.668742818932396[/C][/ROW]
[ROW][C]33[/C][C]0.325275738750669[/C][C]0.650551477501339[/C][C]0.674724261249331[/C][/ROW]
[ROW][C]34[/C][C]0.326268331211377[/C][C]0.652536662422755[/C][C]0.673731668788623[/C][/ROW]
[ROW][C]35[/C][C]0.336540621714159[/C][C]0.673081243428318[/C][C]0.663459378285841[/C][/ROW]
[ROW][C]36[/C][C]0.351079444791613[/C][C]0.702158889583226[/C][C]0.648920555208387[/C][/ROW]
[ROW][C]37[/C][C]0.37594178985137[/C][C]0.75188357970274[/C][C]0.62405821014863[/C][/ROW]
[ROW][C]38[/C][C]0.395804068928364[/C][C]0.791608137856729[/C][C]0.604195931071636[/C][/ROW]
[ROW][C]39[/C][C]0.414535884836298[/C][C]0.829071769672597[/C][C]0.585464115163702[/C][/ROW]
[ROW][C]40[/C][C]0.439562398759731[/C][C]0.879124797519462[/C][C]0.560437601240269[/C][/ROW]
[ROW][C]41[/C][C]0.401970282221898[/C][C]0.803940564443796[/C][C]0.598029717778102[/C][/ROW]
[ROW][C]42[/C][C]0.351561237114994[/C][C]0.703122474229988[/C][C]0.648438762885006[/C][/ROW]
[ROW][C]43[/C][C]0.340748617105303[/C][C]0.681497234210606[/C][C]0.659251382894697[/C][/ROW]
[ROW][C]44[/C][C]0.365557459748193[/C][C]0.731114919496386[/C][C]0.634442540251807[/C][/ROW]
[ROW][C]45[/C][C]0.392004114234944[/C][C]0.784008228469889[/C][C]0.607995885765056[/C][/ROW]
[ROW][C]46[/C][C]0.427232981937761[/C][C]0.854465963875523[/C][C]0.572767018062239[/C][/ROW]
[ROW][C]47[/C][C]0.397920565686945[/C][C]0.79584113137389[/C][C]0.602079434313055[/C][/ROW]
[ROW][C]48[/C][C]0.397744065777513[/C][C]0.795488131555025[/C][C]0.602255934222487[/C][/ROW]
[ROW][C]49[/C][C]0.469042300753793[/C][C]0.938084601507587[/C][C]0.530957699246207[/C][/ROW]
[ROW][C]50[/C][C]0.467486690376657[/C][C]0.934973380753314[/C][C]0.532513309623343[/C][/ROW]
[ROW][C]51[/C][C]0.494452448921199[/C][C]0.988904897842398[/C][C]0.505547551078801[/C][/ROW]
[ROW][C]52[/C][C]0.462345456545101[/C][C]0.924690913090203[/C][C]0.537654543454899[/C][/ROW]
[ROW][C]53[/C][C]0.409701148622091[/C][C]0.819402297244182[/C][C]0.590298851377909[/C][/ROW]
[ROW][C]54[/C][C]0.353029138692385[/C][C]0.70605827738477[/C][C]0.646970861307615[/C][/ROW]
[ROW][C]55[/C][C]0.378826194553106[/C][C]0.757652389106213[/C][C]0.621173805446894[/C][/ROW]
[ROW][C]56[/C][C]0.467734198357009[/C][C]0.935468396714018[/C][C]0.532265801642991[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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
50.02028204017342250.04056408034684490.979717959826578
60.00688211909600280.01376423819200560.993117880903997
70.003131059998492230.006262119996984470.996868940001508
80.0009605791860210530.001921158372042110.999039420813979
90.0003566710514057870.0007133421028115740.999643328948594
100.0001273082211451920.0002546164422903840.999872691778855
115.96713165636764e-050.0001193426331273530.999940328683436
128.48464699580457e-050.0001696929399160910.999915153530042
130.0002068474111057380.0004136948222114770.999793152588894
140.0005558664767566240.001111732953513250.999444133523243
150.001332066460996000.002664132921991990.998667933539004
160.002775811156275530.005551622312551070.997224188843725
170.006070153044941530.01214030608988310.993929846955058
180.01038280655185940.02076561310371870.98961719344814
190.01497004870068910.02994009740137810.98502995129931
200.01723294043210670.03446588086421340.982767059567893
210.02016331874136550.04032663748273090.979836681258635
220.02489684598064820.04979369196129630.975103154019352
230.03335312533841050.0667062506768210.96664687466159
240.04250095180892830.08500190361785650.957499048191072
250.0523499777105710.1046999554211420.947650022289429
260.06600123770984210.1320024754196840.933998762290158
270.08908124922192790.1781624984438560.910918750778072
280.1302798385977520.2605596771955040.869720161402248
290.1908959298216790.3817918596433590.80910407017832
300.2626495970464580.5252991940929150.737350402953542
310.3125873022225630.6251746044451270.687412697777437
320.3312571810676040.6625143621352080.668742818932396
330.3252757387506690.6505514775013390.674724261249331
340.3262683312113770.6525366624227550.673731668788623
350.3365406217141590.6730812434283180.663459378285841
360.3510794447916130.7021588895832260.648920555208387
370.375941789851370.751883579702740.62405821014863
380.3958040689283640.7916081378567290.604195931071636
390.4145358848362980.8290717696725970.585464115163702
400.4395623987597310.8791247975194620.560437601240269
410.4019702822218980.8039405644437960.598029717778102
420.3515612371149940.7031224742299880.648438762885006
430.3407486171053030.6814972342106060.659251382894697
440.3655574597481930.7311149194963860.634442540251807
450.3920041142349440.7840082284698890.607995885765056
460.4272329819377610.8544659638755230.572767018062239
470.3979205656869450.795841131373890.602079434313055
480.3977440657775130.7954881315550250.602255934222487
490.4690423007537930.9380846015075870.530957699246207
500.4674866903766570.9349733807533140.532513309623343
510.4944524489211990.9889048978423980.505547551078801
520.4623454565451010.9246909130902030.537654543454899
530.4097011486220910.8194022972441820.590298851377909
540.3530291386923850.706058277384770.646970861307615
550.3788261945531060.7576523891062130.621173805446894
560.4677341983570090.9354683967140180.532265801642991







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.192307692307692NOK
5% type I error level180.346153846153846NOK
10% type I error level200.384615384615385NOK

\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 & 10 & 0.192307692307692 & NOK \tabularnewline
5% type I error level & 18 & 0.346153846153846 & NOK \tabularnewline
10% type I error level & 20 & 0.384615384615385 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=25936&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]10[/C][C]0.192307692307692[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]18[/C][C]0.346153846153846[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]20[/C][C]0.384615384615385[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=25936&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=25936&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 level100.192307692307692NOK
5% type I error level180.346153846153846NOK
10% type I error level200.384615384615385NOK



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