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 computationFri, 19 Dec 2008 14:23:30 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/19/t1229721898gbwxx62twl7623p.htm/, Retrieved Wed, 15 May 2024 11:57:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35264, Retrieved Wed, 15 May 2024 11:57:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact210
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
F    D  [Multiple Regression] [Seatbelt law: q1] [2008-11-24 23:03:38] [8d78428855b119373cac369316c08983]
- R  D      [Multiple Regression] [Multiple lineair ...] [2008-12-19 21:23:30] [d6e9f26c3644bfc30f06303d9993b878] [Current]
Feedback Forum

Post a new message
Dataseries X:
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	0
4356.98	0
4591.27	0
4696.96	0
4621.4	0
4562.84	0
4202.52	0
4296.49	0
4435.23	0
4105.18	0
4116.68	0
3844.49	0
3720.98	0
3674.4	0
3857.62	0
3801.06	0
3504.37	1
3032.6	1
3047.03	1
2962.34	1
2197.82	1
2014.45	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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'George Udny Yule' @ 72.249.76.132







Multiple Linear Regression - Estimated Regression Equation
Bel_20[t] = + 2288.32794782609 -1960.89930434783dummy[t] -108.256933333332M1[t] + 55.0095594202916M2[t] + 67.7796173913045M3[t] + 80.9436753623193M4[t] + 21.4877333333338M5[t] + 75.157791304348M6[t] + 0.647849275362236M7[t] + 248.009768115942M8[t] + 139.009826086957M9[t] + 90.2218840579716M10[t] + 106.379942028986M11[t] + 40.7939420289855t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Bel_20[t] =  +  2288.32794782609 -1960.89930434783dummy[t] -108.256933333332M1[t] +  55.0095594202916M2[t] +  67.7796173913045M3[t] +  80.9436753623193M4[t] +  21.4877333333338M5[t] +  75.157791304348M6[t] +  0.647849275362236M7[t] +  248.009768115942M8[t] +  139.009826086957M9[t] +  90.2218840579716M10[t] +  106.379942028986M11[t] +  40.7939420289855t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Bel_20[t] =  +  2288.32794782609 -1960.89930434783dummy[t] -108.256933333332M1[t] +  55.0095594202916M2[t] +  67.7796173913045M3[t] +  80.9436753623193M4[t] +  21.4877333333338M5[t] +  75.157791304348M6[t] +  0.647849275362236M7[t] +  248.009768115942M8[t] +  139.009826086957M9[t] +  90.2218840579716M10[t] +  106.379942028986M11[t] +  40.7939420289855t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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
Bel_20[t] = + 2288.32794782609 -1960.89930434783dummy[t] -108.256933333332M1[t] + 55.0095594202916M2[t] + 67.7796173913045M3[t] + 80.9436753623193M4[t] + 21.4877333333338M5[t] + 75.157791304348M6[t] + 0.647849275362236M7[t] + 248.009768115942M8[t] + 139.009826086957M9[t] + 90.2218840579716M10[t] + 106.379942028986M11[t] + 40.7939420289855t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2288.32794782609208.07430810.997600
dummy-1960.89930434783209.642211-9.353600
M1-108.256933333332241.575237-0.44810.6561190.328059
M255.0095594202916254.763410.21590.8299810.414991
M367.7796173913045254.6138110.26620.7912450.395623
M480.9436753623193254.5095880.3180.7518650.375933
M521.4877333333338254.4507970.08440.9330590.46653
M675.157791304348254.437470.29540.7689990.384499
M70.647849275362236254.4696120.00250.9979790.49899
M8248.009768115942252.2118050.98330.3304760.165238
M9139.009826086957252.0511950.55150.5838940.291947
M1090.2218840579716251.9364110.35810.7218620.360931
M11106.379942028986251.8675150.42240.6746850.337342
t40.79394202898553.40146311.993100

