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 computationMon, 23 Nov 2009 01:26:14 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/23/t1258964911zsgvmz69mvzsi3k.htm/, Retrieved Fri, 03 May 2024 12:50:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58709, Retrieved Fri, 03 May 2024 12:50:25 +0000
QR Codes:

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

Post a new message
Dataseries X:
286602	326011
283042	328282
276687	317480
277915	317539
277128	313737
277103	312276
275037	309391
270150	302950
267140	300316
264993	304035
287259	333476
291186	337698
292300	335932
288186	323931
281477	313927
282656	314485
280190	313218
280408	309664
276836	302963
275216	298989
274352	298423
271311	301631
289802	329765
290726	335083
292300	327616
278506	309119
269826	295916
265861	291413
269034	291542
264176	284678
255198	276475
253353	272566
246057	264981
235372	263290
258556	296806
260993	303598
254663	286994
250643	276427
243422	266424
247105	267153
248541	268381
245039	262522
237080	255542
237085	253158
225554	243803
226839	250741
247934	280445
248333	285257
246969	270976
245098	261076
246263	255603
255765	260376
264319	263903
268347	264291
273046	263276
273963	262572
267430	256167
271993	264221
292710	293860
295881	300713
293299	287224




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 99313.0632111415 + 0.570009443436961X[t] + 4071.3473931428M1[t] -1088.08404190897M2[t] -1006.70058021337M3[t] + 1134.47236766780M4[t] + 3137.56271707497M5[t] + 4287.69548580122M6[t] + 3651.92018371694M7[t] + 4150.92106954182M8[t] + 1330.30120474864M9[t] -2980.72899961993M10[t] + 1020.11087758092M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  99313.0632111415 +  0.570009443436961X[t] +  4071.3473931428M1[t] -1088.08404190897M2[t] -1006.70058021337M3[t] +  1134.47236766780M4[t] +  3137.56271707497M5[t] +  4287.69548580122M6[t] +  3651.92018371694M7[t] +  4150.92106954182M8[t] +  1330.30120474864M9[t] -2980.72899961993M10[t] +  1020.11087758092M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58709&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  99313.0632111415 +  0.570009443436961X[t] +  4071.3473931428M1[t] -1088.08404190897M2[t] -1006.70058021337M3[t] +  1134.47236766780M4[t] +  3137.56271707497M5[t] +  4287.69548580122M6[t] +  3651.92018371694M7[t] +  4150.92106954182M8[t] +  1330.30120474864M9[t] -2980.72899961993M10[t] +  1020.11087758092M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58709&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 99313.0632111415 + 0.570009443436961X[t] + 4071.3473931428M1[t] -1088.08404190897M2[t] -1006.70058021337M3[t] + 1134.47236766780M4[t] + 3137.56271707497M5[t] + 4287.69548580122M6[t] + 3651.92018371694M7[t] + 4150.92106954182M8[t] + 1330.30120474864M9[t] -2980.72899961993M10[t] + 1020.11087758092M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)99313.063211141521099.6634354.70692.2e-051.1e-05
X0.5700094434369610.0654728.706200
M14071.34739314287006.2920310.58110.5638930.281946
M2-1088.084041908977350.771891-0.1480.8829450.441472
M3-1006.700580213377451.947022-0.13510.8931040.446552
M41134.472367667807447.7743310.15230.879570.439785
M53137.562717074977448.2490930.42120.6754540.337727
M64287.695485801227496.1205530.5720.5699990.284999
M73651.920183716947579.2936540.48180.6321170.316059
M84150.921069541827643.3888940.54310.5895920.294796
M91330.301204748647752.9955880.17160.8644850.432242
M10-2980.728999619937668.185931-0.38870.6992070.349603
M111020.110877580927312.7673250.13950.8896410.44482

