Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 30 Dec 2009 14:16:38 -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/30/t12622078589rlqnhapuvsv6yx.htm/, Retrieved Mon, 29 Apr 2024 07:40:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71377, Retrieved Mon, 29 Apr 2024 07:40:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact143
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [WS 6 Q3 G6 eigen ...] [2007-11-15 11:12:24] [22f18fc6a98517db16300404be421f9a]
- R  D  [Multiple Regression] [Multiple Regressi...] [2008-12-11 14:26:18] [7506b5e9e41ec66c6657f4234f97306e]
-         [Multiple Regression] [Multiple Regressi...] [2008-12-11 15:14:12] [7506b5e9e41ec66c6657f4234f97306e]
-           [Multiple Regression] [Multiple Regressi...] [2008-12-11 17:23:50] [7506b5e9e41ec66c6657f4234f97306e]
-  M D        [Multiple Regression] [box cox wlh] [2009-12-25 19:20:04] [bd8e774728cf1f2f4e6868fd314defe3]
-   PD            [Multiple Regression] [lin regr wlh seas...] [2009-12-30 21:16:38] [a315839f8c359622c3a1e6ed387dd5cd] [Current]
-   P               [Multiple Regression] [lin regr wlh line...] [2009-12-30 21:24:04] [bd8e774728cf1f2f4e6868fd314defe3]
-   P                 [Multiple Regression] [lin regr wlh lin ...] [2009-12-30 21:32:41] [bd8e774728cf1f2f4e6868fd314defe3]
Feedback Forum

Post a new message
Dataseries X:
612613	0
611324	0
594167	0
595454	0
590865	0
589379	0
584428	0
573100	0
567456	0
569028	0
620735	0
628884	0
628232	0
612117	0
595404	0
597141	0
593408	0
590072	0
579799	0
574205	0
572775	0
572942	0
619567	0
625809	0
619916	0
587625	0
565742	0
557274	0
560576	1
548854	1
531673	1
525919	1
511038	1
498662	1
555362	1
564591	1
541657	1
527070	1
509846	1
514258	1
516922	1
507561	1
492622	1
490243	1
469357	1
477580	1
528379	1
533590	1
517945	1
506174	1
501866	1
516141	1
528222	1
532638	1
536322	1
536535	1
523597	1
536214	1
586570	1
596594	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
wlh[t] = + 630954.108333333 -68434.1805555556dummies[t] -19507.8361111112M1[t] -34718.4361111111M2[t] -50175.4361111111M3[t] -47526.8361111111M4[t] -31895M5[t] -36192.8000000000M6[t] -44924.800M7[t] -49893.2M8[t] -61049M9[t] -59008.4M10[t] -7771M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wlh[t] =  +  630954.108333333 -68434.1805555556dummies[t] -19507.8361111112M1[t] -34718.4361111111M2[t] -50175.4361111111M3[t] -47526.8361111111M4[t] -31895M5[t] -36192.8000000000M6[t] -44924.800M7[t] -49893.2M8[t] -61049M9[t] -59008.4M10[t] -7771M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wlh[t] =  +  630954.108333333 -68434.1805555556dummies[t] -19507.8361111112M1[t] -34718.4361111111M2[t] -50175.4361111111M3[t] -47526.8361111111M4[t] -31895M5[t] -36192.8000000000M6[t] -44924.800M7[t] -49893.2M8[t] -61049M9[t] -59008.4M10[t] -7771M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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
wlh[t] = + 630954.108333333 -68434.1805555556dummies[t] -19507.8361111112M1[t] -34718.4361111111M2[t] -50175.4361111111M3[t] -47526.8361111111M4[t] -31895M5[t] -36192.8000000000M6[t] -44924.800M7[t] -49893.2M8[t] -61049M9[t] -59008.4M10[t] -7771M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)630954.1083333338652.02523872.925600
dummies-68434.18055555564806.680688-14.237300
M1-19507.836111111211576.020022-1.68520.0985810.04929
M2-34718.436111111111576.020022-2.99920.0043190.002159
M3-50175.436111111111576.020022-4.33447.7e-053.8e-05
M4-47526.836111111111576.020022-4.10560.000168e-05
M5-3189511536.03365-2.76480.0081110.004056
M6-36192.800000000011536.03365-3.13740.0029410.00147
M7-44924.80011536.03365-3.89430.000310.000155
M8-49893.211536.03365-4.3257.9e-053.9e-05
M9-6104911536.03365-5.2923e-062e-06
M10-59008.411536.03365-5.11516e-063e-06
M11-777111536.03365-0.67360.5038470.251924