\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) & 2288.32794782609 & 208.074308 & 10.9976 & 0 & 0 \tabularnewline
dummy & -1960.89930434783 & 209.642211 & -9.3536 & 0 & 0 \tabularnewline
M1 & -108.256933333332 & 241.575237 & -0.4481 & 0.656119 & 0.328059 \tabularnewline
M2 & 55.0095594202916 & 254.76341 & 0.2159 & 0.829981 & 0.414991 \tabularnewline
M3 & 67.7796173913045 & 254.613811 & 0.2662 & 0.791245 & 0.395623 \tabularnewline
M4 & 80.9436753623193 & 254.509588 & 0.318 & 0.751865 & 0.375933 \tabularnewline
M5 & 21.4877333333338 & 254.450797 & 0.0844 & 0.933059 & 0.46653 \tabularnewline
M6 & 75.157791304348 & 254.43747 & 0.2954 & 0.768999 & 0.384499 \tabularnewline
M7 & 0.647849275362236 & 254.469612 & 0.0025 & 0.997979 & 0.49899 \tabularnewline
M8 & 248.009768115942 & 252.211805 & 0.9833 & 0.330476 & 0.165238 \tabularnewline
M9 & 139.009826086957 & 252.051195 & 0.5515 & 0.583894 & 0.291947 \tabularnewline
M10 & 90.2218840579716 & 251.936411 & 0.3581 & 0.721862 & 0.360931 \tabularnewline
M11 & 106.379942028986 & 251.867515 & 0.4224 & 0.674685 & 0.337342 \tabularnewline
t & 40.7939420289855 & 3.401463 & 11.9931 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&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]2288.32794782609[/C][C]208.074308[/C][C]10.9976[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummy[/C][C]-1960.89930434783[/C][C]209.642211[/C][C]-9.3536[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-108.256933333332[/C][C]241.575237[/C][C]-0.4481[/C][C]0.656119[/C][C]0.328059[/C][/ROW]
[ROW][C]M2[/C][C]55.0095594202916[/C][C]254.76341[/C][C]0.2159[/C][C]0.829981[/C][C]0.414991[/C][/ROW]
[ROW][C]M3[/C][C]67.7796173913045[/C][C]254.613811[/C][C]0.2662[/C][C]0.791245[/C][C]0.395623[/C][/ROW]
[ROW][C]M4[/C][C]80.9436753623193[/C][C]254.509588[/C][C]0.318[/C][C]0.751865[/C][C]0.375933[/C][/ROW]
[ROW][C]M5[/C][C]21.4877333333338[/C][C]254.450797[/C][C]0.0844[/C][C]0.933059[/C][C]0.46653[/C][/ROW]
[ROW][C]M6[/C][C]75.157791304348[/C][C]254.43747[/C][C]0.2954[/C][C]0.768999[/C][C]0.384499[/C][/ROW]
[ROW][C]M7[/C][C]0.647849275362236[/C][C]254.469612[/C][C]0.0025[/C][C]0.997979[/C][C]0.49899[/C][/ROW]
[ROW][C]M8[/C][C]248.009768115942[/C][C]252.211805[/C][C]0.9833[/C][C]0.330476[/C][C]0.165238[/C][/ROW]
[ROW][C]M9[/C][C]139.009826086957[/C][C]252.051195[/C][C]0.5515[/C][C]0.583894[/C][C]0.291947[/C][/ROW]
[ROW][C]M10[/C][C]90.2218840579716[/C][C]251.936411[/C][C]0.3581[/C][C]0.721862[/C][C]0.360931[/C][/ROW]
[ROW][C]M11[/C][C]106.379942028986[/C][C]251.867515[/C][C]0.4224[/C][C]0.674685[/C][C]0.337342[/C][/ROW]
[ROW][C]t[/C][C]40.7939420289855[/C][C]3.401463[/C][C]11.9931[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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)2288.32794782609208.07430810.997600
dummy-1960.89930434783209.642211-9.353600
M1-108.256933333332241.575237-0.44810.6561190.328059
M255.0095594202916254.763410.21590.8299810.414991
M367.7796173913045254.6138110.26620.7912450.395623
M480.9436753623193254.5095880.3180.7518650.375933
M521.4877333333338254.4507970.08440.9330590.46653
M675.157791304348254.437470.29540.7689990.384499
M70.647849275362236254.4696120.00250.9979790.49899
M8248.009768115942252.2118050.98330.3304760.165238
M9139.009826086957252.0511950.55150.5838940.291947
M1090.2218840579716251.9364110.35810.7218620.360931
M11106.379942028986251.8675150.42240.6746850.337342
t40.79394202898553.40146311.993100







Multiple Linear Regression - Regression Statistics
Multiple R0.881724215523546
R-squared0.777437592240613
Adjusted R-squared0.715877777328442
F-TEST (value)12.6289787152513
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value3.01427771631779e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation398.201190671179
Sum Squared Residuals7452516.84784139

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.881724215523546 \tabularnewline
R-squared & 0.777437592240613 \tabularnewline
Adjusted R-squared & 0.715877777328442 \tabularnewline
F-TEST (value) & 12.6289787152513 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 3.01427771631779e-11 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 398.201190671179 \tabularnewline
Sum Squared Residuals & 7452516.84784139 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.881724215523546[/C][/ROW]
[ROW][C]R-squared[/C][C]0.777437592240613[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.715877777328442[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]12.6289787152513[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]3.01427771631779e-11[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]398.201190671179[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]7452516.84784139[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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.881724215523546
R-squared0.777437592240613
Adjusted R-squared0.715877777328442
F-TEST (value)12.6289787152513
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value3.01427771631779e-11
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation398.201190671179
Sum Squared Residuals7452516.84784139







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12174.562220.86495652174-46.3049565217357
22196.722424.92539130434-228.205391304344
32350.442478.48939130435-128.049391304348
42440.252532.44739130435-92.1973913043487
52408.642513.78539130435-105.145391304348
62472.812608.24939130435-135.439391304349
72407.62574.53339130435-166.933391304349
82454.622862.68925217391-408.069252173913
92448.052794.48325217391-346.433252173913
102497.842786.48925217391-288.649252173913
112645.642843.44125217391-197.801252173913
122756.762777.85525217391-21.0952521739131
132849.272710.39226086957138.877739130434
142921.442914.452695652186.9873043478246
152981.852968.0166956521713.8333043478259
163080.583021.9746956521758.6053043478259
173106.223003.31269565217102.907304347826
183119.313097.7766956521721.5333043478260
193061.263064.06069565217-2.80069565217378
203097.313352.21655652174-254.906556521739
213161.693284.01055652174-122.320556521739
223257.163276.01655652174-18.8565565217397
233277.013332.96855652174-55.9585565217392
243295.323267.3825565217427.9374434782609
253363.993199.91956521739164.070434782607
263494.173403.9890.1899999999988
273667.033457.544209.486
283813.063511.502301.558
293917.963492.84425.12
303895.513587.304308.206000000000
313801.063553.588247.472
323570.123841.74386086956-271.623860869565
333701.613773.53786086957-71.9278608695652
343862.273765.5438608695696.726139130435
353970.13822.49586086957147.604139130435
364138.523756.90986086956381.610139130436
374199.753689.44686956522510.303130434782
384290.893893.50730434783397.382695652173
394443.913947.07130434783496.838695652174
404502.644001.02930434783501.610695652174
414356.983982.36730434783374.612695652174
424591.274076.83130434783514.438695652174
434696.964043.11530434783653.844695652174
444621.44331.27116521739290.128834782609
454562.844263.06516521739299.774834782609
464202.524255.07116521739-52.5511652173908
474296.494312.02316521739-15.5331652173911
484435.234246.43716521739188.792834782609
494105.184178.97417391304-73.7941739130435
504116.684383.03460869565-266.354608695653
513844.494436.59860869565-592.108608695652
523720.984490.55660869565-769.576608695652
533674.44471.89460869565-797.494608695652
543857.624566.35860869565-708.738608695652
553801.064532.64260869565-731.582608695651
563504.372859.89916521739644.470834782609
573032.62791.69316521739240.906834782608
583047.032783.69916521739263.330834782609
592962.342840.65116521739121.688834782609
602197.822775.06516521739-577.24516521739
612014.452707.60217391304-693.152173913045

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2174.56 & 2220.86495652174 & -46.3049565217357 \tabularnewline
2 & 2196.72 & 2424.92539130434 & -228.205391304344 \tabularnewline
3 & 2350.44 & 2478.48939130435 & -128.049391304348 \tabularnewline
4 & 2440.25 & 2532.44739130435 & -92.1973913043487 \tabularnewline
5 & 2408.64 & 2513.78539130435 & -105.145391304348 \tabularnewline
6 & 2472.81 & 2608.24939130435 & -135.439391304349 \tabularnewline
7 & 2407.6 & 2574.53339130435 & -166.933391304349 \tabularnewline
8 & 2454.62 & 2862.68925217391 & -408.069252173913 \tabularnewline
9 & 2448.05 & 2794.48325217391 & -346.433252173913 \tabularnewline
10 & 2497.84 & 2786.48925217391 & -288.649252173913 \tabularnewline
11 & 2645.64 & 2843.44125217391 & -197.801252173913 \tabularnewline
12 & 2756.76 & 2777.85525217391 & -21.0952521739131 \tabularnewline
13 & 2849.27 & 2710.39226086957 & 138.877739130434 \tabularnewline
14 & 2921.44 & 2914.45269565218 & 6.9873043478246 \tabularnewline
15 & 2981.85 & 2968.01669565217 & 13.8333043478259 \tabularnewline
16 & 3080.58 & 3021.97469565217 & 58.6053043478259 \tabularnewline
17 & 3106.22 & 3003.31269565217 & 102.907304347826 \tabularnewline
18 & 3119.31 & 3097.77669565217 & 21.5333043478260 \tabularnewline
19 & 3061.26 & 3064.06069565217 & -2.80069565217378 \tabularnewline
20 & 3097.31 & 3352.21655652174 & -254.906556521739 \tabularnewline
21 & 3161.69 & 3284.01055652174 & -122.320556521739 \tabularnewline
22 & 3257.16 & 3276.01655652174 & -18.8565565217397 \tabularnewline
23 & 3277.01 & 3332.96855652174 & -55.9585565217392 \tabularnewline
24 & 3295.32 & 3267.38255652174 & 27.9374434782609 \tabularnewline
25 & 3363.99 & 3199.91956521739 & 164.070434782607 \tabularnewline
26 & 3494.17 & 3403.98 & 90.1899999999988 \tabularnewline
27 & 3667.03 & 3457.544 & 209.486 \tabularnewline
28 & 3813.06 & 3511.502 & 301.558 \tabularnewline
29 & 3917.96 & 3492.84 & 425.12 \tabularnewline
30 & 3895.51 & 3587.304 & 308.206000000000 \tabularnewline
31 & 3801.06 & 3553.588 & 247.472 \tabularnewline
32 & 3570.12 & 3841.74386086956 & -271.623860869565 \tabularnewline
33 & 3701.61 & 3773.53786086957 & -71.9278608695652 \tabularnewline
34 & 3862.27 & 3765.54386086956 & 96.726139130435 \tabularnewline
35 & 3970.1 & 3822.49586086957 & 147.604139130435 \tabularnewline
36 & 4138.52 & 3756.90986086956 & 381.610139130436 \tabularnewline
37 & 4199.75 & 3689.44686956522 & 510.303130434782 \tabularnewline
38 & 4290.89 & 3893.50730434783 & 397.382695652173 \tabularnewline
39 & 4443.91 & 3947.07130434783 & 496.838695652174 \tabularnewline
40 & 4502.64 & 4001.02930434783 & 501.610695652174 \tabularnewline
41 & 4356.98 & 3982.36730434783 & 374.612695652174 \tabularnewline
42 & 4591.27 & 4076.83130434783 & 514.438695652174 \tabularnewline
43 & 4696.96 & 4043.11530434783 & 653.844695652174 \tabularnewline
44 & 4621.4 & 4331.27116521739 & 290.128834782609 \tabularnewline
45 & 4562.84 & 4263.06516521739 & 299.774834782609 \tabularnewline
46 & 4202.52 & 4255.07116521739 & -52.5511652173908 \tabularnewline
47 & 4296.49 & 4312.02316521739 & -15.5331652173911 \tabularnewline
48 & 4435.23 & 4246.43716521739 & 188.792834782609 \tabularnewline
49 & 4105.18 & 4178.97417391304 & -73.7941739130435 \tabularnewline
50 & 4116.68 & 4383.03460869565 & -266.354608695653 \tabularnewline
51 & 3844.49 & 4436.59860869565 & -592.108608695652 \tabularnewline
52 & 3720.98 & 4490.55660869565 & -769.576608695652 \tabularnewline
53 & 3674.4 & 4471.89460869565 & -797.494608695652 \tabularnewline
54 & 3857.62 & 4566.35860869565 & -708.738608695652 \tabularnewline
55 & 3801.06 & 4532.64260869565 & -731.582608695651 \tabularnewline
56 & 3504.37 & 2859.89916521739 & 644.470834782609 \tabularnewline
57 & 3032.6 & 2791.69316521739 & 240.906834782608 \tabularnewline
58 & 3047.03 & 2783.69916521739 & 263.330834782609 \tabularnewline
59 & 2962.34 & 2840.65116521739 & 121.688834782609 \tabularnewline
60 & 2197.82 & 2775.06516521739 & -577.24516521739 \tabularnewline
61 & 2014.45 & 2707.60217391304 & -693.152173913045 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&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]2174.56[/C][C]2220.86495652174[/C][C]-46.3049565217357[/C][/ROW]
[ROW][C]2[/C][C]2196.72[/C][C]2424.92539130434[/C][C]-228.205391304344[/C][/ROW]
[ROW][C]3[/C][C]2350.44[/C][C]2478.48939130435[/C][C]-128.049391304348[/C][/ROW]
[ROW][C]4[/C][C]2440.25[/C][C]2532.44739130435[/C][C]-92.1973913043487[/C][/ROW]
[ROW][C]5[/C][C]2408.64[/C][C]2513.78539130435[/C][C]-105.145391304348[/C][/ROW]
[ROW][C]6[/C][C]2472.81[/C][C]2608.24939130435[/C][C]-135.439391304349[/C][/ROW]
[ROW][C]7[/C][C]2407.6[/C][C]2574.53339130435[/C][C]-166.933391304349[/C][/ROW]
[ROW][C]8[/C][C]2454.62[/C][C]2862.68925217391[/C][C]-408.069252173913[/C][/ROW]
[ROW][C]9[/C][C]2448.05[/C][C]2794.48325217391[/C][C]-346.433252173913[/C][/ROW]
[ROW][C]10[/C][C]2497.84[/C][C]2786.48925217391[/C][C]-288.649252173913[/C][/ROW]
[ROW][C]11[/C][C]2645.64[/C][C]2843.44125217391[/C][C]-197.801252173913[/C][/ROW]
[ROW][C]12[/C][C]2756.76[/C][C]2777.85525217391[/C][C]-21.0952521739131[/C][/ROW]
[ROW][C]13[/C][C]2849.27[/C][C]2710.39226086957[/C][C]138.877739130434[/C][/ROW]
[ROW][C]14[/C][C]2921.44[/C][C]2914.45269565218[/C][C]6.9873043478246[/C][/ROW]
[ROW][C]15[/C][C]2981.85[/C][C]2968.01669565217[/C][C]13.8333043478259[/C][/ROW]
[ROW][C]16[/C][C]3080.58[/C][C]3021.97469565217[/C][C]58.6053043478259[/C][/ROW]
[ROW][C]17[/C][C]3106.22[/C][C]3003.31269565217[/C][C]102.907304347826[/C][/ROW]
[ROW][C]18[/C][C]3119.31[/C][C]3097.77669565217[/C][C]21.5333043478260[/C][/ROW]
[ROW][C]19[/C][C]3061.26[/C][C]3064.06069565217[/C][C]-2.80069565217378[/C][/ROW]
[ROW][C]20[/C][C]3097.31[/C][C]3352.21655652174[/C][C]-254.906556521739[/C][/ROW]
[ROW][C]21[/C][C]3161.69[/C][C]3284.01055652174[/C][C]-122.320556521739[/C][/ROW]
[ROW][C]22[/C][C]3257.16[/C][C]3276.01655652174[/C][C]-18.8565565217397[/C][/ROW]
[ROW][C]23[/C][C]3277.01[/C][C]3332.96855652174[/C][C]-55.9585565217392[/C][/ROW]
[ROW][C]24[/C][C]3295.32[/C][C]3267.38255652174[/C][C]27.9374434782609[/C][/ROW]
[ROW][C]25[/C][C]3363.99[/C][C]3199.91956521739[/C][C]164.070434782607[/C][/ROW]
[ROW][C]26[/C][C]3494.17[/C][C]3403.98[/C][C]90.1899999999988[/C][/ROW]
[ROW][C]27[/C][C]3667.03[/C][C]3457.544[/C][C]209.486[/C][/ROW]
[ROW][C]28[/C][C]3813.06[/C][C]3511.502[/C][C]301.558[/C][/ROW]
[ROW][C]29[/C][C]3917.96[/C][C]3492.84[/C][C]425.12[/C][/ROW]
[ROW][C]30[/C][C]3895.51[/C][C]3587.304[/C][C]308.206000000000[/C][/ROW]
[ROW][C]31[/C][C]3801.06[/C][C]3553.588[/C][C]247.472[/C][/ROW]
[ROW][C]32[/C][C]3570.12[/C][C]3841.74386086956[/C][C]-271.623860869565[/C][/ROW]
[ROW][C]33[/C][C]3701.61[/C][C]3773.53786086957[/C][C]-71.9278608695652[/C][/ROW]
[ROW][C]34[/C][C]3862.27[/C][C]3765.54386086956[/C][C]96.726139130435[/C][/ROW]
[ROW][C]35[/C][C]3970.1[/C][C]3822.49586086957[/C][C]147.604139130435[/C][/ROW]
[ROW][C]36[/C][C]4138.52[/C][C]3756.90986086956[/C][C]381.610139130436[/C][/ROW]
[ROW][C]37[/C][C]4199.75[/C][C]3689.44686956522[/C][C]510.303130434782[/C][/ROW]
[ROW][C]38[/C][C]4290.89[/C][C]3893.50730434783[/C][C]397.382695652173[/C][/ROW]
[ROW][C]39[/C][C]4443.91[/C][C]3947.07130434783[/C][C]496.838695652174[/C][/ROW]
[ROW][C]40[/C][C]4502.64[/C][C]4001.02930434783[/C][C]501.610695652174[/C][/ROW]
[ROW][C]41[/C][C]4356.98[/C][C]3982.36730434783[/C][C]374.612695652174[/C][/ROW]
[ROW][C]42[/C][C]4591.27[/C][C]4076.83130434783[/C][C]514.438695652174[/C][/ROW]
[ROW][C]43[/C][C]4696.96[/C][C]4043.11530434783[/C][C]653.844695652174[/C][/ROW]
[ROW][C]44[/C][C]4621.4[/C][C]4331.27116521739[/C][C]290.128834782609[/C][/ROW]
[ROW][C]45[/C][C]4562.84[/C][C]4263.06516521739[/C][C]299.774834782609[/C][/ROW]
[ROW][C]46[/C][C]4202.52[/C][C]4255.07116521739[/C][C]-52.5511652173908[/C][/ROW]
[ROW][C]47[/C][C]4296.49[/C][C]4312.02316521739[/C][C]-15.5331652173911[/C][/ROW]
[ROW][C]48[/C][C]4435.23[/C][C]4246.43716521739[/C][C]188.792834782609[/C][/ROW]
[ROW][C]49[/C][C]4105.18[/C][C]4178.97417391304[/C][C]-73.7941739130435[/C][/ROW]
[ROW][C]50[/C][C]4116.68[/C][C]4383.03460869565[/C][C]-266.354608695653[/C][/ROW]
[ROW][C]51[/C][C]3844.49[/C][C]4436.59860869565[/C][C]-592.108608695652[/C][/ROW]
[ROW][C]52[/C][C]3720.98[/C][C]4490.55660869565[/C][C]-769.576608695652[/C][/ROW]
[ROW][C]53[/C][C]3674.4[/C][C]4471.89460869565[/C][C]-797.494608695652[/C][/ROW]
[ROW][C]54[/C][C]3857.62[/C][C]4566.35860869565[/C][C]-708.738608695652[/C][/ROW]
[ROW][C]55[/C][C]3801.06[/C][C]4532.64260869565[/C][C]-731.582608695651[/C][/ROW]
[ROW][C]56[/C][C]3504.37[/C][C]2859.89916521739[/C][C]644.470834782609[/C][/ROW]
[ROW][C]57[/C][C]3032.6[/C][C]2791.69316521739[/C][C]240.906834782608[/C][/ROW]
[ROW][C]58[/C][C]3047.03[/C][C]2783.69916521739[/C][C]263.330834782609[/C][/ROW]
[ROW][C]59[/C][C]2962.34[/C][C]2840.65116521739[/C][C]121.688834782609[/C][/ROW]
[ROW][C]60[/C][C]2197.82[/C][C]2775.06516521739[/C][C]-577.24516521739[/C][/ROW]
[ROW][C]61[/C][C]2014.45[/C][C]2707.60217391304[/C][C]-693.152173913045[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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
12174.562220.86495652174-46.3049565217357
22196.722424.92539130434-228.205391304344
32350.442478.48939130435-128.049391304348
42440.252532.44739130435-92.1973913043487
52408.642513.78539130435-105.145391304348
62472.812608.24939130435-135.439391304349
72407.62574.53339130435-166.933391304349
82454.622862.68925217391-408.069252173913
92448.052794.48325217391-346.433252173913
102497.842786.48925217391-288.649252173913
112645.642843.44125217391-197.801252173913
122756.762777.85525217391-21.0952521739131
132849.272710.39226086957138.877739130434
142921.442914.452695652186.9873043478246
152981.852968.0166956521713.8333043478259
163080.583021.9746956521758.6053043478259
173106.223003.31269565217102.907304347826
183119.313097.7766956521721.5333043478260
193061.263064.06069565217-2.80069565217378
203097.313352.21655652174-254.906556521739
213161.693284.01055652174-122.320556521739
223257.163276.01655652174-18.8565565217397
233277.013332.96855652174-55.9585565217392
243295.323267.3825565217427.9374434782609
253363.993199.91956521739164.070434782607
263494.173403.9890.1899999999988
273667.033457.544209.486
283813.063511.502301.558
293917.963492.84425.12
303895.513587.304308.206000000000
313801.063553.588247.472
323570.123841.74386086956-271.623860869565
333701.613773.53786086957-71.9278608695652
343862.273765.5438608695696.726139130435
353970.13822.49586086957147.604139130435
364138.523756.90986086956381.610139130436
374199.753689.44686956522510.303130434782
384290.893893.50730434783397.382695652173
394443.913947.07130434783496.838695652174
404502.644001.02930434783501.610695652174
414356.983982.36730434783374.612695652174
424591.274076.83130434783514.438695652174
434696.964043.11530434783653.844695652174
444621.44331.27116521739290.128834782609
454562.844263.06516521739299.774834782609
464202.524255.07116521739-52.5511652173908
474296.494312.02316521739-15.5331652173911
484435.234246.43716521739188.792834782609
494105.184178.97417391304-73.7941739130435
504116.684383.03460869565-266.354608695653
513844.494436.59860869565-592.108608695652
523720.984490.55660869565-769.576608695652
533674.44471.89460869565-797.494608695652
543857.624566.35860869565-708.738608695652
553801.064532.64260869565-731.582608695651
563504.372859.89916521739644.470834782609
573032.62791.69316521739240.906834782608
583047.032783.69916521739263.330834782609
592962.342840.65116521739121.688834782609
602197.822775.06516521739-577.24516521739
612014.452707.60217391304-693.152173913045







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.0005001428512241440.001000285702448290.999499857148776
183.50044508606604e-057.00089017213208e-050.99996499554914
192.10420982118230e-064.20841964236459e-060.999997895790179
201.62970508398374e-073.25941016796747e-070.999999837029492
212.3839810212678e-084.7679620425356e-080.99999997616019
221.38660048471500e-082.77320096943001e-080.999999986133995
231.94839150607034e-093.89678301214068e-090.999999998051609
243.73320501392197e-097.46641002784393e-090.999999996266795
254.63416068052906e-099.26832136105811e-090.99999999536584
267.15060024362092e-101.43012004872418e-090.99999999928494
271.0195181615766e-102.0390363231532e-100.999999999898048
282.66898959298678e-115.33797918597355e-110.99999999997331
297.51310469218645e-111.50262093843729e-100.999999999924869
302.32226761763637e-114.64453523527274e-110.999999999976777
315.30675626076751e-121.06135125215350e-110.999999999994693
323.72528785051203e-107.45057570102406e-100.999999999627471
331.79911243275125e-093.5982248655025e-090.999999998200888
344.12003160042174e-098.24006320084349e-090.999999995879968
354.01945086229372e-088.03890172458744e-080.999999959805491
361.27388310381556e-072.54776620763112e-070.99999987261169
377.36941224102936e-081.47388244820587e-070.999999926305878
381.77268441024664e-073.54536882049328e-070.99999982273156
398.96311947983025e-081.79262389596605e-070.999999910368805
402.18318168422279e-084.36636336844558e-080.999999978168183
411.61357058690003e-083.22714117380005e-080.999999983864294
425.10339902805262e-091.02067980561052e-080.999999994896601
431.85519641429236e-083.71039282858472e-080.999999981448036
442.17673114212739e-074.35346228425478e-070.999999782326886

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.000500142851224144 & 0.00100028570244829 & 0.999499857148776 \tabularnewline
18 & 3.50044508606604e-05 & 7.00089017213208e-05 & 0.99996499554914 \tabularnewline
19 & 2.10420982118230e-06 & 4.20841964236459e-06 & 0.999997895790179 \tabularnewline
20 & 1.62970508398374e-07 & 3.25941016796747e-07 & 0.999999837029492 \tabularnewline
21 & 2.3839810212678e-08 & 4.7679620425356e-08 & 0.99999997616019 \tabularnewline
22 & 1.38660048471500e-08 & 2.77320096943001e-08 & 0.999999986133995 \tabularnewline
23 & 1.94839150607034e-09 & 3.89678301214068e-09 & 0.999999998051609 \tabularnewline
24 & 3.73320501392197e-09 & 7.46641002784393e-09 & 0.999999996266795 \tabularnewline
25 & 4.63416068052906e-09 & 9.26832136105811e-09 & 0.99999999536584 \tabularnewline
26 & 7.15060024362092e-10 & 1.43012004872418e-09 & 0.99999999928494 \tabularnewline
27 & 1.0195181615766e-10 & 2.0390363231532e-10 & 0.999999999898048 \tabularnewline
28 & 2.66898959298678e-11 & 5.33797918597355e-11 & 0.99999999997331 \tabularnewline
29 & 7.51310469218645e-11 & 1.50262093843729e-10 & 0.999999999924869 \tabularnewline
30 & 2.32226761763637e-11 & 4.64453523527274e-11 & 0.999999999976777 \tabularnewline
31 & 5.30675626076751e-12 & 1.06135125215350e-11 & 0.999999999994693 \tabularnewline
32 & 3.72528785051203e-10 & 7.45057570102406e-10 & 0.999999999627471 \tabularnewline
33 & 1.79911243275125e-09 & 3.5982248655025e-09 & 0.999999998200888 \tabularnewline
34 & 4.12003160042174e-09 & 8.24006320084349e-09 & 0.999999995879968 \tabularnewline
35 & 4.01945086229372e-08 & 8.03890172458744e-08 & 0.999999959805491 \tabularnewline
36 & 1.27388310381556e-07 & 2.54776620763112e-07 & 0.99999987261169 \tabularnewline
37 & 7.36941224102936e-08 & 1.47388244820587e-07 & 0.999999926305878 \tabularnewline
38 & 1.77268441024664e-07 & 3.54536882049328e-07 & 0.99999982273156 \tabularnewline
39 & 8.96311947983025e-08 & 1.79262389596605e-07 & 0.999999910368805 \tabularnewline
40 & 2.18318168422279e-08 & 4.36636336844558e-08 & 0.999999978168183 \tabularnewline
41 & 1.61357058690003e-08 & 3.22714117380005e-08 & 0.999999983864294 \tabularnewline
42 & 5.10339902805262e-09 & 1.02067980561052e-08 & 0.999999994896601 \tabularnewline
43 & 1.85519641429236e-08 & 3.71039282858472e-08 & 0.999999981448036 \tabularnewline
44 & 2.17673114212739e-07 & 4.35346228425478e-07 & 0.999999782326886 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35264&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.000500142851224144[/C][C]0.00100028570244829[/C][C]0.999499857148776[/C][/ROW]
[ROW][C]18[/C][C]3.50044508606604e-05[/C][C]7.00089017213208e-05[/C][C]0.99996499554914[/C][/ROW]
[ROW][C]19[/C][C]2.10420982118230e-06[/C][C]4.20841964236459e-06[/C][C]0.999997895790179[/C][/ROW]
[ROW][C]20[/C][C]1.62970508398374e-07[/C][C]3.25941016796747e-07[/C][C]0.999999837029492[/C][/ROW]
[ROW][C]21[/C][C]2.3839810212678e-08[/C][C]4.7679620425356e-08[/C][C]0.99999997616019[/C][/ROW]
[ROW][C]22[/C][C]1.38660048471500e-08[/C][C]2.77320096943001e-08[/C][C]0.999999986133995[/C][/ROW]
[ROW][C]23[/C][C]1.94839150607034e-09[/C][C]3.89678301214068e-09[/C][C]0.999999998051609[/C][/ROW]
[ROW][C]24[/C][C]3.73320501392197e-09[/C][C]7.46641002784393e-09[/C][C]0.999999996266795[/C][/ROW]
[ROW][C]25[/C][C]4.63416068052906e-09[/C][C]9.26832136105811e-09[/C][C]0.99999999536584[/C][/ROW]
[ROW][C]26[/C][C]7.15060024362092e-10[/C][C]1.43012004872418e-09[/C][C]0.99999999928494[/C][/ROW]
[ROW][C]27[/C][C]1.0195181615766e-10[/C][C]2.0390363231532e-10[/C][C]0.999999999898048[/C][/ROW]
[ROW][C]28[/C][C]2.66898959298678e-11[/C][C]5.33797918597355e-11[/C][C]0.99999999997331[/C][/ROW]
[ROW][C]29[/C][C]7.51310469218645e-11[/C][C]1.50262093843729e-10[/C][C]0.999999999924869[/C][/ROW]
[ROW][C]30[/C][C]2.32226761763637e-11[/C][C]4.64453523527274e-11[/C][C]0.999999999976777[/C][/ROW]
[ROW][C]31[/C][C]5.30675626076751e-12[/C][C]1.06135125215350e-11[/C][C]0.999999999994693[/C][/ROW]
[ROW][C]32[/C][C]3.72528785051203e-10[/C][C]7.45057570102406e-10[/C][C]0.999999999627471[/C][/ROW]
[ROW][C]33[/C][C]1.79911243275125e-09[/C][C]3.5982248655025e-09[/C][C]0.999999998200888[/C][/ROW]
[ROW][C]34[/C][C]4.12003160042174e-09[/C][C]8.24006320084349e-09[/C][C]0.999999995879968[/C][/ROW]
[ROW][C]35[/C][C]4.01945086229372e-08[/C][C]8.03890172458744e-08[/C][C]0.999999959805491[/C][/ROW]
[ROW][C]36[/C][C]1.27388310381556e-07[/C][C]2.54776620763112e-07[/C][C]0.99999987261169[/C][/ROW]
[ROW][C]37[/C][C]7.36941224102936e-08[/C][C]1.47388244820587e-07[/C][C]0.999999926305878[/C][/ROW]
[ROW][C]38[/C][C]1.77268441024664e-07[/C][C]3.54536882049328e-07[/C][C]0.99999982273156[/C][/ROW]
[ROW][C]39[/C][C]8.96311947983025e-08[/C][C]1.79262389596605e-07[/C][C]0.999999910368805[/C][/ROW]
[ROW][C]40[/C][C]2.18318168422279e-08[/C][C]4.36636336844558e-08[/C][C]0.999999978168183[/C][/ROW]
[ROW][C]41[/C][C]1.61357058690003e-08[/C][C]3.22714117380005e-08[/C][C]0.999999983864294[/C][/ROW]
[ROW][C]42[/C][C]5.10339902805262e-09[/C][C]1.02067980561052e-08[/C][C]0.999999994896601[/C][/ROW]
[ROW][C]43[/C][C]1.85519641429236e-08[/C][C]3.71039282858472e-08[/C][C]0.999999981448036[/C][/ROW]
[ROW][C]44[/C][C]2.17673114212739e-07[/C][C]4.35346228425478e-07[/C][C]0.999999782326886[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35264&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.0005001428512241440.001000285702448290.999499857148776
183.50044508606604e-057.00089017213208e-050.99996499554914
192.10420982118230e-064.20841964236459e-060.999997895790179
201.62970508398374e-073.25941016796747e-070.999999837029492
212.3839810212678e-084.7679620425356e-080.99999997616019
221.38660048471500e-082.77320096943001e-080.999999986133995
231.94839150607034e-093.89678301214068e-090.999999998051609
243.73320501392197e-097.46641002784393e-090.999999996266795
254.63416068052906e-099.26832136105811e-090.99999999536584
267.15060024362092e-101.43012004872418e-090.99999999928494
271.0195181615766e-102.0390363231532e-100.999999999898048
282.66898959298678e-115.33797918597355e-110.99999999997331
297.51310469218645e-111.50262093843729e-100.999999999924869
302.32226761763637e-114.64453523527274e-110.999999999976777
315.30675626076751e-121.06135125215350e-110.999999999994693
323.72528785051203e-107.45057570102406e-100.999999999627471
331.79911243275125e-093.5982248655025e-090.999999998200888
344.12003160042174e-098.24006320084349e-090.999999995879968
354.01945086229372e-088.03890172458744e-080.999999959805491
361.27388310381556e-072.54776620763112e-070.99999987261169
377.36941224102936e-081.47388244820587e-070.999999926305878
381.77268441024664e-073.54536882049328e-070.99999982273156
398.96311947983025e-081.79262389596605e-070.999999910368805
402.18318168422279e-084.36636336844558e-080.999999978168183
411.61357058690003e-083.22714117380005e-080.999999983864294
425.10339902805262e-091.02067980561052e-080.999999994896601
431.85519641429236e-083.71039282858472e-080.999999981448036
442.17673114212739e-074.35346228425478e-070.999999782326886







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level281NOK
5% type I error level281NOK
10% type I error level281NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35264&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 level281NOK
5% type I error level281NOK
10% type I error level281NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}