\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) & 99313.0632111415 & 21099.663435 & 4.7069 & 2.2e-05 & 1.1e-05 \tabularnewline
X & 0.570009443436961 & 0.065472 & 8.7062 & 0 & 0 \tabularnewline
M1 & 4071.3473931428 & 7006.292031 & 0.5811 & 0.563893 & 0.281946 \tabularnewline
M2 & -1088.08404190897 & 7350.771891 & -0.148 & 0.882945 & 0.441472 \tabularnewline
M3 & -1006.70058021337 & 7451.947022 & -0.1351 & 0.893104 & 0.446552 \tabularnewline
M4 & 1134.47236766780 & 7447.774331 & 0.1523 & 0.87957 & 0.439785 \tabularnewline
M5 & 3137.56271707497 & 7448.249093 & 0.4212 & 0.675454 & 0.337727 \tabularnewline
M6 & 4287.69548580122 & 7496.120553 & 0.572 & 0.569999 & 0.284999 \tabularnewline
M7 & 3651.92018371694 & 7579.293654 & 0.4818 & 0.632117 & 0.316059 \tabularnewline
M8 & 4150.92106954182 & 7643.388894 & 0.5431 & 0.589592 & 0.294796 \tabularnewline
M9 & 1330.30120474864 & 7752.995588 & 0.1716 & 0.864485 & 0.432242 \tabularnewline
M10 & -2980.72899961993 & 7668.185931 & -0.3887 & 0.699207 & 0.349603 \tabularnewline
M11 & 1020.11087758092 & 7312.767325 & 0.1395 & 0.889641 & 0.44482 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58709&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]99313.0632111415[/C][C]21099.663435[/C][C]4.7069[/C][C]2.2e-05[/C][C]1.1e-05[/C][/ROW]
[ROW][C]X[/C][C]0.570009443436961[/C][C]0.065472[/C][C]8.7062[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]4071.3473931428[/C][C]7006.292031[/C][C]0.5811[/C][C]0.563893[/C][C]0.281946[/C][/ROW]
[ROW][C]M2[/C][C]-1088.08404190897[/C][C]7350.771891[/C][C]-0.148[/C][C]0.882945[/C][C]0.441472[/C][/ROW]
[ROW][C]M3[/C][C]-1006.70058021337[/C][C]7451.947022[/C][C]-0.1351[/C][C]0.893104[/C][C]0.446552[/C][/ROW]
[ROW][C]M4[/C][C]1134.47236766780[/C][C]7447.774331[/C][C]0.1523[/C][C]0.87957[/C][C]0.439785[/C][/ROW]
[ROW][C]M5[/C][C]3137.56271707497[/C][C]7448.249093[/C][C]0.4212[/C][C]0.675454[/C][C]0.337727[/C][/ROW]
[ROW][C]M6[/C][C]4287.69548580122[/C][C]7496.120553[/C][C]0.572[/C][C]0.569999[/C][C]0.284999[/C][/ROW]
[ROW][C]M7[/C][C]3651.92018371694[/C][C]7579.293654[/C][C]0.4818[/C][C]0.632117[/C][C]0.316059[/C][/ROW]
[ROW][C]M8[/C][C]4150.92106954182[/C][C]7643.388894[/C][C]0.5431[/C][C]0.589592[/C][C]0.294796[/C][/ROW]
[ROW][C]M9[/C][C]1330.30120474864[/C][C]7752.995588[/C][C]0.1716[/C][C]0.864485[/C][C]0.432242[/C][/ROW]
[ROW][C]M10[/C][C]-2980.72899961993[/C][C]7668.185931[/C][C]-0.3887[/C][C]0.699207[/C][C]0.349603[/C][/ROW]
[ROW][C]M11[/C][C]1020.11087758092[/C][C]7312.767325[/C][C]0.1395[/C][C]0.889641[/C][C]0.44482[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58709&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58709&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)99313.063211141521099.6634354.70692.2e-051.1e-05
X0.5700094434369610.0654728.706200
M14071.34739314287006.2920310.58110.5638930.281946
M2-1088.084041908977350.771891-0.1480.8829450.441472
M3-1006.700580213377451.947022-0.13510.8931040.446552
M41134.472367667807447.7743310.15230.879570.439785
M53137.562717074977448.2490930.42120.6754540.337727
M64287.695485801227496.1205530.5720.5699990.284999
M73651.920183716947579.2936540.48180.6321170.316059
M84150.921069541827643.3888940.54310.5895920.294796
M91330.301204748647752.9955880.17160.8644850.432242
M10-2980.728999619937668.185931-0.38870.6992070.349603
M111020.110877580927312.7673250.13950.8896410.44482