\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) & 630954.108333333 & 8652.025238 & 72.9256 & 0 & 0 \tabularnewline
dummies & -68434.1805555556 & 4806.680688 & -14.2373 & 0 & 0 \tabularnewline
M1 & -19507.8361111112 & 11576.020022 & -1.6852 & 0.098581 & 0.04929 \tabularnewline
M2 & -34718.4361111111 & 11576.020022 & -2.9992 & 0.004319 & 0.002159 \tabularnewline
M3 & -50175.4361111111 & 11576.020022 & -4.3344 & 7.7e-05 & 3.8e-05 \tabularnewline
M4 & -47526.8361111111 & 11576.020022 & -4.1056 & 0.00016 & 8e-05 \tabularnewline
M5 & -31895 & 11536.03365 & -2.7648 & 0.008111 & 0.004056 \tabularnewline
M6 & -36192.8000000000 & 11536.03365 & -3.1374 & 0.002941 & 0.00147 \tabularnewline
M7 & -44924.800 & 11536.03365 & -3.8943 & 0.00031 & 0.000155 \tabularnewline
M8 & -49893.2 & 11536.03365 & -4.325 & 7.9e-05 & 3.9e-05 \tabularnewline
M9 & -61049 & 11536.03365 & -5.292 & 3e-06 & 2e-06 \tabularnewline
M10 & -59008.4 & 11536.03365 & -5.1151 & 6e-06 & 3e-06 \tabularnewline
M11 & -7771 & 11536.03365 & -0.6736 & 0.503847 & 0.251924 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&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]630954.108333333[/C][C]8652.025238[/C][C]72.9256[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummies[/C][C]-68434.1805555556[/C][C]4806.680688[/C][C]-14.2373[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-19507.8361111112[/C][C]11576.020022[/C][C]-1.6852[/C][C]0.098581[/C][C]0.04929[/C][/ROW]
[ROW][C]M2[/C][C]-34718.4361111111[/C][C]11576.020022[/C][C]-2.9992[/C][C]0.004319[/C][C]0.002159[/C][/ROW]
[ROW][C]M3[/C][C]-50175.4361111111[/C][C]11576.020022[/C][C]-4.3344[/C][C]7.7e-05[/C][C]3.8e-05[/C][/ROW]
[ROW][C]M4[/C][C]-47526.8361111111[/C][C]11576.020022[/C][C]-4.1056[/C][C]0.00016[/C][C]8e-05[/C][/ROW]
[ROW][C]M5[/C][C]-31895[/C][C]11536.03365[/C][C]-2.7648[/C][C]0.008111[/C][C]0.004056[/C][/ROW]
[ROW][C]M6[/C][C]-36192.8000000000[/C][C]11536.03365[/C][C]-3.1374[/C][C]0.002941[/C][C]0.00147[/C][/ROW]
[ROW][C]M7[/C][C]-44924.800[/C][C]11536.03365[/C][C]-3.8943[/C][C]0.00031[/C][C]0.000155[/C][/ROW]
[ROW][C]M8[/C][C]-49893.2[/C][C]11536.03365[/C][C]-4.325[/C][C]7.9e-05[/C][C]3.9e-05[/C][/ROW]
[ROW][C]M9[/C][C]-61049[/C][C]11536.03365[/C][C]-5.292[/C][C]3e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M10[/C][C]-59008.4[/C][C]11536.03365[/C][C]-5.1151[/C][C]6e-06[/C][C]3e-06[/C][/ROW]
[ROW][C]M11[/C][C]-7771[/C][C]11536.03365[/C][C]-0.6736[/C][C]0.503847[/C][C]0.251924[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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)630954.1083333338652.02523872.925600
dummies-68434.18055555564806.680688-14.237300
M1-19507.836111111211576.020022-1.68520.0985810.04929
M2-34718.436111111111576.020022-2.99920.0043190.002159
M3-50175.436111111111576.020022-4.33447.7e-053.8e-05
M4-47526.836111111111576.020022-4.10560.000168e-05
M5-3189511536.03365-2.76480.0081110.004056
M6-36192.800000000011536.03365-3.13740.0029410.00147
M7-44924.80011536.03365-3.89430.000310.000155
M8-49893.211536.03365-4.3257.9e-053.9e-05
M9-6104911536.03365-5.2923e-062e-06
M10-59008.411536.03365-5.11516e-063e-06
M11-777111536.03365-0.67360.5038470.251924







Multiple Linear Regression - Regression Statistics
Multiple R0.923043008017838
R-squared0.852008394650618
Adjusted R-squared0.814223303923116
F-TEST (value)22.5487984346822
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.55431223447522e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18240.0707498689
Sum Squared Residuals15636908505.1306

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.923043008017838 \tabularnewline
R-squared & 0.852008394650618 \tabularnewline
Adjusted R-squared & 0.814223303923116 \tabularnewline
F-TEST (value) & 22.5487984346822 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 1.55431223447522e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 18240.0707498689 \tabularnewline
Sum Squared Residuals & 15636908505.1306 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.923043008017838[/C][/ROW]
[ROW][C]R-squared[/C][C]0.852008394650618[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.814223303923116[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]22.5487984346822[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]1.55431223447522e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]18240.0707498689[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]15636908505.1306[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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.923043008017838
R-squared0.852008394650618
Adjusted R-squared0.814223303923116
F-TEST (value)22.5487984346822
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value1.55431223447522e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation18240.0707498689
Sum Squared Residuals15636908505.1306







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1612613611446.2722222231166.7277777775
2611324596235.67222222215088.3277777778
3594167580778.67222222213388.3277777778
4595454583427.27222222212026.7277777778
5590865599059.108333333-8194.10833333333
6589379594761.308333333-5382.30833333328
7584428586029.308333333-1601.30833333331
8573100581060.908333333-7960.90833333338
9567456569905.108333333-2449.10833333343
10569028571945.708333333-2917.70833333334
11620735623183.108333333-2448.1083333333
12628884630954.108333333-2070.10833333331
13628232611446.27222222216785.7277777779
14612117596235.67222222215881.3277777778
15595404580778.67222222214625.3277777778
16597141583427.27222222213713.7277777778
17593408599059.108333333-5651.10833333331
18590072594761.308333333-4689.30833333333
19579799586029.308333333-6230.30833333334
20574205581060.908333333-6855.90833333332
21572775569905.1083333332869.89166666669
22572942571945.708333333996.29166666667
23619567623183.108333333-3616.10833333333
24625809630954.108333333-5145.10833333333
25619916611446.2722222228469.72777777785
26587625596235.672222222-8610.67222222224
27565742580778.672222222-15036.6722222222
28557274583427.272222222-26153.2722222222
29560576530624.92777777829951.0722222222
30548854526327.12777777822526.8722222222
31531673517595.12777777814077.8722222222
32525919512626.72777777813292.2722222222
33511038501470.9277777789567.07222222224
34498662503511.527777778-4849.52777777778
35555362554748.927777778613.072222222213
36564591562519.9277777782071.07222222221
37541657543012.091666667-1355.09166666660
38527070527801.491666667-731.491666666687
39509846512344.491666667-2498.49166666668
40514258514993.091666667-735.091666666687
41516922530624.927777778-13702.9277777778
42507561526327.127777778-18766.1277777778
43492622517595.127777778-24973.1277777778
44490243512626.727777778-22383.7277777778
45469357501470.927777778-32113.9277777778
46477580503511.527777778-25931.5277777778
47528379554748.927777778-26369.9277777778
48533590562519.927777778-28929.9277777778
49517945543012.091666667-25067.0916666666
50506174527801.491666667-21627.4916666667
51501866512344.491666667-10478.4916666667
52516141514993.0916666671147.90833333331
53528222530624.927777778-2402.92777777778
54532638526327.1277777786310.87222222221
55536322517595.12777777818726.8722222222
56536535512626.72777777823908.2722222222
57523597501470.92777777822126.0722222223
58536214503511.52777777832702.4722222222
59586570554748.92777777831821.0722222222
60596594562519.92777777834074.0722222222

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 612613 & 611446.272222223 & 1166.7277777775 \tabularnewline
2 & 611324 & 596235.672222222 & 15088.3277777778 \tabularnewline
3 & 594167 & 580778.672222222 & 13388.3277777778 \tabularnewline
4 & 595454 & 583427.272222222 & 12026.7277777778 \tabularnewline
5 & 590865 & 599059.108333333 & -8194.10833333333 \tabularnewline
6 & 589379 & 594761.308333333 & -5382.30833333328 \tabularnewline
7 & 584428 & 586029.308333333 & -1601.30833333331 \tabularnewline
8 & 573100 & 581060.908333333 & -7960.90833333338 \tabularnewline
9 & 567456 & 569905.108333333 & -2449.10833333343 \tabularnewline
10 & 569028 & 571945.708333333 & -2917.70833333334 \tabularnewline
11 & 620735 & 623183.108333333 & -2448.1083333333 \tabularnewline
12 & 628884 & 630954.108333333 & -2070.10833333331 \tabularnewline
13 & 628232 & 611446.272222222 & 16785.7277777779 \tabularnewline
14 & 612117 & 596235.672222222 & 15881.3277777778 \tabularnewline
15 & 595404 & 580778.672222222 & 14625.3277777778 \tabularnewline
16 & 597141 & 583427.272222222 & 13713.7277777778 \tabularnewline
17 & 593408 & 599059.108333333 & -5651.10833333331 \tabularnewline
18 & 590072 & 594761.308333333 & -4689.30833333333 \tabularnewline
19 & 579799 & 586029.308333333 & -6230.30833333334 \tabularnewline
20 & 574205 & 581060.908333333 & -6855.90833333332 \tabularnewline
21 & 572775 & 569905.108333333 & 2869.89166666669 \tabularnewline
22 & 572942 & 571945.708333333 & 996.29166666667 \tabularnewline
23 & 619567 & 623183.108333333 & -3616.10833333333 \tabularnewline
24 & 625809 & 630954.108333333 & -5145.10833333333 \tabularnewline
25 & 619916 & 611446.272222222 & 8469.72777777785 \tabularnewline
26 & 587625 & 596235.672222222 & -8610.67222222224 \tabularnewline
27 & 565742 & 580778.672222222 & -15036.6722222222 \tabularnewline
28 & 557274 & 583427.272222222 & -26153.2722222222 \tabularnewline
29 & 560576 & 530624.927777778 & 29951.0722222222 \tabularnewline
30 & 548854 & 526327.127777778 & 22526.8722222222 \tabularnewline
31 & 531673 & 517595.127777778 & 14077.8722222222 \tabularnewline
32 & 525919 & 512626.727777778 & 13292.2722222222 \tabularnewline
33 & 511038 & 501470.927777778 & 9567.07222222224 \tabularnewline
34 & 498662 & 503511.527777778 & -4849.52777777778 \tabularnewline
35 & 555362 & 554748.927777778 & 613.072222222213 \tabularnewline
36 & 564591 & 562519.927777778 & 2071.07222222221 \tabularnewline
37 & 541657 & 543012.091666667 & -1355.09166666660 \tabularnewline
38 & 527070 & 527801.491666667 & -731.491666666687 \tabularnewline
39 & 509846 & 512344.491666667 & -2498.49166666668 \tabularnewline
40 & 514258 & 514993.091666667 & -735.091666666687 \tabularnewline
41 & 516922 & 530624.927777778 & -13702.9277777778 \tabularnewline
42 & 507561 & 526327.127777778 & -18766.1277777778 \tabularnewline
43 & 492622 & 517595.127777778 & -24973.1277777778 \tabularnewline
44 & 490243 & 512626.727777778 & -22383.7277777778 \tabularnewline
45 & 469357 & 501470.927777778 & -32113.9277777778 \tabularnewline
46 & 477580 & 503511.527777778 & -25931.5277777778 \tabularnewline
47 & 528379 & 554748.927777778 & -26369.9277777778 \tabularnewline
48 & 533590 & 562519.927777778 & -28929.9277777778 \tabularnewline
49 & 517945 & 543012.091666667 & -25067.0916666666 \tabularnewline
50 & 506174 & 527801.491666667 & -21627.4916666667 \tabularnewline
51 & 501866 & 512344.491666667 & -10478.4916666667 \tabularnewline
52 & 516141 & 514993.091666667 & 1147.90833333331 \tabularnewline
53 & 528222 & 530624.927777778 & -2402.92777777778 \tabularnewline
54 & 532638 & 526327.127777778 & 6310.87222222221 \tabularnewline
55 & 536322 & 517595.127777778 & 18726.8722222222 \tabularnewline
56 & 536535 & 512626.727777778 & 23908.2722222222 \tabularnewline
57 & 523597 & 501470.927777778 & 22126.0722222223 \tabularnewline
58 & 536214 & 503511.527777778 & 32702.4722222222 \tabularnewline
59 & 586570 & 554748.927777778 & 31821.0722222222 \tabularnewline
60 & 596594 & 562519.927777778 & 34074.0722222222 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&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]612613[/C][C]611446.272222223[/C][C]1166.7277777775[/C][/ROW]
[ROW][C]2[/C][C]611324[/C][C]596235.672222222[/C][C]15088.3277777778[/C][/ROW]
[ROW][C]3[/C][C]594167[/C][C]580778.672222222[/C][C]13388.3277777778[/C][/ROW]
[ROW][C]4[/C][C]595454[/C][C]583427.272222222[/C][C]12026.7277777778[/C][/ROW]
[ROW][C]5[/C][C]590865[/C][C]599059.108333333[/C][C]-8194.10833333333[/C][/ROW]
[ROW][C]6[/C][C]589379[/C][C]594761.308333333[/C][C]-5382.30833333328[/C][/ROW]
[ROW][C]7[/C][C]584428[/C][C]586029.308333333[/C][C]-1601.30833333331[/C][/ROW]
[ROW][C]8[/C][C]573100[/C][C]581060.908333333[/C][C]-7960.90833333338[/C][/ROW]
[ROW][C]9[/C][C]567456[/C][C]569905.108333333[/C][C]-2449.10833333343[/C][/ROW]
[ROW][C]10[/C][C]569028[/C][C]571945.708333333[/C][C]-2917.70833333334[/C][/ROW]
[ROW][C]11[/C][C]620735[/C][C]623183.108333333[/C][C]-2448.1083333333[/C][/ROW]
[ROW][C]12[/C][C]628884[/C][C]630954.108333333[/C][C]-2070.10833333331[/C][/ROW]
[ROW][C]13[/C][C]628232[/C][C]611446.272222222[/C][C]16785.7277777779[/C][/ROW]
[ROW][C]14[/C][C]612117[/C][C]596235.672222222[/C][C]15881.3277777778[/C][/ROW]
[ROW][C]15[/C][C]595404[/C][C]580778.672222222[/C][C]14625.3277777778[/C][/ROW]
[ROW][C]16[/C][C]597141[/C][C]583427.272222222[/C][C]13713.7277777778[/C][/ROW]
[ROW][C]17[/C][C]593408[/C][C]599059.108333333[/C][C]-5651.10833333331[/C][/ROW]
[ROW][C]18[/C][C]590072[/C][C]594761.308333333[/C][C]-4689.30833333333[/C][/ROW]
[ROW][C]19[/C][C]579799[/C][C]586029.308333333[/C][C]-6230.30833333334[/C][/ROW]
[ROW][C]20[/C][C]574205[/C][C]581060.908333333[/C][C]-6855.90833333332[/C][/ROW]
[ROW][C]21[/C][C]572775[/C][C]569905.108333333[/C][C]2869.89166666669[/C][/ROW]
[ROW][C]22[/C][C]572942[/C][C]571945.708333333[/C][C]996.29166666667[/C][/ROW]
[ROW][C]23[/C][C]619567[/C][C]623183.108333333[/C][C]-3616.10833333333[/C][/ROW]
[ROW][C]24[/C][C]625809[/C][C]630954.108333333[/C][C]-5145.10833333333[/C][/ROW]
[ROW][C]25[/C][C]619916[/C][C]611446.272222222[/C][C]8469.72777777785[/C][/ROW]
[ROW][C]26[/C][C]587625[/C][C]596235.672222222[/C][C]-8610.67222222224[/C][/ROW]
[ROW][C]27[/C][C]565742[/C][C]580778.672222222[/C][C]-15036.6722222222[/C][/ROW]
[ROW][C]28[/C][C]557274[/C][C]583427.272222222[/C][C]-26153.2722222222[/C][/ROW]
[ROW][C]29[/C][C]560576[/C][C]530624.927777778[/C][C]29951.0722222222[/C][/ROW]
[ROW][C]30[/C][C]548854[/C][C]526327.127777778[/C][C]22526.8722222222[/C][/ROW]
[ROW][C]31[/C][C]531673[/C][C]517595.127777778[/C][C]14077.8722222222[/C][/ROW]
[ROW][C]32[/C][C]525919[/C][C]512626.727777778[/C][C]13292.2722222222[/C][/ROW]
[ROW][C]33[/C][C]511038[/C][C]501470.927777778[/C][C]9567.07222222224[/C][/ROW]
[ROW][C]34[/C][C]498662[/C][C]503511.527777778[/C][C]-4849.52777777778[/C][/ROW]
[ROW][C]35[/C][C]555362[/C][C]554748.927777778[/C][C]613.072222222213[/C][/ROW]
[ROW][C]36[/C][C]564591[/C][C]562519.927777778[/C][C]2071.07222222221[/C][/ROW]
[ROW][C]37[/C][C]541657[/C][C]543012.091666667[/C][C]-1355.09166666660[/C][/ROW]
[ROW][C]38[/C][C]527070[/C][C]527801.491666667[/C][C]-731.491666666687[/C][/ROW]
[ROW][C]39[/C][C]509846[/C][C]512344.491666667[/C][C]-2498.49166666668[/C][/ROW]
[ROW][C]40[/C][C]514258[/C][C]514993.091666667[/C][C]-735.091666666687[/C][/ROW]
[ROW][C]41[/C][C]516922[/C][C]530624.927777778[/C][C]-13702.9277777778[/C][/ROW]
[ROW][C]42[/C][C]507561[/C][C]526327.127777778[/C][C]-18766.1277777778[/C][/ROW]
[ROW][C]43[/C][C]492622[/C][C]517595.127777778[/C][C]-24973.1277777778[/C][/ROW]
[ROW][C]44[/C][C]490243[/C][C]512626.727777778[/C][C]-22383.7277777778[/C][/ROW]
[ROW][C]45[/C][C]469357[/C][C]501470.927777778[/C][C]-32113.9277777778[/C][/ROW]
[ROW][C]46[/C][C]477580[/C][C]503511.527777778[/C][C]-25931.5277777778[/C][/ROW]
[ROW][C]47[/C][C]528379[/C][C]554748.927777778[/C][C]-26369.9277777778[/C][/ROW]
[ROW][C]48[/C][C]533590[/C][C]562519.927777778[/C][C]-28929.9277777778[/C][/ROW]
[ROW][C]49[/C][C]517945[/C][C]543012.091666667[/C][C]-25067.0916666666[/C][/ROW]
[ROW][C]50[/C][C]506174[/C][C]527801.491666667[/C][C]-21627.4916666667[/C][/ROW]
[ROW][C]51[/C][C]501866[/C][C]512344.491666667[/C][C]-10478.4916666667[/C][/ROW]
[ROW][C]52[/C][C]516141[/C][C]514993.091666667[/C][C]1147.90833333331[/C][/ROW]
[ROW][C]53[/C][C]528222[/C][C]530624.927777778[/C][C]-2402.92777777778[/C][/ROW]
[ROW][C]54[/C][C]532638[/C][C]526327.127777778[/C][C]6310.87222222221[/C][/ROW]
[ROW][C]55[/C][C]536322[/C][C]517595.127777778[/C][C]18726.8722222222[/C][/ROW]
[ROW][C]56[/C][C]536535[/C][C]512626.727777778[/C][C]23908.2722222222[/C][/ROW]
[ROW][C]57[/C][C]523597[/C][C]501470.927777778[/C][C]22126.0722222223[/C][/ROW]
[ROW][C]58[/C][C]536214[/C][C]503511.527777778[/C][C]32702.4722222222[/C][/ROW]
[ROW][C]59[/C][C]586570[/C][C]554748.927777778[/C][C]31821.0722222222[/C][/ROW]
[ROW][C]60[/C][C]596594[/C][C]562519.927777778[/C][C]34074.0722222222[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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
1612613611446.2722222231166.7277777775
2611324596235.67222222215088.3277777778
3594167580778.67222222213388.3277777778
4595454583427.27222222212026.7277777778
5590865599059.108333333-8194.10833333333
6589379594761.308333333-5382.30833333328
7584428586029.308333333-1601.30833333331
8573100581060.908333333-7960.90833333338
9567456569905.108333333-2449.10833333343
10569028571945.708333333-2917.70833333334
11620735623183.108333333-2448.1083333333
12628884630954.108333333-2070.10833333331
13628232611446.27222222216785.7277777779
14612117596235.67222222215881.3277777778
15595404580778.67222222214625.3277777778
16597141583427.27222222213713.7277777778
17593408599059.108333333-5651.10833333331
18590072594761.308333333-4689.30833333333
19579799586029.308333333-6230.30833333334
20574205581060.908333333-6855.90833333332
21572775569905.1083333332869.89166666669
22572942571945.708333333996.29166666667
23619567623183.108333333-3616.10833333333
24625809630954.108333333-5145.10833333333
25619916611446.2722222228469.72777777785
26587625596235.672222222-8610.67222222224
27565742580778.672222222-15036.6722222222
28557274583427.272222222-26153.2722222222
29560576530624.92777777829951.0722222222
30548854526327.12777777822526.8722222222
31531673517595.12777777814077.8722222222
32525919512626.72777777813292.2722222222
33511038501470.9277777789567.07222222224
34498662503511.527777778-4849.52777777778
35555362554748.927777778613.072222222213
36564591562519.9277777782071.07222222221
37541657543012.091666667-1355.09166666660
38527070527801.491666667-731.491666666687
39509846512344.491666667-2498.49166666668
40514258514993.091666667-735.091666666687
41516922530624.927777778-13702.9277777778
42507561526327.127777778-18766.1277777778
43492622517595.127777778-24973.1277777778
44490243512626.727777778-22383.7277777778
45469357501470.927777778-32113.9277777778
46477580503511.527777778-25931.5277777778
47528379554748.927777778-26369.9277777778
48533590562519.927777778-28929.9277777778
49517945543012.091666667-25067.0916666666
50506174527801.491666667-21627.4916666667
51501866512344.491666667-10478.4916666667
52516141514993.0916666671147.90833333331
53528222530624.927777778-2402.92777777778
54532638526327.1277777786310.87222222221
55536322517595.12777777818726.8722222222
56536535512626.72777777823908.2722222222
57523597501470.92777777822126.0722222223
58536214503511.52777777832702.4722222222
59586570554748.92777777831821.0722222222
60596594562519.92777777834074.0722222222







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.04094286120151610.08188572240303220.959057138798484
170.01074151865027370.02148303730054740.989258481349726
180.002436777377610750.004873554755221490.99756322262239
190.0006301629611814390.001260325922362880.999369837038819
200.0001265451955886920.0002530903911773850.999873454804411
213.34314424506887e-056.68628849013774e-050.99996656855755
227.30020390743716e-061.46004078148743e-050.999992699796093
231.25468483444977e-062.50936966889954e-060.999998745315166
242.3206049933155e-074.641209986631e-070.9999997679395
254.49171302414181e-088.98342604828362e-080.99999995508287
261.09875315597915e-052.19750631195831e-050.99998901246844
270.0002025023178094500.0004050046356188990.99979749768219
280.002813390081318550.005626780162637110.997186609918681
290.001946036330185170.003892072660370340.998053963669815
300.001213220480908540.002426440961817070.998786779519091
310.0007286746192436590.001457349238487320.999271325380756
320.0003338862854139370.0006677725708278750.999666113714586
330.0002168047460930830.0004336094921861660.999783195253907
340.0002452860155684890.0004905720311369780.999754713984431
350.0001261747518775450.0002523495037550890.999873825248123
365.35033894459416e-050.0001070067788918830.999946496610554
376.49755310017573e-050.0001299510620035150.999935024468998
384.93115351426147e-059.86230702852294e-050.999950688464857
392.50118885175406e-055.00237770350811e-050.999974988111482
408.62411300601944e-061.72482260120389e-050.999991375886994
416.43377505467588e-061.28675501093518e-050.999993566224945
426.61857254881832e-061.32371450976366e-050.999993381427451
431.39640575415495e-052.79281150830989e-050.999986035942458
442.0647713826158e-054.1295427652316e-050.999979352286174

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0409428612015161 & 0.0818857224030322 & 0.959057138798484 \tabularnewline
17 & 0.0107415186502737 & 0.0214830373005474 & 0.989258481349726 \tabularnewline
18 & 0.00243677737761075 & 0.00487355475522149 & 0.99756322262239 \tabularnewline
19 & 0.000630162961181439 & 0.00126032592236288 & 0.999369837038819 \tabularnewline
20 & 0.000126545195588692 & 0.000253090391177385 & 0.999873454804411 \tabularnewline
21 & 3.34314424506887e-05 & 6.68628849013774e-05 & 0.99996656855755 \tabularnewline
22 & 7.30020390743716e-06 & 1.46004078148743e-05 & 0.999992699796093 \tabularnewline
23 & 1.25468483444977e-06 & 2.50936966889954e-06 & 0.999998745315166 \tabularnewline
24 & 2.3206049933155e-07 & 4.641209986631e-07 & 0.9999997679395 \tabularnewline
25 & 4.49171302414181e-08 & 8.98342604828362e-08 & 0.99999995508287 \tabularnewline
26 & 1.09875315597915e-05 & 2.19750631195831e-05 & 0.99998901246844 \tabularnewline
27 & 0.000202502317809450 & 0.000405004635618899 & 0.99979749768219 \tabularnewline
28 & 0.00281339008131855 & 0.00562678016263711 & 0.997186609918681 \tabularnewline
29 & 0.00194603633018517 & 0.00389207266037034 & 0.998053963669815 \tabularnewline
30 & 0.00121322048090854 & 0.00242644096181707 & 0.998786779519091 \tabularnewline
31 & 0.000728674619243659 & 0.00145734923848732 & 0.999271325380756 \tabularnewline
32 & 0.000333886285413937 & 0.000667772570827875 & 0.999666113714586 \tabularnewline
33 & 0.000216804746093083 & 0.000433609492186166 & 0.999783195253907 \tabularnewline
34 & 0.000245286015568489 & 0.000490572031136978 & 0.999754713984431 \tabularnewline
35 & 0.000126174751877545 & 0.000252349503755089 & 0.999873825248123 \tabularnewline
36 & 5.35033894459416e-05 & 0.000107006778891883 & 0.999946496610554 \tabularnewline
37 & 6.49755310017573e-05 & 0.000129951062003515 & 0.999935024468998 \tabularnewline
38 & 4.93115351426147e-05 & 9.86230702852294e-05 & 0.999950688464857 \tabularnewline
39 & 2.50118885175406e-05 & 5.00237770350811e-05 & 0.999974988111482 \tabularnewline
40 & 8.62411300601944e-06 & 1.72482260120389e-05 & 0.999991375886994 \tabularnewline
41 & 6.43377505467588e-06 & 1.28675501093518e-05 & 0.999993566224945 \tabularnewline
42 & 6.61857254881832e-06 & 1.32371450976366e-05 & 0.999993381427451 \tabularnewline
43 & 1.39640575415495e-05 & 2.79281150830989e-05 & 0.999986035942458 \tabularnewline
44 & 2.0647713826158e-05 & 4.1295427652316e-05 & 0.999979352286174 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71377&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.0409428612015161[/C][C]0.0818857224030322[/C][C]0.959057138798484[/C][/ROW]
[ROW][C]17[/C][C]0.0107415186502737[/C][C]0.0214830373005474[/C][C]0.989258481349726[/C][/ROW]
[ROW][C]18[/C][C]0.00243677737761075[/C][C]0.00487355475522149[/C][C]0.99756322262239[/C][/ROW]
[ROW][C]19[/C][C]0.000630162961181439[/C][C]0.00126032592236288[/C][C]0.999369837038819[/C][/ROW]
[ROW][C]20[/C][C]0.000126545195588692[/C][C]0.000253090391177385[/C][C]0.999873454804411[/C][/ROW]
[ROW][C]21[/C][C]3.34314424506887e-05[/C][C]6.68628849013774e-05[/C][C]0.99996656855755[/C][/ROW]
[ROW][C]22[/C][C]7.30020390743716e-06[/C][C]1.46004078148743e-05[/C][C]0.999992699796093[/C][/ROW]
[ROW][C]23[/C][C]1.25468483444977e-06[/C][C]2.50936966889954e-06[/C][C]0.999998745315166[/C][/ROW]
[ROW][C]24[/C][C]2.3206049933155e-07[/C][C]4.641209986631e-07[/C][C]0.9999997679395[/C][/ROW]
[ROW][C]25[/C][C]4.49171302414181e-08[/C][C]8.98342604828362e-08[/C][C]0.99999995508287[/C][/ROW]
[ROW][C]26[/C][C]1.09875315597915e-05[/C][C]2.19750631195831e-05[/C][C]0.99998901246844[/C][/ROW]
[ROW][C]27[/C][C]0.000202502317809450[/C][C]0.000405004635618899[/C][C]0.99979749768219[/C][/ROW]
[ROW][C]28[/C][C]0.00281339008131855[/C][C]0.00562678016263711[/C][C]0.997186609918681[/C][/ROW]
[ROW][C]29[/C][C]0.00194603633018517[/C][C]0.00389207266037034[/C][C]0.998053963669815[/C][/ROW]
[ROW][C]30[/C][C]0.00121322048090854[/C][C]0.00242644096181707[/C][C]0.998786779519091[/C][/ROW]
[ROW][C]31[/C][C]0.000728674619243659[/C][C]0.00145734923848732[/C][C]0.999271325380756[/C][/ROW]
[ROW][C]32[/C][C]0.000333886285413937[/C][C]0.000667772570827875[/C][C]0.999666113714586[/C][/ROW]
[ROW][C]33[/C][C]0.000216804746093083[/C][C]0.000433609492186166[/C][C]0.999783195253907[/C][/ROW]
[ROW][C]34[/C][C]0.000245286015568489[/C][C]0.000490572031136978[/C][C]0.999754713984431[/C][/ROW]
[ROW][C]35[/C][C]0.000126174751877545[/C][C]0.000252349503755089[/C][C]0.999873825248123[/C][/ROW]
[ROW][C]36[/C][C]5.35033894459416e-05[/C][C]0.000107006778891883[/C][C]0.999946496610554[/C][/ROW]
[ROW][C]37[/C][C]6.49755310017573e-05[/C][C]0.000129951062003515[/C][C]0.999935024468998[/C][/ROW]
[ROW][C]38[/C][C]4.93115351426147e-05[/C][C]9.86230702852294e-05[/C][C]0.999950688464857[/C][/ROW]
[ROW][C]39[/C][C]2.50118885175406e-05[/C][C]5.00237770350811e-05[/C][C]0.999974988111482[/C][/ROW]
[ROW][C]40[/C][C]8.62411300601944e-06[/C][C]1.72482260120389e-05[/C][C]0.999991375886994[/C][/ROW]
[ROW][C]41[/C][C]6.43377505467588e-06[/C][C]1.28675501093518e-05[/C][C]0.999993566224945[/C][/ROW]
[ROW][C]42[/C][C]6.61857254881832e-06[/C][C]1.32371450976366e-05[/C][C]0.999993381427451[/C][/ROW]
[ROW][C]43[/C][C]1.39640575415495e-05[/C][C]2.79281150830989e-05[/C][C]0.999986035942458[/C][/ROW]
[ROW][C]44[/C][C]2.0647713826158e-05[/C][C]4.1295427652316e-05[/C][C]0.999979352286174[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71377&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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.04094286120151610.08188572240303220.959057138798484
170.01074151865027370.02148303730054740.989258481349726
180.002436777377610750.004873554755221490.99756322262239
190.0006301629611814390.001260325922362880.999369837038819
200.0001265451955886920.0002530903911773850.999873454804411
213.34314424506887e-056.68628849013774e-050.99996656855755
227.30020390743716e-061.46004078148743e-050.999992699796093
231.25468483444977e-062.50936966889954e-060.999998745315166
242.3206049933155e-074.641209986631e-070.9999997679395
254.49171302414181e-088.98342604828362e-080.99999995508287
261.09875315597915e-052.19750631195831e-050.99998901246844
270.0002025023178094500.0004050046356188990.99979749768219
280.002813390081318550.005626780162637110.997186609918681
290.001946036330185170.003892072660370340.998053963669815
300.001213220480908540.002426440961817070.998786779519091
310.0007286746192436590.001457349238487320.999271325380756
320.0003338862854139370.0006677725708278750.999666113714586
330.0002168047460930830.0004336094921861660.999783195253907
340.0002452860155684890.0004905720311369780.999754713984431
350.0001261747518775450.0002523495037550890.999873825248123
365.35033894459416e-050.0001070067788918830.999946496610554
376.49755310017573e-050.0001299510620035150.999935024468998
384.93115351426147e-059.86230702852294e-050.999950688464857
392.50118885175406e-055.00237770350811e-050.999974988111482
408.62411300601944e-061.72482260120389e-050.999991375886994
416.43377505467588e-061.28675501093518e-050.999993566224945
426.61857254881832e-061.32371450976366e-050.999993381427451
431.39640575415495e-052.79281150830989e-050.999986035942458
442.0647713826158e-054.1295427652316e-050.999979352286174







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level270.93103448275862NOK
5% type I error level280.96551724137931NOK
10% type I error level291NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71377&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 level270.93103448275862NOK
5% type I error level280.96551724137931NOK
10% type I error level291NOK



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