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 computationSun, 27 Dec 2009 04:17:48 -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/Dec/27/t1261912780v6itltaflxgrnio.htm/, Retrieved Thu, 02 May 2024 15:23:36 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70837, Retrieved Thu, 02 May 2024 15:23:36 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact159
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [inschrijvingen me...] [2009-12-27 11:03:19] [005293453b571dbccb80b45226e44173]
-   P     [Multiple Regression] [inschrijvingen se...] [2009-12-27 11:17:48] [b02b8a83db8a631da1ab9c106b4cdcf2] [Current]
Feedback Forum

Post a new message
Dataseries X:
20366	1
22782	1
19169	1
13807	1
29743	1
25591	1
29096	1
26482	1
22405	1
27044	1
17970	1
18730	1
19684	1
19785	1
18479	1
10698	1
31956	1
29506	1
34506	1
27165	1
26736	1
23691	1
18157	1
17328	1
18205	1
20995	1
17382	1
9367	1
31124	1
26551	1
30651	1
25859	1
25100	1
25778	1
20418	1
18688	1
20424	1
24776	1
19814	1
12738	1
31566	1
30111	1
30019	1
31934	1
25826	1
26835	1
20205	1
17789	1
20520	1
22518	1
15572	0
11509	0
25447	0
24090	0
27786	0
26195	0
20516	0
22759	0
19028	0
16971	0




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

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







Multiple Linear Regression - Estimated Regression Equation
Inschrijvingen[t] = + 13837.9742857143 + 3629.44285714286Dummy[t] + 1567.05547619047M1[t] + 3866.24238095238M2[t] + 471.917857142865M3[t] -6019.69523809524M4[t] + 12291.4916666667M5[t] + 9461.87857142857M6[t] + 12671.4654761905M7[t] + 9754.65238095238M8[t] + 6312.03928571428M9[t] + 7384.62619047619M10[t] + 1286.61309523810M11[t] + 32.2130952380954t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Inschrijvingen[t] =  +  13837.9742857143 +  3629.44285714286Dummy[t] +  1567.05547619047M1[t] +  3866.24238095238M2[t] +  471.917857142865M3[t] -6019.69523809524M4[t] +  12291.4916666667M5[t] +  9461.87857142857M6[t] +  12671.4654761905M7[t] +  9754.65238095238M8[t] +  6312.03928571428M9[t] +  7384.62619047619M10[t] +  1286.61309523810M11[t] +  32.2130952380954t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Inschrijvingen[t] =  +  13837.9742857143 +  3629.44285714286Dummy[t] +  1567.05547619047M1[t] +  3866.24238095238M2[t] +  471.917857142865M3[t] -6019.69523809524M4[t] +  12291.4916666667M5[t] +  9461.87857142857M6[t] +  12671.4654761905M7[t] +  9754.65238095238M8[t] +  6312.03928571428M9[t] +  7384.62619047619M10[t] +  1286.61309523810M11[t] +  32.2130952380954t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70837&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
Inschrijvingen[t] = + 13837.9742857143 + 3629.44285714286Dummy[t] + 1567.05547619047M1[t] + 3866.24238095238M2[t] + 471.917857142865M3[t] -6019.69523809524M4[t] + 12291.4916666667M5[t] + 9461.87857142857M6[t] + 12671.4654761905M7[t] + 9754.65238095238M8[t] + 6312.03928571428M9[t] + 7384.62619047619M10[t] + 1286.61309523810M11[t] + 32.2130952380954t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)13837.97428571431334.38562710.370300
Dummy3629.44285714286773.8549334.69012.5e-051.2e-05
M11567.055476190471067.1271741.46850.1487790.07439
M23866.242380952381065.9574063.6270.0007160.000358
M3471.9178571428651067.8543830.44190.660610.330305
M4-6019.695238095241065.645251-5.64891e-060
M512291.49166666671063.69220711.555500
M69461.878571428571061.9966638.909500
M712671.46547619051060.55985511.947900
M89754.652380952381059.3828359.207900
M96312.039285714281058.466475.963400
M107384.626190476191057.8114386.98100
M111286.613095238101057.4182241.21670.2299060.114953
t32.213095238095416.6507071.93460.0591980.029599