Multiple Linear Regression - Regression Statistics
Multiple R0.822464504467495
R-squared0.676447861108961
Adjusted R-squared0.595559826386202
F-TEST (value)8.36276791032763
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value3.21437509942513e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11547.9618811135
Sum Squared Residuals6401060333.16722

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.822464504467495 \tabularnewline
R-squared & 0.676447861108961 \tabularnewline
Adjusted R-squared & 0.595559826386202 \tabularnewline
F-TEST (value) & 8.36276791032763 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 3.21437509942513e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 11547.9618811135 \tabularnewline
Sum Squared Residuals & 6401060333.16722 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58709&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.822464504467495[/C][/ROW]
[ROW][C]R-squared[/C][C]0.676447861108961[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.595559826386202[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]8.36276791032763[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]3.21437509942513e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]11547.9618811135[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]6401060333.16722[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58709&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58709&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.822464504467495
R-squared0.676447861108961
Adjusted R-squared0.595559826386202
F-TEST (value)8.36276791032763
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value3.21437509942513e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11547.9618811135
Sum Squared Residuals6401060333.16722







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1286602289213.759268611-2611.75926861116
2283042285348.819279605-2306.81927960492
3276687279272.960733294-2585.96073329448
4277915281447.764238338-3532.76423833845
5277128281283.678683798-4155.67868379829
6277103281601.027655663-4498.02765566314
7275037279320.775109263-4283.77510926323
8270150276148.345169911-5998.34516991063
9267140271826.320431105-4686.3204311045
10264993269635.155346878-4642.155346878
11287259290417.643248306-3158.64324830641
12291186291804.112240916-618.112240916341
13292300294868.822956949-2568.82295694946
14288186282868.7081912115317.29180878927
15281477277247.7171807634229.28281923703
16282656279706.9553980822949.04460191804
17280190280987.843782654-797.843782654503
18280408280112.162989406295.837010594203
19276836275656.7544068501179.24559314956
20275216273890.5377644571325.46223554316
21274352270747.2925546783604.70744532166
22271311268264.8526448563046.14735514446
23289802288302.3382037121499.66179628816
24290726290313.537546329412.462453671317
25292300290128.6244253282171.37557467230
26278506274425.7283150224080.27168497754
27269826266981.277095022844.72290498013
28265861266555.697519104-694.697519104405
29269034268632.319086715401.68091328506
30264176265869.90703569-1693.90703568989
31255198260558.344269092-5360.34426909223
32253353258829.178240522-5476.17824052202
33246057251685.036747259-5628.0367472595
34235372246410.120574039-11038.1205740390
35258556269515.396957473-10959.3969574731
36260993272366.790219716-11373.7902197160
37254663266973.700814031-12310.7008140315
38250643255790.979590181-5147.97959018134
39243422250170.558589177-6748.55858917701
40247105252727.268421324-5622.26842132374
41248541255430.330367271-6889.33036727149
42245039253240.777806901-8201.77780690059
43237080248626.336589626-11546.3365896263
44237085247766.434962297-10681.4349622975
45225554239613.376754152-14059.3767541515
46226839239257.072068349-12418.0720683486
47247934260189.472453401-12255.4724534009
48248333261912.247017639-13579.2470176387
49246969257843.289549058-10874.2895490582
50245098247040.764623981-1942.76462398055
51246263244002.4864017462260.51359825434
52255765248864.3144231516900.68557684855
53264319252877.82807956111441.1719204392
54268347254249.12451234114097.8754876594
55273046253034.78962516820011.2103748322
56273963253132.50386281320830.4961371870
57267430246660.97351280620769.0264871939
58271993246940.79936587925052.2006341212
59292710267836.14913710824873.8508628922
60295881270722.31297540025158.6870245997
61293299267104.80298602226194.1970139780

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 286602 & 289213.759268611 & -2611.75926861116 \tabularnewline
2 & 283042 & 285348.819279605 & -2306.81927960492 \tabularnewline
3 & 276687 & 279272.960733294 & -2585.96073329448 \tabularnewline
4 & 277915 & 281447.764238338 & -3532.76423833845 \tabularnewline
5 & 277128 & 281283.678683798 & -4155.67868379829 \tabularnewline
6 & 277103 & 281601.027655663 & -4498.02765566314 \tabularnewline
7 & 275037 & 279320.775109263 & -4283.77510926323 \tabularnewline
8 & 270150 & 276148.345169911 & -5998.34516991063 \tabularnewline
9 & 267140 & 271826.320431105 & -4686.3204311045 \tabularnewline
10 & 264993 & 269635.155346878 & -4642.155346878 \tabularnewline
11 & 287259 & 290417.643248306 & -3158.64324830641 \tabularnewline
12 & 291186 & 291804.112240916 & -618.112240916341 \tabularnewline
13 & 292300 & 294868.822956949 & -2568.82295694946 \tabularnewline
14 & 288186 & 282868.708191211 & 5317.29180878927 \tabularnewline
15 & 281477 & 277247.717180763 & 4229.28281923703 \tabularnewline
16 & 282656 & 279706.955398082 & 2949.04460191804 \tabularnewline
17 & 280190 & 280987.843782654 & -797.843782654503 \tabularnewline
18 & 280408 & 280112.162989406 & 295.837010594203 \tabularnewline
19 & 276836 & 275656.754406850 & 1179.24559314956 \tabularnewline
20 & 275216 & 273890.537764457 & 1325.46223554316 \tabularnewline
21 & 274352 & 270747.292554678 & 3604.70744532166 \tabularnewline
22 & 271311 & 268264.852644856 & 3046.14735514446 \tabularnewline
23 & 289802 & 288302.338203712 & 1499.66179628816 \tabularnewline
24 & 290726 & 290313.537546329 & 412.462453671317 \tabularnewline
25 & 292300 & 290128.624425328 & 2171.37557467230 \tabularnewline
26 & 278506 & 274425.728315022 & 4080.27168497754 \tabularnewline
27 & 269826 & 266981.27709502 & 2844.72290498013 \tabularnewline
28 & 265861 & 266555.697519104 & -694.697519104405 \tabularnewline
29 & 269034 & 268632.319086715 & 401.68091328506 \tabularnewline
30 & 264176 & 265869.90703569 & -1693.90703568989 \tabularnewline
31 & 255198 & 260558.344269092 & -5360.34426909223 \tabularnewline
32 & 253353 & 258829.178240522 & -5476.17824052202 \tabularnewline
33 & 246057 & 251685.036747259 & -5628.0367472595 \tabularnewline
34 & 235372 & 246410.120574039 & -11038.1205740390 \tabularnewline
35 & 258556 & 269515.396957473 & -10959.3969574731 \tabularnewline
36 & 260993 & 272366.790219716 & -11373.7902197160 \tabularnewline
37 & 254663 & 266973.700814031 & -12310.7008140315 \tabularnewline
38 & 250643 & 255790.979590181 & -5147.97959018134 \tabularnewline
39 & 243422 & 250170.558589177 & -6748.55858917701 \tabularnewline
40 & 247105 & 252727.268421324 & -5622.26842132374 \tabularnewline
41 & 248541 & 255430.330367271 & -6889.33036727149 \tabularnewline
42 & 245039 & 253240.777806901 & -8201.77780690059 \tabularnewline
43 & 237080 & 248626.336589626 & -11546.3365896263 \tabularnewline
44 & 237085 & 247766.434962297 & -10681.4349622975 \tabularnewline
45 & 225554 & 239613.376754152 & -14059.3767541515 \tabularnewline
46 & 226839 & 239257.072068349 & -12418.0720683486 \tabularnewline
47 & 247934 & 260189.472453401 & -12255.4724534009 \tabularnewline
48 & 248333 & 261912.247017639 & -13579.2470176387 \tabularnewline
49 & 246969 & 257843.289549058 & -10874.2895490582 \tabularnewline
50 & 245098 & 247040.764623981 & -1942.76462398055 \tabularnewline
51 & 246263 & 244002.486401746 & 2260.51359825434 \tabularnewline
52 & 255765 & 248864.314423151 & 6900.68557684855 \tabularnewline
53 & 264319 & 252877.828079561 & 11441.1719204392 \tabularnewline
54 & 268347 & 254249.124512341 & 14097.8754876594 \tabularnewline
55 & 273046 & 253034.789625168 & 20011.2103748322 \tabularnewline
56 & 273963 & 253132.503862813 & 20830.4961371870 \tabularnewline
57 & 267430 & 246660.973512806 & 20769.0264871939 \tabularnewline
58 & 271993 & 246940.799365879 & 25052.2006341212 \tabularnewline
59 & 292710 & 267836.149137108 & 24873.8508628922 \tabularnewline
60 & 295881 & 270722.312975400 & 25158.6870245997 \tabularnewline
61 & 293299 & 267104.802986022 & 26194.1970139780 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58709&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]286602[/C][C]289213.759268611[/C][C]-2611.75926861116[/C][/ROW]
[ROW][C]2[/C][C]283042[/C][C]285348.819279605[/C][C]-2306.81927960492[/C][/ROW]
[ROW][C]3[/C][C]276687[/C][C]279272.960733294[/C][C]-2585.96073329448[/C][/ROW]
[ROW][C]4[/C][C]277915[/C][C]281447.764238338[/C][C]-3532.76423833845[/C][/ROW]
[ROW][C]5[/C][C]277128[/C][C]281283.678683798[/C][C]-4155.67868379829[/C][/ROW]
[ROW][C]6[/C][C]277103[/C][C]281601.027655663[/C][C]-4498.02765566314[/C][/ROW]
[ROW][C]7[/C][C]275037[/C][C]279320.775109263[/C][C]-4283.77510926323[/C][/ROW]
[ROW][C]8[/C][C]270150[/C][C]276148.345169911[/C][C]-5998.34516991063[/C][/ROW]
[ROW][C]9[/C][C]267140[/C][C]271826.320431105[/C][C]-4686.3204311045[/C][/ROW]
[ROW][C]10[/C][C]264993[/C][C]269635.155346878[/C][C]-4642.155346878[/C][/ROW]
[ROW][C]11[/C][C]287259[/C][C]290417.643248306[/C][C]-3158.64324830641[/C][/ROW]
[ROW][C]12[/C][C]291186[/C][C]291804.112240916[/C][C]-618.112240916341[/C][/ROW]
[ROW][C]13[/C][C]292300[/C][C]294868.822956949[/C][C]-2568.82295694946[/C][/ROW]
[ROW][C]14[/C][C]288186[/C][C]282868.708191211[/C][C]5317.29180878927[/C][/ROW]
[ROW][C]15[/C][C]281477[/C][C]277247.717180763[/C][C]4229.28281923703[/C][/ROW]
[ROW][C]16[/C][C]282656[/C][C]279706.955398082[/C][C]2949.04460191804[/C][/ROW]
[ROW][C]17[/C][C]280190[/C][C]280987.843782654[/C][C]-797.843782654503[/C][/ROW]
[ROW][C]18[/C][C]280408[/C][C]280112.162989406[/C][C]295.837010594203[/C][/ROW]
[ROW][C]19[/C][C]276836[/C][C]275656.754406850[/C][C]1179.24559314956[/C][/ROW]
[ROW][C]20[/C][C]275216[/C][C]273890.537764457[/C][C]1325.46223554316[/C][/ROW]
[ROW][C]21[/C][C]274352[/C][C]270747.292554678[/C][C]3604.70744532166[/C][/ROW]
[ROW][C]22[/C][C]271311[/C][C]268264.852644856[/C][C]3046.14735514446[/C][/ROW]
[ROW][C]23[/C][C]289802[/C][C]288302.338203712[/C][C]1499.66179628816[/C][/ROW]
[ROW][C]24[/C][C]290726[/C][C]290313.537546329[/C][C]412.462453671317[/C][/ROW]
[ROW][C]25[/C][C]292300[/C][C]290128.624425328[/C][C]2171.37557467230[/C][/ROW]
[ROW][C]26[/C][C]278506[/C][C]274425.728315022[/C][C]4080.27168497754[/C][/ROW]
[ROW][C]27[/C][C]269826[/C][C]266981.27709502[/C][C]2844.72290498013[/C][/ROW]
[ROW][C]28[/C][C]265861[/C][C]266555.697519104[/C][C]-694.697519104405[/C][/ROW]
[ROW][C]29[/C][C]269034[/C][C]268632.319086715[/C][C]401.68091328506[/C][/ROW]
[ROW][C]30[/C][C]264176[/C][C]265869.90703569[/C][C]-1693.90703568989[/C][/ROW]
[ROW][C]31[/C][C]255198[/C][C]260558.344269092[/C][C]-5360.34426909223[/C][/ROW]
[ROW][C]32[/C][C]253353[/C][C]258829.178240522[/C][C]-5476.17824052202[/C][/ROW]
[ROW][C]33[/C][C]246057[/C][C]251685.036747259[/C][C]-5628.0367472595[/C][/ROW]
[ROW][C]34[/C][C]235372[/C][C]246410.120574039[/C][C]-11038.1205740390[/C][/ROW]
[ROW][C]35[/C][C]258556[/C][C]269515.396957473[/C][C]-10959.3969574731[/C][/ROW]
[ROW][C]36[/C][C]260993[/C][C]272366.790219716[/C][C]-11373.7902197160[/C][/ROW]
[ROW][C]37[/C][C]254663[/C][C]266973.700814031[/C][C]-12310.7008140315[/C][/ROW]
[ROW][C]38[/C][C]250643[/C][C]255790.979590181[/C][C]-5147.97959018134[/C][/ROW]
[ROW][C]39[/C][C]243422[/C][C]250170.558589177[/C][C]-6748.55858917701[/C][/ROW]
[ROW][C]40[/C][C]247105[/C][C]252727.268421324[/C][C]-5622.26842132374[/C][/ROW]
[ROW][C]41[/C][C]248541[/C][C]255430.330367271[/C][C]-6889.33036727149[/C][/ROW]
[ROW][C]42[/C][C]245039[/C][C]253240.777806901[/C][C]-8201.77780690059[/C][/ROW]
[ROW][C]43[/C][C]237080[/C][C]248626.336589626[/C][C]-11546.3365896263[/C][/ROW]
[ROW][C]44[/C][C]237085[/C][C]247766.434962297[/C][C]-10681.4349622975[/C][/ROW]
[ROW][C]45[/C][C]225554[/C][C]239613.376754152[/C][C]-14059.3767541515[/C][/ROW]
[ROW][C]46[/C][C]226839[/C][C]239257.072068349[/C][C]-12418.0720683486[/C][/ROW]
[ROW][C]47[/C][C]247934[/C][C]260189.472453401[/C][C]-12255.4724534009[/C][/ROW]
[ROW][C]48[/C][C]248333[/C][C]261912.247017639[/C][C]-13579.2470176387[/C][/ROW]
[ROW][C]49[/C][C]246969[/C][C]257843.289549058[/C][C]-10874.2895490582[/C][/ROW]
[ROW][C]50[/C][C]245098[/C][C]247040.764623981[/C][C]-1942.76462398055[/C][/ROW]
[ROW][C]51[/C][C]246263[/C][C]244002.486401746[/C][C]2260.51359825434[/C][/ROW]
[ROW][C]52[/C][C]255765[/C][C]248864.314423151[/C][C]6900.68557684855[/C][/ROW]
[ROW][C]53[/C][C]264319[/C][C]252877.828079561[/C][C]11441.1719204392[/C][/ROW]
[ROW][C]54[/C][C]268347[/C][C]254249.124512341[/C][C]14097.8754876594[/C][/ROW]
[ROW][C]55[/C][C]273046[/C][C]253034.789625168[/C][C]20011.2103748322[/C][/ROW]
[ROW][C]56[/C][C]273963[/C][C]253132.503862813[/C][C]20830.4961371870[/C][/ROW]
[ROW][C]57[/C][C]267430[/C][C]246660.973512806[/C][C]20769.0264871939[/C][/ROW]
[ROW][C]58[/C][C]271993[/C][C]246940.799365879[/C][C]25052.2006341212[/C][/ROW]
[ROW][C]59[/C][C]292710[/C][C]267836.149137108[/C][C]24873.8508628922[/C][/ROW]
[ROW][C]60[/C][C]295881[/C][C]270722.312975400[/C][C]25158.6870245997[/C][/ROW]
[ROW][C]61[/C][C]293299[/C][C]267104.802986022[/C][C]26194.1970139780[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58709&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58709&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
1286602289213.759268611-2611.75926861116
2283042285348.819279605-2306.81927960492
3276687279272.960733294-2585.96073329448
4277915281447.764238338-3532.76423833845
5277128281283.678683798-4155.67868379829
6277103281601.027655663-4498.02765566314
7275037279320.775109263-4283.77510926323
8270150276148.345169911-5998.34516991063
9267140271826.320431105-4686.3204311045
10264993269635.155346878-4642.155346878
11287259290417.643248306-3158.64324830641
12291186291804.112240916-618.112240916341
13292300294868.822956949-2568.82295694946
14288186282868.7081912115317.29180878927
15281477277247.7171807634229.28281923703
16282656279706.9553980822949.04460191804
17280190280987.843782654-797.843782654503
18280408280112.162989406295.837010594203
19276836275656.7544068501179.24559314956
20275216273890.5377644571325.46223554316
21274352270747.2925546783604.70744532166
22271311268264.8526448563046.14735514446
23289802288302.3382037121499.66179628816
24290726290313.537546329412.462453671317
25292300290128.6244253282171.37557467230
26278506274425.7283150224080.27168497754
27269826266981.277095022844.72290498013
28265861266555.697519104-694.697519104405
29269034268632.319086715401.68091328506
30264176265869.90703569-1693.90703568989
31255198260558.344269092-5360.34426909223
32253353258829.178240522-5476.17824052202
33246057251685.036747259-5628.0367472595
34235372246410.120574039-11038.1205740390
35258556269515.396957473-10959.3969574731
36260993272366.790219716-11373.7902197160
37254663266973.700814031-12310.7008140315
38250643255790.979590181-5147.97959018134
39243422250170.558589177-6748.55858917701
40247105252727.268421324-5622.26842132374
41248541255430.330367271-6889.33036727149
42245039253240.777806901-8201.77780690059
43237080248626.336589626-11546.3365896263
44237085247766.434962297-10681.4349622975
45225554239613.376754152-14059.3767541515
46226839239257.072068349-12418.0720683486
47247934260189.472453401-12255.4724534009
48248333261912.247017639-13579.2470176387
49246969257843.289549058-10874.2895490582
50245098247040.764623981-1942.76462398055
51246263244002.4864017462260.51359825434
52255765248864.3144231516900.68557684855
53264319252877.82807956111441.1719204392
54268347254249.12451234114097.8754876594
55273046253034.78962516820011.2103748322
56273963253132.50386281320830.4961371870
57267430246660.97351280620769.0264871939
58271993246940.79936587925052.2006341212
59292710267836.14913710824873.8508628922
60295881270722.31297540025158.6870245997
61293299267104.80298602226194.1970139780







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.03615741248765870.07231482497531740.963842587512341
170.01024312010875890.02048624021751790.98975687989124
180.002836274149493240.005672548298986470.997163725850507
190.0006256564131141970.001251312826228390.999374343586886
200.0002015363633879540.0004030727267759090.999798463636612
210.0001112066436883090.0002224132873766190.999888793356312
224.40888230042918e-058.81776460085836e-050.999955911176996
239.59997479415066e-061.91999495883013e-050.999990400025206
241.99393507935029e-063.98787015870057e-060.99999800606492
254.20626438169753e-078.41252876339505e-070.999999579373562
265.72864020105818e-071.14572804021164e-060.99999942713598
272.25370969516494e-074.50741939032988e-070.99999977462903
281.09300029242478e-072.18600058484956e-070.99999989069997
292.37697567555960e-084.75395135111919e-080.999999976230243
306.95674108363666e-091.39134821672733e-080.999999993043259
315.19946381891729e-091.03989276378346e-080.999999994800536
322.55950641597323e-095.11901283194646e-090.999999997440494
331.81636801990149e-093.63273603980298e-090.999999998183632
343.85047558976354e-097.70095117952708e-090.999999996149524
358.48396973784984e-091.69679394756997e-080.99999999151603
364.01153849425996e-088.02307698851991e-080.999999959884615
372.50488613453317e-075.00977226906634e-070.999999749511387
381.03071818179347e-062.06143636358695e-060.999998969281818
391.30070342602233e-052.60140685204466e-050.99998699296574
400.00023542270286720.00047084540573440.999764577297133
410.04184469705181640.08368939410363280.958155302948184
420.3269579202526090.6539158405052180.673042079747391
430.6509828818189080.6980342363621840.349017118181092
440.7853592227277160.4292815545445680.214640777272284
450.7128486958770780.5743026082458440.287151304122922

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0361574124876587 & 0.0723148249753174 & 0.963842587512341 \tabularnewline
17 & 0.0102431201087589 & 0.0204862402175179 & 0.98975687989124 \tabularnewline
18 & 0.00283627414949324 & 0.00567254829898647 & 0.997163725850507 \tabularnewline
19 & 0.000625656413114197 & 0.00125131282622839 & 0.999374343586886 \tabularnewline
20 & 0.000201536363387954 & 0.000403072726775909 & 0.999798463636612 \tabularnewline
21 & 0.000111206643688309 & 0.000222413287376619 & 0.999888793356312 \tabularnewline
22 & 4.40888230042918e-05 & 8.81776460085836e-05 & 0.999955911176996 \tabularnewline
23 & 9.59997479415066e-06 & 1.91999495883013e-05 & 0.999990400025206 \tabularnewline
24 & 1.99393507935029e-06 & 3.98787015870057e-06 & 0.99999800606492 \tabularnewline
25 & 4.20626438169753e-07 & 8.41252876339505e-07 & 0.999999579373562 \tabularnewline
26 & 5.72864020105818e-07 & 1.14572804021164e-06 & 0.99999942713598 \tabularnewline
27 & 2.25370969516494e-07 & 4.50741939032988e-07 & 0.99999977462903 \tabularnewline
28 & 1.09300029242478e-07 & 2.18600058484956e-07 & 0.99999989069997 \tabularnewline
29 & 2.37697567555960e-08 & 4.75395135111919e-08 & 0.999999976230243 \tabularnewline
30 & 6.95674108363666e-09 & 1.39134821672733e-08 & 0.999999993043259 \tabularnewline
31 & 5.19946381891729e-09 & 1.03989276378346e-08 & 0.999999994800536 \tabularnewline
32 & 2.55950641597323e-09 & 5.11901283194646e-09 & 0.999999997440494 \tabularnewline
33 & 1.81636801990149e-09 & 3.63273603980298e-09 & 0.999999998183632 \tabularnewline
34 & 3.85047558976354e-09 & 7.70095117952708e-09 & 0.999999996149524 \tabularnewline
35 & 8.48396973784984e-09 & 1.69679394756997e-08 & 0.99999999151603 \tabularnewline
36 & 4.01153849425996e-08 & 8.02307698851991e-08 & 0.999999959884615 \tabularnewline
37 & 2.50488613453317e-07 & 5.00977226906634e-07 & 0.999999749511387 \tabularnewline
38 & 1.03071818179347e-06 & 2.06143636358695e-06 & 0.999998969281818 \tabularnewline
39 & 1.30070342602233e-05 & 2.60140685204466e-05 & 0.99998699296574 \tabularnewline
40 & 0.0002354227028672 & 0.0004708454057344 & 0.999764577297133 \tabularnewline
41 & 0.0418446970518164 & 0.0836893941036328 & 0.958155302948184 \tabularnewline
42 & 0.326957920252609 & 0.653915840505218 & 0.673042079747391 \tabularnewline
43 & 0.650982881818908 & 0.698034236362184 & 0.349017118181092 \tabularnewline
44 & 0.785359222727716 & 0.429281554544568 & 0.214640777272284 \tabularnewline
45 & 0.712848695877078 & 0.574302608245844 & 0.287151304122922 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58709&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0361574124876587[/C][C]0.0723148249753174[/C][C]0.963842587512341[/C][/ROW]
[ROW][C]17[/C][C]0.0102431201087589[/C][C]0.0204862402175179[/C][C]0.98975687989124[/C][/ROW]
[ROW][C]18[/C][C]0.00283627414949324[/C][C]0.00567254829898647[/C][C]0.997163725850507[/C][/ROW]
[ROW][C]19[/C][C]0.000625656413114197[/C][C]0.00125131282622839[/C][C]0.999374343586886[/C][/ROW]
[ROW][C]20[/C][C]0.000201536363387954[/C][C]0.000403072726775909[/C][C]0.999798463636612[/C][/ROW]
[ROW][C]21[/C][C]0.000111206643688309[/C][C]0.000222413287376619[/C][C]0.999888793356312[/C][/ROW]
[ROW][C]22[/C][C]4.40888230042918e-05[/C][C]8.81776460085836e-05[/C][C]0.999955911176996[/C][/ROW]
[ROW][C]23[/C][C]9.59997479415066e-06[/C][C]1.91999495883013e-05[/C][C]0.999990400025206[/C][/ROW]
[ROW][C]24[/C][C]1.99393507935029e-06[/C][C]3.98787015870057e-06[/C][C]0.99999800606492[/C][/ROW]
[ROW][C]25[/C][C]4.20626438169753e-07[/C][C]8.41252876339505e-07[/C][C]0.999999579373562[/C][/ROW]
[ROW][C]26[/C][C]5.72864020105818e-07[/C][C]1.14572804021164e-06[/C][C]0.99999942713598[/C][/ROW]
[ROW][C]27[/C][C]2.25370969516494e-07[/C][C]4.50741939032988e-07[/C][C]0.99999977462903[/C][/ROW]
[ROW][C]28[/C][C]1.09300029242478e-07[/C][C]2.18600058484956e-07[/C][C]0.99999989069997[/C][/ROW]
[ROW][C]29[/C][C]2.37697567555960e-08[/C][C]4.75395135111919e-08[/C][C]0.999999976230243[/C][/ROW]
[ROW][C]30[/C][C]6.95674108363666e-09[/C][C]1.39134821672733e-08[/C][C]0.999999993043259[/C][/ROW]
[ROW][C]31[/C][C]5.19946381891729e-09[/C][C]1.03989276378346e-08[/C][C]0.999999994800536[/C][/ROW]
[ROW][C]32[/C][C]2.55950641597323e-09[/C][C]5.11901283194646e-09[/C][C]0.999999997440494[/C][/ROW]
[ROW][C]33[/C][C]1.81636801990149e-09[/C][C]3.63273603980298e-09[/C][C]0.999999998183632[/C][/ROW]
[ROW][C]34[/C][C]3.85047558976354e-09[/C][C]7.70095117952708e-09[/C][C]0.999999996149524[/C][/ROW]
[ROW][C]35[/C][C]8.48396973784984e-09[/C][C]1.69679394756997e-08[/C][C]0.99999999151603[/C][/ROW]
[ROW][C]36[/C][C]4.01153849425996e-08[/C][C]8.02307698851991e-08[/C][C]0.999999959884615[/C][/ROW]
[ROW][C]37[/C][C]2.50488613453317e-07[/C][C]5.00977226906634e-07[/C][C]0.999999749511387[/C][/ROW]
[ROW][C]38[/C][C]1.03071818179347e-06[/C][C]2.06143636358695e-06[/C][C]0.999998969281818[/C][/ROW]
[ROW][C]39[/C][C]1.30070342602233e-05[/C][C]2.60140685204466e-05[/C][C]0.99998699296574[/C][/ROW]
[ROW][C]40[/C][C]0.0002354227028672[/C][C]0.0004708454057344[/C][C]0.999764577297133[/C][/ROW]
[ROW][C]41[/C][C]0.0418446970518164[/C][C]0.0836893941036328[/C][C]0.958155302948184[/C][/ROW]
[ROW][C]42[/C][C]0.326957920252609[/C][C]0.653915840505218[/C][C]0.673042079747391[/C][/ROW]
[ROW][C]43[/C][C]0.650982881818908[/C][C]0.698034236362184[/C][C]0.349017118181092[/C][/ROW]
[ROW][C]44[/C][C]0.785359222727716[/C][C]0.429281554544568[/C][C]0.214640777272284[/C][/ROW]
[ROW][C]45[/C][C]0.712848695877078[/C][C]0.574302608245844[/C][C]0.287151304122922[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58709&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.03615741248765870.07231482497531740.963842587512341
170.01024312010875890.02048624021751790.98975687989124
180.002836274149493240.005672548298986470.997163725850507
190.0006256564131141970.001251312826228390.999374343586886
200.0002015363633879540.0004030727267759090.999798463636612
210.0001112066436883090.0002224132873766190.999888793356312
224.40888230042918e-058.81776460085836e-050.999955911176996
239.59997479415066e-061.91999495883013e-050.999990400025206
241.99393507935029e-063.98787015870057e-060.99999800606492
254.20626438169753e-078.41252876339505e-070.999999579373562
265.72864020105818e-071.14572804021164e-060.99999942713598
272.25370969516494e-074.50741939032988e-070.99999977462903
281.09300029242478e-072.18600058484956e-070.99999989069997
292.37697567555960e-084.75395135111919e-080.999999976230243
306.95674108363666e-091.39134821672733e-080.999999993043259
315.19946381891729e-091.03989276378346e-080.999999994800536
322.55950641597323e-095.11901283194646e-090.999999997440494
331.81636801990149e-093.63273603980298e-090.999999998183632
343.85047558976354e-097.70095117952708e-090.999999996149524
358.48396973784984e-091.69679394756997e-080.99999999151603
364.01153849425996e-088.02307698851991e-080.999999959884615
372.50488613453317e-075.00977226906634e-070.999999749511387
381.03071818179347e-062.06143636358695e-060.999998969281818
391.30070342602233e-052.60140685204466e-050.99998699296574
400.00023542270286720.00047084540573440.999764577297133
410.04184469705181640.08368939410363280.958155302948184
420.3269579202526090.6539158405052180.673042079747391
430.6509828818189080.6980342363621840.349017118181092
440.7853592227277160.4292815545445680.214640777272284
450.7128486958770780.5743026082458440.287151304122922







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level230.766666666666667NOK
5% type I error level240.8NOK
10% type I error level260.866666666666667NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58709&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 level230.766666666666667NOK
5% type I error level240.8NOK
10% type I error level260.866666666666667NOK



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