\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) & 13837.9742857143 & 1334.385627 & 10.3703 & 0 & 0 \tabularnewline
Dummy & 3629.44285714286 & 773.854933 & 4.6901 & 2.5e-05 & 1.2e-05 \tabularnewline
M1 & 1567.05547619047 & 1067.127174 & 1.4685 & 0.148779 & 0.07439 \tabularnewline
M2 & 3866.24238095238 & 1065.957406 & 3.627 & 0.000716 & 0.000358 \tabularnewline
M3 & 471.917857142865 & 1067.854383 & 0.4419 & 0.66061 & 0.330305 \tabularnewline
M4 & -6019.69523809524 & 1065.645251 & -5.6489 & 1e-06 & 0 \tabularnewline
M5 & 12291.4916666667 & 1063.692207 & 11.5555 & 0 & 0 \tabularnewline
M6 & 9461.87857142857 & 1061.996663 & 8.9095 & 0 & 0 \tabularnewline
M7 & 12671.4654761905 & 1060.559855 & 11.9479 & 0 & 0 \tabularnewline
M8 & 9754.65238095238 & 1059.382835 & 9.2079 & 0 & 0 \tabularnewline
M9 & 6312.03928571428 & 1058.46647 & 5.9634 & 0 & 0 \tabularnewline
M10 & 7384.62619047619 & 1057.811438 & 6.981 & 0 & 0 \tabularnewline
M11 & 1286.61309523810 & 1057.418224 & 1.2167 & 0.229906 & 0.114953 \tabularnewline
t & 32.2130952380954 & 16.650707 & 1.9346 & 0.059198 & 0.029599 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&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]13837.9742857143[/C][C]1334.385627[/C][C]10.3703[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]3629.44285714286[/C][C]773.854933[/C][C]4.6901[/C][C]2.5e-05[/C][C]1.2e-05[/C][/ROW]
[ROW][C]M1[/C][C]1567.05547619047[/C][C]1067.127174[/C][C]1.4685[/C][C]0.148779[/C][C]0.07439[/C][/ROW]
[ROW][C]M2[/C][C]3866.24238095238[/C][C]1065.957406[/C][C]3.627[/C][C]0.000716[/C][C]0.000358[/C][/ROW]
[ROW][C]M3[/C][C]471.917857142865[/C][C]1067.854383[/C][C]0.4419[/C][C]0.66061[/C][C]0.330305[/C][/ROW]
[ROW][C]M4[/C][C]-6019.69523809524[/C][C]1065.645251[/C][C]-5.6489[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]12291.4916666667[/C][C]1063.692207[/C][C]11.5555[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]9461.87857142857[/C][C]1061.996663[/C][C]8.9095[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]12671.4654761905[/C][C]1060.559855[/C][C]11.9479[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]9754.65238095238[/C][C]1059.382835[/C][C]9.2079[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]6312.03928571428[/C][C]1058.46647[/C][C]5.9634[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]7384.62619047619[/C][C]1057.811438[/C][C]6.981[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]1286.61309523810[/C][C]1057.418224[/C][C]1.2167[/C][C]0.229906[/C][C]0.114953[/C][/ROW]
[ROW][C]t[/C][C]32.2130952380954[/C][C]16.650707[/C][C]1.9346[/C][C]0.059198[/C][C]0.029599[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70837&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)13837.97428571431334.38562710.370300
Dummy3629.44285714286773.8549334.69012.5e-051.2e-05
M11567.055476190471067.1271741.46850.1487790.07439
M23866.242380952381065.9574063.6270.0007160.000358
M3471.9178571428651067.8543830.44190.660610.330305
M4-6019.695238095241065.645251-5.64891e-060
M512291.49166666671063.69220711.555500
M69461.878571428571061.9966638.909500
M712671.46547619051060.55985511.947900
M89754.652380952381059.3828359.207900
M96312.039285714281058.466475.963400
M107384.626190476191057.8114386.98100
M111286.613095238101057.4182241.21670.2299060.114953
t32.213095238095416.6507071.93460.0591980.029599







Multiple Linear Regression - Regression Statistics
Multiple R0.966569008873224
R-squared0.934255648914166
Adjusted R-squared0.9156757236073
F-TEST (value)50.2830680685739
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1671.71772016110
Sum Squared Residuals128553446.251428

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.966569008873224 \tabularnewline
R-squared & 0.934255648914166 \tabularnewline
Adjusted R-squared & 0.9156757236073 \tabularnewline
F-TEST (value) & 50.2830680685739 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1671.71772016110 \tabularnewline
Sum Squared Residuals & 128553446.251428 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.966569008873224[/C][/ROW]
[ROW][C]R-squared[/C][C]0.934255648914166[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.9156757236073[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]50.2830680685739[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1671.71772016110[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]128553446.251428[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70837&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.966569008873224
R-squared0.934255648914166
Adjusted R-squared0.9156757236073
F-TEST (value)50.2830680685739
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1671.71772016110
Sum Squared Residuals128553446.251428







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12036619066.68571428581299.31428571424
22278221398.08571428571383.91428571428
31916918035.97428571431133.02571428571
41380711576.57428571432230.42571428572
52974329919.9742857143-176.974285714299
62559127122.5742857143-1531.57428571428
72909630364.3742857143-1268.37428571428
82648227479.7742857143-997.774285714278
92240524069.3742857143-1664.37428571428
102704425174.17428571431869.82571428572
111797019108.3742857143-1138.37428571428
121873017853.9742857143876.025714285724
131968419453.2428571428230.757142857159
141978521784.6428571429-1999.64285714285
151847918422.531428571456.4685714285741
161069811963.1314285714-1265.13142857143
173195630306.53142857141649.46857142858
182950627509.13142857141996.86857142857
193450630750.93142857143755.06857142857
202716527866.3314285714-701.331428571429
212673624455.93142857142280.06857142857
222369125560.7314285714-1869.73142857143
231815719494.9314285714-1337.93142857143
241732818240.5314285714-912.53142857143
251820519839.8-1634.79999999999
262099522171.2-1176.20000000000
271738218809.0885714286-1427.08857142857
28936712349.6885714286-2982.68857142857
293112430693.0885714286430.911428571432
302655127895.6885714286-1344.68857142857
313065131137.4885714286-486.488571428575
322585928252.8885714286-2393.88857142857
332510024842.4885714286257.511428571427
342577825947.2885714286-169.288571428573
352041819881.4885714286536.511428571426
361868818627.088571428660.9114285714276
372042420226.3571428571197.642857142868
382477622557.75714285712218.24285714286
391981419195.6457142857618.354285714284
401273812736.24571428571.75428571428341
413156631079.6457142857486.354285714287
423011128282.24571428571828.75428571428
433001931524.0457142857-1505.04571428572
443193428639.44571428573294.55428571428
452582625229.0457142857596.954285714281
462683526333.8457142857501.154285714282
472020520268.0457142857-63.045714285719
481778919013.6457142857-1224.64571428572
492052020612.9142857143-92.9142857142772
502251822944.3142857143-426.314285714288
511557215952.76-380.759999999997
52115099493.362015.64
532544727836.76-2389.76
542409025039.36-949.36
552778628281.16-495.159999999999
562619525396.56798.440000000001
572051621986.16-1470.16
582275923090.96-331.96
591902817025.162002.84
601697115770.761200.24000000000

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 20366 & 19066.6857142858 & 1299.31428571424 \tabularnewline
2 & 22782 & 21398.0857142857 & 1383.91428571428 \tabularnewline
3 & 19169 & 18035.9742857143 & 1133.02571428571 \tabularnewline
4 & 13807 & 11576.5742857143 & 2230.42571428572 \tabularnewline
5 & 29743 & 29919.9742857143 & -176.974285714299 \tabularnewline
6 & 25591 & 27122.5742857143 & -1531.57428571428 \tabularnewline
7 & 29096 & 30364.3742857143 & -1268.37428571428 \tabularnewline
8 & 26482 & 27479.7742857143 & -997.774285714278 \tabularnewline
9 & 22405 & 24069.3742857143 & -1664.37428571428 \tabularnewline
10 & 27044 & 25174.1742857143 & 1869.82571428572 \tabularnewline
11 & 17970 & 19108.3742857143 & -1138.37428571428 \tabularnewline
12 & 18730 & 17853.9742857143 & 876.025714285724 \tabularnewline
13 & 19684 & 19453.2428571428 & 230.757142857159 \tabularnewline
14 & 19785 & 21784.6428571429 & -1999.64285714285 \tabularnewline
15 & 18479 & 18422.5314285714 & 56.4685714285741 \tabularnewline
16 & 10698 & 11963.1314285714 & -1265.13142857143 \tabularnewline
17 & 31956 & 30306.5314285714 & 1649.46857142858 \tabularnewline
18 & 29506 & 27509.1314285714 & 1996.86857142857 \tabularnewline
19 & 34506 & 30750.9314285714 & 3755.06857142857 \tabularnewline
20 & 27165 & 27866.3314285714 & -701.331428571429 \tabularnewline
21 & 26736 & 24455.9314285714 & 2280.06857142857 \tabularnewline
22 & 23691 & 25560.7314285714 & -1869.73142857143 \tabularnewline
23 & 18157 & 19494.9314285714 & -1337.93142857143 \tabularnewline
24 & 17328 & 18240.5314285714 & -912.53142857143 \tabularnewline
25 & 18205 & 19839.8 & -1634.79999999999 \tabularnewline
26 & 20995 & 22171.2 & -1176.20000000000 \tabularnewline
27 & 17382 & 18809.0885714286 & -1427.08857142857 \tabularnewline
28 & 9367 & 12349.6885714286 & -2982.68857142857 \tabularnewline
29 & 31124 & 30693.0885714286 & 430.911428571432 \tabularnewline
30 & 26551 & 27895.6885714286 & -1344.68857142857 \tabularnewline
31 & 30651 & 31137.4885714286 & -486.488571428575 \tabularnewline
32 & 25859 & 28252.8885714286 & -2393.88857142857 \tabularnewline
33 & 25100 & 24842.4885714286 & 257.511428571427 \tabularnewline
34 & 25778 & 25947.2885714286 & -169.288571428573 \tabularnewline
35 & 20418 & 19881.4885714286 & 536.511428571426 \tabularnewline
36 & 18688 & 18627.0885714286 & 60.9114285714276 \tabularnewline
37 & 20424 & 20226.3571428571 & 197.642857142868 \tabularnewline
38 & 24776 & 22557.7571428571 & 2218.24285714286 \tabularnewline
39 & 19814 & 19195.6457142857 & 618.354285714284 \tabularnewline
40 & 12738 & 12736.2457142857 & 1.75428571428341 \tabularnewline
41 & 31566 & 31079.6457142857 & 486.354285714287 \tabularnewline
42 & 30111 & 28282.2457142857 & 1828.75428571428 \tabularnewline
43 & 30019 & 31524.0457142857 & -1505.04571428572 \tabularnewline
44 & 31934 & 28639.4457142857 & 3294.55428571428 \tabularnewline
45 & 25826 & 25229.0457142857 & 596.954285714281 \tabularnewline
46 & 26835 & 26333.8457142857 & 501.154285714282 \tabularnewline
47 & 20205 & 20268.0457142857 & -63.045714285719 \tabularnewline
48 & 17789 & 19013.6457142857 & -1224.64571428572 \tabularnewline
49 & 20520 & 20612.9142857143 & -92.9142857142772 \tabularnewline
50 & 22518 & 22944.3142857143 & -426.314285714288 \tabularnewline
51 & 15572 & 15952.76 & -380.759999999997 \tabularnewline
52 & 11509 & 9493.36 & 2015.64 \tabularnewline
53 & 25447 & 27836.76 & -2389.76 \tabularnewline
54 & 24090 & 25039.36 & -949.36 \tabularnewline
55 & 27786 & 28281.16 & -495.159999999999 \tabularnewline
56 & 26195 & 25396.56 & 798.440000000001 \tabularnewline
57 & 20516 & 21986.16 & -1470.16 \tabularnewline
58 & 22759 & 23090.96 & -331.96 \tabularnewline
59 & 19028 & 17025.16 & 2002.84 \tabularnewline
60 & 16971 & 15770.76 & 1200.24000000000 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&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]20366[/C][C]19066.6857142858[/C][C]1299.31428571424[/C][/ROW]
[ROW][C]2[/C][C]22782[/C][C]21398.0857142857[/C][C]1383.91428571428[/C][/ROW]
[ROW][C]3[/C][C]19169[/C][C]18035.9742857143[/C][C]1133.02571428571[/C][/ROW]
[ROW][C]4[/C][C]13807[/C][C]11576.5742857143[/C][C]2230.42571428572[/C][/ROW]
[ROW][C]5[/C][C]29743[/C][C]29919.9742857143[/C][C]-176.974285714299[/C][/ROW]
[ROW][C]6[/C][C]25591[/C][C]27122.5742857143[/C][C]-1531.57428571428[/C][/ROW]
[ROW][C]7[/C][C]29096[/C][C]30364.3742857143[/C][C]-1268.37428571428[/C][/ROW]
[ROW][C]8[/C][C]26482[/C][C]27479.7742857143[/C][C]-997.774285714278[/C][/ROW]
[ROW][C]9[/C][C]22405[/C][C]24069.3742857143[/C][C]-1664.37428571428[/C][/ROW]
[ROW][C]10[/C][C]27044[/C][C]25174.1742857143[/C][C]1869.82571428572[/C][/ROW]
[ROW][C]11[/C][C]17970[/C][C]19108.3742857143[/C][C]-1138.37428571428[/C][/ROW]
[ROW][C]12[/C][C]18730[/C][C]17853.9742857143[/C][C]876.025714285724[/C][/ROW]
[ROW][C]13[/C][C]19684[/C][C]19453.2428571428[/C][C]230.757142857159[/C][/ROW]
[ROW][C]14[/C][C]19785[/C][C]21784.6428571429[/C][C]-1999.64285714285[/C][/ROW]
[ROW][C]15[/C][C]18479[/C][C]18422.5314285714[/C][C]56.4685714285741[/C][/ROW]
[ROW][C]16[/C][C]10698[/C][C]11963.1314285714[/C][C]-1265.13142857143[/C][/ROW]
[ROW][C]17[/C][C]31956[/C][C]30306.5314285714[/C][C]1649.46857142858[/C][/ROW]
[ROW][C]18[/C][C]29506[/C][C]27509.1314285714[/C][C]1996.86857142857[/C][/ROW]
[ROW][C]19[/C][C]34506[/C][C]30750.9314285714[/C][C]3755.06857142857[/C][/ROW]
[ROW][C]20[/C][C]27165[/C][C]27866.3314285714[/C][C]-701.331428571429[/C][/ROW]
[ROW][C]21[/C][C]26736[/C][C]24455.9314285714[/C][C]2280.06857142857[/C][/ROW]
[ROW][C]22[/C][C]23691[/C][C]25560.7314285714[/C][C]-1869.73142857143[/C][/ROW]
[ROW][C]23[/C][C]18157[/C][C]19494.9314285714[/C][C]-1337.93142857143[/C][/ROW]
[ROW][C]24[/C][C]17328[/C][C]18240.5314285714[/C][C]-912.53142857143[/C][/ROW]
[ROW][C]25[/C][C]18205[/C][C]19839.8[/C][C]-1634.79999999999[/C][/ROW]
[ROW][C]26[/C][C]20995[/C][C]22171.2[/C][C]-1176.20000000000[/C][/ROW]
[ROW][C]27[/C][C]17382[/C][C]18809.0885714286[/C][C]-1427.08857142857[/C][/ROW]
[ROW][C]28[/C][C]9367[/C][C]12349.6885714286[/C][C]-2982.68857142857[/C][/ROW]
[ROW][C]29[/C][C]31124[/C][C]30693.0885714286[/C][C]430.911428571432[/C][/ROW]
[ROW][C]30[/C][C]26551[/C][C]27895.6885714286[/C][C]-1344.68857142857[/C][/ROW]
[ROW][C]31[/C][C]30651[/C][C]31137.4885714286[/C][C]-486.488571428575[/C][/ROW]
[ROW][C]32[/C][C]25859[/C][C]28252.8885714286[/C][C]-2393.88857142857[/C][/ROW]
[ROW][C]33[/C][C]25100[/C][C]24842.4885714286[/C][C]257.511428571427[/C][/ROW]
[ROW][C]34[/C][C]25778[/C][C]25947.2885714286[/C][C]-169.288571428573[/C][/ROW]
[ROW][C]35[/C][C]20418[/C][C]19881.4885714286[/C][C]536.511428571426[/C][/ROW]
[ROW][C]36[/C][C]18688[/C][C]18627.0885714286[/C][C]60.9114285714276[/C][/ROW]
[ROW][C]37[/C][C]20424[/C][C]20226.3571428571[/C][C]197.642857142868[/C][/ROW]
[ROW][C]38[/C][C]24776[/C][C]22557.7571428571[/C][C]2218.24285714286[/C][/ROW]
[ROW][C]39[/C][C]19814[/C][C]19195.6457142857[/C][C]618.354285714284[/C][/ROW]
[ROW][C]40[/C][C]12738[/C][C]12736.2457142857[/C][C]1.75428571428341[/C][/ROW]
[ROW][C]41[/C][C]31566[/C][C]31079.6457142857[/C][C]486.354285714287[/C][/ROW]
[ROW][C]42[/C][C]30111[/C][C]28282.2457142857[/C][C]1828.75428571428[/C][/ROW]
[ROW][C]43[/C][C]30019[/C][C]31524.0457142857[/C][C]-1505.04571428572[/C][/ROW]
[ROW][C]44[/C][C]31934[/C][C]28639.4457142857[/C][C]3294.55428571428[/C][/ROW]
[ROW][C]45[/C][C]25826[/C][C]25229.0457142857[/C][C]596.954285714281[/C][/ROW]
[ROW][C]46[/C][C]26835[/C][C]26333.8457142857[/C][C]501.154285714282[/C][/ROW]
[ROW][C]47[/C][C]20205[/C][C]20268.0457142857[/C][C]-63.045714285719[/C][/ROW]
[ROW][C]48[/C][C]17789[/C][C]19013.6457142857[/C][C]-1224.64571428572[/C][/ROW]
[ROW][C]49[/C][C]20520[/C][C]20612.9142857143[/C][C]-92.9142857142772[/C][/ROW]
[ROW][C]50[/C][C]22518[/C][C]22944.3142857143[/C][C]-426.314285714288[/C][/ROW]
[ROW][C]51[/C][C]15572[/C][C]15952.76[/C][C]-380.759999999997[/C][/ROW]
[ROW][C]52[/C][C]11509[/C][C]9493.36[/C][C]2015.64[/C][/ROW]
[ROW][C]53[/C][C]25447[/C][C]27836.76[/C][C]-2389.76[/C][/ROW]
[ROW][C]54[/C][C]24090[/C][C]25039.36[/C][C]-949.36[/C][/ROW]
[ROW][C]55[/C][C]27786[/C][C]28281.16[/C][C]-495.159999999999[/C][/ROW]
[ROW][C]56[/C][C]26195[/C][C]25396.56[/C][C]798.440000000001[/C][/ROW]
[ROW][C]57[/C][C]20516[/C][C]21986.16[/C][C]-1470.16[/C][/ROW]
[ROW][C]58[/C][C]22759[/C][C]23090.96[/C][C]-331.96[/C][/ROW]
[ROW][C]59[/C][C]19028[/C][C]17025.16[/C][C]2002.84[/C][/ROW]
[ROW][C]60[/C][C]16971[/C][C]15770.76[/C][C]1200.24000000000[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70837&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
12036619066.68571428581299.31428571424
22278221398.08571428571383.91428571428
31916918035.97428571431133.02571428571
41380711576.57428571432230.42571428572
52974329919.9742857143-176.974285714299
62559127122.5742857143-1531.57428571428
72909630364.3742857143-1268.37428571428
82648227479.7742857143-997.774285714278
92240524069.3742857143-1664.37428571428
102704425174.17428571431869.82571428572
111797019108.3742857143-1138.37428571428
121873017853.9742857143876.025714285724
131968419453.2428571428230.757142857159
141978521784.6428571429-1999.64285714285
151847918422.531428571456.4685714285741
161069811963.1314285714-1265.13142857143
173195630306.53142857141649.46857142858
182950627509.13142857141996.86857142857
193450630750.93142857143755.06857142857
202716527866.3314285714-701.331428571429
212673624455.93142857142280.06857142857
222369125560.7314285714-1869.73142857143
231815719494.9314285714-1337.93142857143
241732818240.5314285714-912.53142857143
251820519839.8-1634.79999999999
262099522171.2-1176.20000000000
271738218809.0885714286-1427.08857142857
28936712349.6885714286-2982.68857142857
293112430693.0885714286430.911428571432
302655127895.6885714286-1344.68857142857
313065131137.4885714286-486.488571428575
322585928252.8885714286-2393.88857142857
332510024842.4885714286257.511428571427
342577825947.2885714286-169.288571428573
352041819881.4885714286536.511428571426
361868818627.088571428660.9114285714276
372042420226.3571428571197.642857142868
382477622557.75714285712218.24285714286
391981419195.6457142857618.354285714284
401273812736.24571428571.75428571428341
413156631079.6457142857486.354285714287
423011128282.24571428571828.75428571428
433001931524.0457142857-1505.04571428572
443193428639.44571428573294.55428571428
452582625229.0457142857596.954285714281
462683526333.8457142857501.154285714282
472020520268.0457142857-63.045714285719
481778919013.6457142857-1224.64571428572
492052020612.9142857143-92.9142857142772
502251822944.3142857143-426.314285714288
511557215952.76-380.759999999997
52115099493.362015.64
532544727836.76-2389.76
542409025039.36-949.36
552778628281.16-495.159999999999
562619525396.56798.440000000001
572051621986.16-1470.16
582275923090.96-331.96
591902817025.162002.84
601697115770.761200.24000000000







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6003289914603320.7993420170793370.399671008539668
180.8049676968952240.3900646062095530.195032303104777
190.966264771620480.06747045675903890.0337352283795194
200.934740053194010.1305198936119790.0652599468059896
210.9687352673569520.06252946528609510.0312647326430475
220.9745324030092160.05093519398156770.0254675969907839
230.9548810385690850.09023792286182980.0451189614309149
240.9328824007832180.1342351984335650.0671175992167824
250.9113451782447530.1773096435104930.0886548217552466
260.8658952854805060.2682094290389880.134104714519494
270.819931314189420.3601373716211590.180068685810579
280.8803152817096450.239369436580710.119684718290355
290.8463100466322270.3073799067355450.153689953367773
300.8006426996711970.3987146006576060.199357300328803
310.7304057356746470.5391885286507060.269594264325353
320.8834687472714330.2330625054571330.116531252728567
330.8299200789405160.3401598421189690.170079921059484
340.7669317754639040.4661364490721930.233068224536096
350.748485902433820.503028195132360.25151409756618
360.6855335642812590.6289328714374830.314466435718741
370.6308355621663870.7383288756672260.369164437833613
380.5991904825756190.8016190348487620.400809517424381
390.4898640462819620.9797280925639240.510135953718038
400.4736551783970030.9473103567940060.526344821602997
410.4349161675036770.8698323350073530.565083832496323
420.4496744805990780.8993489611981550.550325519400922
430.3269124123427490.6538248246854980.673087587657251

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.600328991460332 & 0.799342017079337 & 0.399671008539668 \tabularnewline
18 & 0.804967696895224 & 0.390064606209553 & 0.195032303104777 \tabularnewline
19 & 0.96626477162048 & 0.0674704567590389 & 0.0337352283795194 \tabularnewline
20 & 0.93474005319401 & 0.130519893611979 & 0.0652599468059896 \tabularnewline
21 & 0.968735267356952 & 0.0625294652860951 & 0.0312647326430475 \tabularnewline
22 & 0.974532403009216 & 0.0509351939815677 & 0.0254675969907839 \tabularnewline
23 & 0.954881038569085 & 0.0902379228618298 & 0.0451189614309149 \tabularnewline
24 & 0.932882400783218 & 0.134235198433565 & 0.0671175992167824 \tabularnewline
25 & 0.911345178244753 & 0.177309643510493 & 0.0886548217552466 \tabularnewline
26 & 0.865895285480506 & 0.268209429038988 & 0.134104714519494 \tabularnewline
27 & 0.81993131418942 & 0.360137371621159 & 0.180068685810579 \tabularnewline
28 & 0.880315281709645 & 0.23936943658071 & 0.119684718290355 \tabularnewline
29 & 0.846310046632227 & 0.307379906735545 & 0.153689953367773 \tabularnewline
30 & 0.800642699671197 & 0.398714600657606 & 0.199357300328803 \tabularnewline
31 & 0.730405735674647 & 0.539188528650706 & 0.269594264325353 \tabularnewline
32 & 0.883468747271433 & 0.233062505457133 & 0.116531252728567 \tabularnewline
33 & 0.829920078940516 & 0.340159842118969 & 0.170079921059484 \tabularnewline
34 & 0.766931775463904 & 0.466136449072193 & 0.233068224536096 \tabularnewline
35 & 0.74848590243382 & 0.50302819513236 & 0.25151409756618 \tabularnewline
36 & 0.685533564281259 & 0.628932871437483 & 0.314466435718741 \tabularnewline
37 & 0.630835562166387 & 0.738328875667226 & 0.369164437833613 \tabularnewline
38 & 0.599190482575619 & 0.801619034848762 & 0.400809517424381 \tabularnewline
39 & 0.489864046281962 & 0.979728092563924 & 0.510135953718038 \tabularnewline
40 & 0.473655178397003 & 0.947310356794006 & 0.526344821602997 \tabularnewline
41 & 0.434916167503677 & 0.869832335007353 & 0.565083832496323 \tabularnewline
42 & 0.449674480599078 & 0.899348961198155 & 0.550325519400922 \tabularnewline
43 & 0.326912412342749 & 0.653824824685498 & 0.673087587657251 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&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.600328991460332[/C][C]0.799342017079337[/C][C]0.399671008539668[/C][/ROW]
[ROW][C]18[/C][C]0.804967696895224[/C][C]0.390064606209553[/C][C]0.195032303104777[/C][/ROW]
[ROW][C]19[/C][C]0.96626477162048[/C][C]0.0674704567590389[/C][C]0.0337352283795194[/C][/ROW]
[ROW][C]20[/C][C]0.93474005319401[/C][C]0.130519893611979[/C][C]0.0652599468059896[/C][/ROW]
[ROW][C]21[/C][C]0.968735267356952[/C][C]0.0625294652860951[/C][C]0.0312647326430475[/C][/ROW]
[ROW][C]22[/C][C]0.974532403009216[/C][C]0.0509351939815677[/C][C]0.0254675969907839[/C][/ROW]
[ROW][C]23[/C][C]0.954881038569085[/C][C]0.0902379228618298[/C][C]0.0451189614309149[/C][/ROW]
[ROW][C]24[/C][C]0.932882400783218[/C][C]0.134235198433565[/C][C]0.0671175992167824[/C][/ROW]
[ROW][C]25[/C][C]0.911345178244753[/C][C]0.177309643510493[/C][C]0.0886548217552466[/C][/ROW]
[ROW][C]26[/C][C]0.865895285480506[/C][C]0.268209429038988[/C][C]0.134104714519494[/C][/ROW]
[ROW][C]27[/C][C]0.81993131418942[/C][C]0.360137371621159[/C][C]0.180068685810579[/C][/ROW]
[ROW][C]28[/C][C]0.880315281709645[/C][C]0.23936943658071[/C][C]0.119684718290355[/C][/ROW]
[ROW][C]29[/C][C]0.846310046632227[/C][C]0.307379906735545[/C][C]0.153689953367773[/C][/ROW]
[ROW][C]30[/C][C]0.800642699671197[/C][C]0.398714600657606[/C][C]0.199357300328803[/C][/ROW]
[ROW][C]31[/C][C]0.730405735674647[/C][C]0.539188528650706[/C][C]0.269594264325353[/C][/ROW]
[ROW][C]32[/C][C]0.883468747271433[/C][C]0.233062505457133[/C][C]0.116531252728567[/C][/ROW]
[ROW][C]33[/C][C]0.829920078940516[/C][C]0.340159842118969[/C][C]0.170079921059484[/C][/ROW]
[ROW][C]34[/C][C]0.766931775463904[/C][C]0.466136449072193[/C][C]0.233068224536096[/C][/ROW]
[ROW][C]35[/C][C]0.74848590243382[/C][C]0.50302819513236[/C][C]0.25151409756618[/C][/ROW]
[ROW][C]36[/C][C]0.685533564281259[/C][C]0.628932871437483[/C][C]0.314466435718741[/C][/ROW]
[ROW][C]37[/C][C]0.630835562166387[/C][C]0.738328875667226[/C][C]0.369164437833613[/C][/ROW]
[ROW][C]38[/C][C]0.599190482575619[/C][C]0.801619034848762[/C][C]0.400809517424381[/C][/ROW]
[ROW][C]39[/C][C]0.489864046281962[/C][C]0.979728092563924[/C][C]0.510135953718038[/C][/ROW]
[ROW][C]40[/C][C]0.473655178397003[/C][C]0.947310356794006[/C][C]0.526344821602997[/C][/ROW]
[ROW][C]41[/C][C]0.434916167503677[/C][C]0.869832335007353[/C][C]0.565083832496323[/C][/ROW]
[ROW][C]42[/C][C]0.449674480599078[/C][C]0.899348961198155[/C][C]0.550325519400922[/C][/ROW]
[ROW][C]43[/C][C]0.326912412342749[/C][C]0.653824824685498[/C][C]0.673087587657251[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70837&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.6003289914603320.7993420170793370.399671008539668
180.8049676968952240.3900646062095530.195032303104777
190.966264771620480.06747045675903890.0337352283795194
200.934740053194010.1305198936119790.0652599468059896
210.9687352673569520.06252946528609510.0312647326430475
220.9745324030092160.05093519398156770.0254675969907839
230.9548810385690850.09023792286182980.0451189614309149
240.9328824007832180.1342351984335650.0671175992167824
250.9113451782447530.1773096435104930.0886548217552466
260.8658952854805060.2682094290389880.134104714519494
270.819931314189420.3601373716211590.180068685810579
280.8803152817096450.239369436580710.119684718290355
290.8463100466322270.3073799067355450.153689953367773
300.8006426996711970.3987146006576060.199357300328803
310.7304057356746470.5391885286507060.269594264325353
320.8834687472714330.2330625054571330.116531252728567
330.8299200789405160.3401598421189690.170079921059484
340.7669317754639040.4661364490721930.233068224536096
350.748485902433820.503028195132360.25151409756618
360.6855335642812590.6289328714374830.314466435718741
370.6308355621663870.7383288756672260.369164437833613
380.5991904825756190.8016190348487620.400809517424381
390.4898640462819620.9797280925639240.510135953718038
400.4736551783970030.9473103567940060.526344821602997
410.4349161675036770.8698323350073530.565083832496323
420.4496744805990780.8993489611981550.550325519400922
430.3269124123427490.6538248246854980.673087587657251







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 4 & 0.148148148148148 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70837&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]4[/C][C]0.148148148148148[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70837&T=6

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

As an alternative you can also use a QR Code:  

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

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



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