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 04:46:58 -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/t1262173758zbw2gney4q4124r.htm/, Retrieved Sun, 28 Apr 2024 20:42:08 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=71253, Retrieved Sun, 28 Apr 2024 20:42:08 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact150
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Multiple lin regr...] [2009-12-26 15:11:25] [005293453b571dbccb80b45226e44173]
-       [Multiple Regression] [multi lin regr me...] [2009-12-26 15:21:11] [005293453b571dbccb80b45226e44173]
-   P     [Multiple Regression] [multiple lin regr...] [2009-12-26 15:27:58] [005293453b571dbccb80b45226e44173]
-   P       [Multiple Regression] [multiple lin regr...] [2009-12-26 15:32:18] [005293453b571dbccb80b45226e44173]
-   P           [Multiple Regression] [Inschrijvingen en...] [2009-12-30 11:46:58] [b02b8a83db8a631da1ab9c106b4cdcf2] [Current]
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 time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&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]5 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=71253&T=0

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







Multiple Linear Regression - Estimated Regression Equation
wlh[t] = + 593211.196565783 -69585.655196409dummies[t] + 48.1465422612516t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wlh[t] =  +  593211.196565783 -69585.655196409dummies[t] +  48.1465422612516t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wlh[t] =  +  593211.196565783 -69585.655196409dummies[t] +  48.1465422612516t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71253&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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] = + 593211.196565783 -69585.655196409dummies[t] + 48.1465422612516t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)593211.1965657837221.91088382.140500
dummies-69585.65519640912981.857633-5.36022e-061e-06
t48.1465422612516373.972180.12870.8980140.449007

\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) & 593211.196565783 & 7221.910883 & 82.1405 & 0 & 0 \tabularnewline
dummies & -69585.655196409 & 12981.857633 & -5.3602 & 2e-06 & 1e-06 \tabularnewline
t & 48.1465422612516 & 373.97218 & 0.1287 & 0.898014 & 0.449007 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&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]593211.196565783[/C][C]7221.910883[/C][C]82.1405[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummies[/C][C]-69585.655196409[/C][C]12981.857633[/C][C]-5.3602[/C][C]2e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]t[/C][C]48.1465422612516[/C][C]373.97218[/C][C]0.1287[/C][C]0.898014[/C][C]0.449007[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71253&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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)593211.1965657837221.91088382.140500
dummies-69585.65519640912981.857633-5.36022e-061e-06
t48.1465422612516373.972180.12870.8980140.449007







Multiple Linear Regression - Regression Statistics
Multiple R0.81014860836982
R-squared0.656340767643556
Adjusted R-squared0.644282548964383
F-TEST (value)54.4309889467476
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value6.01740879346835e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25239.6592207947
Sum Squared Residuals36311302662.1652

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.81014860836982 \tabularnewline
R-squared & 0.656340767643556 \tabularnewline
Adjusted R-squared & 0.644282548964383 \tabularnewline
F-TEST (value) & 54.4309889467476 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 6.01740879346835e-14 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25239.6592207947 \tabularnewline
Sum Squared Residuals & 36311302662.1652 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.81014860836982[/C][/ROW]
[ROW][C]R-squared[/C][C]0.656340767643556[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.644282548964383[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]54.4309889467476[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]6.01740879346835e-14[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]25239.6592207947[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]36311302662.1652[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71253&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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.81014860836982
R-squared0.656340767643556
Adjusted R-squared0.644282548964383
F-TEST (value)54.4309889467476
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value6.01740879346835e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25239.6592207947
Sum Squared Residuals36311302662.1652







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1612613593259.34310804519353.6568919552
2611324593307.48965030618016.5103496943
3594167593355.636192567811.363807432979
4595454593403.7827348282050.21726517172
5590865593451.929277090-2586.92927708953
6589379593500.075819351-4121.07581935078
7584428593548.222361612-9120.22236161204
8573100593596.368903873-20496.3689038733
9567456593644.515446134-26188.5154461345
10569028593692.661988396-24664.6619883958
11620735593740.80853065726994.1914693430
12628884593788.95507291835095.0449270817
13628232593837.1016151834394.8983848205
14612117593885.24815744118231.7518425592
15595404593933.3946997021470.60530029795
16597141593981.5412419633159.4587580367
17593408594029.687784225-621.687784224551
18590072594077.834326486-4005.8343264858
19579799594125.980868747-14326.9808687471
20574205594174.127411008-19969.1274110083
21572775594222.27395327-21447.2739532696
22572942594270.420495531-21328.4204955308
23619567594318.56703779225248.4329622079
24625809594366.71358005331442.2864199467
25619916594414.86012231525501.1398776854
26587625594463.006664576-6838.00666457582
27565742594511.153206837-28769.1532068371
28557274594559.299749098-37285.2997490983
29560576525021.7910949535554.2089050494
30548854525069.93763721223784.0623627882
31531673525118.0841794736554.9158205269
32525919525166.230721734752.769278265644
33511038525214.377263996-14176.3772639956
34498662525262.523806257-26600.5238062569
35555362525310.67034851830051.3296514819
36564591525358.81689077939232.1831092206
37541657525406.96343304116250.0365669594
38527070525455.1099753021614.89002469813
39509846525503.256517563-15657.2565175631
40514258525551.403059824-11293.4030598244
41516922525599.549602086-8677.54960208562
42507561525647.696144347-18086.6961443469
43492622525695.842686608-33073.8426866081
44490243525743.989228869-35500.9892288694
45469357525792.135771131-56435.1357711306
46477580525840.282313392-48260.2823133919
47528379525888.4288556532490.57114434687
48533590525936.5753979147653.42460208562
49517945525984.721940176-8039.72194017564
50506174526032.868482437-19858.8684824369
51501866526081.015024698-24215.0150246981
52516141526129.161566959-9988.1615669594
53528222526177.3081092212044.69189077936
54532638526225.4546514826412.5453485181
55536322526273.60119374310048.3988062569
56536535526321.74773600410213.2522639956
57523597526369.894278266-2772.89427826565
58536214526418.0408205279795.9591794731
59586570526466.18736278860103.8126372118
60596594526514.33390504970079.6660949506

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 612613 & 593259.343108045 & 19353.6568919552 \tabularnewline
2 & 611324 & 593307.489650306 & 18016.5103496943 \tabularnewline
3 & 594167 & 593355.636192567 & 811.363807432979 \tabularnewline
4 & 595454 & 593403.782734828 & 2050.21726517172 \tabularnewline
5 & 590865 & 593451.929277090 & -2586.92927708953 \tabularnewline
6 & 589379 & 593500.075819351 & -4121.07581935078 \tabularnewline
7 & 584428 & 593548.222361612 & -9120.22236161204 \tabularnewline
8 & 573100 & 593596.368903873 & -20496.3689038733 \tabularnewline
9 & 567456 & 593644.515446134 & -26188.5154461345 \tabularnewline
10 & 569028 & 593692.661988396 & -24664.6619883958 \tabularnewline
11 & 620735 & 593740.808530657 & 26994.1914693430 \tabularnewline
12 & 628884 & 593788.955072918 & 35095.0449270817 \tabularnewline
13 & 628232 & 593837.10161518 & 34394.8983848205 \tabularnewline
14 & 612117 & 593885.248157441 & 18231.7518425592 \tabularnewline
15 & 595404 & 593933.394699702 & 1470.60530029795 \tabularnewline
16 & 597141 & 593981.541241963 & 3159.4587580367 \tabularnewline
17 & 593408 & 594029.687784225 & -621.687784224551 \tabularnewline
18 & 590072 & 594077.834326486 & -4005.8343264858 \tabularnewline
19 & 579799 & 594125.980868747 & -14326.9808687471 \tabularnewline
20 & 574205 & 594174.127411008 & -19969.1274110083 \tabularnewline
21 & 572775 & 594222.27395327 & -21447.2739532696 \tabularnewline
22 & 572942 & 594270.420495531 & -21328.4204955308 \tabularnewline
23 & 619567 & 594318.567037792 & 25248.4329622079 \tabularnewline
24 & 625809 & 594366.713580053 & 31442.2864199467 \tabularnewline
25 & 619916 & 594414.860122315 & 25501.1398776854 \tabularnewline
26 & 587625 & 594463.006664576 & -6838.00666457582 \tabularnewline
27 & 565742 & 594511.153206837 & -28769.1532068371 \tabularnewline
28 & 557274 & 594559.299749098 & -37285.2997490983 \tabularnewline
29 & 560576 & 525021.79109495 & 35554.2089050494 \tabularnewline
30 & 548854 & 525069.937637212 & 23784.0623627882 \tabularnewline
31 & 531673 & 525118.084179473 & 6554.9158205269 \tabularnewline
32 & 525919 & 525166.230721734 & 752.769278265644 \tabularnewline
33 & 511038 & 525214.377263996 & -14176.3772639956 \tabularnewline
34 & 498662 & 525262.523806257 & -26600.5238062569 \tabularnewline
35 & 555362 & 525310.670348518 & 30051.3296514819 \tabularnewline
36 & 564591 & 525358.816890779 & 39232.1831092206 \tabularnewline
37 & 541657 & 525406.963433041 & 16250.0365669594 \tabularnewline
38 & 527070 & 525455.109975302 & 1614.89002469813 \tabularnewline
39 & 509846 & 525503.256517563 & -15657.2565175631 \tabularnewline
40 & 514258 & 525551.403059824 & -11293.4030598244 \tabularnewline
41 & 516922 & 525599.549602086 & -8677.54960208562 \tabularnewline
42 & 507561 & 525647.696144347 & -18086.6961443469 \tabularnewline
43 & 492622 & 525695.842686608 & -33073.8426866081 \tabularnewline
44 & 490243 & 525743.989228869 & -35500.9892288694 \tabularnewline
45 & 469357 & 525792.135771131 & -56435.1357711306 \tabularnewline
46 & 477580 & 525840.282313392 & -48260.2823133919 \tabularnewline
47 & 528379 & 525888.428855653 & 2490.57114434687 \tabularnewline
48 & 533590 & 525936.575397914 & 7653.42460208562 \tabularnewline
49 & 517945 & 525984.721940176 & -8039.72194017564 \tabularnewline
50 & 506174 & 526032.868482437 & -19858.8684824369 \tabularnewline
51 & 501866 & 526081.015024698 & -24215.0150246981 \tabularnewline
52 & 516141 & 526129.161566959 & -9988.1615669594 \tabularnewline
53 & 528222 & 526177.308109221 & 2044.69189077936 \tabularnewline
54 & 532638 & 526225.454651482 & 6412.5453485181 \tabularnewline
55 & 536322 & 526273.601193743 & 10048.3988062569 \tabularnewline
56 & 536535 & 526321.747736004 & 10213.2522639956 \tabularnewline
57 & 523597 & 526369.894278266 & -2772.89427826565 \tabularnewline
58 & 536214 & 526418.040820527 & 9795.9591794731 \tabularnewline
59 & 586570 & 526466.187362788 & 60103.8126372118 \tabularnewline
60 & 596594 & 526514.333905049 & 70079.6660949506 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&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]593259.343108045[/C][C]19353.6568919552[/C][/ROW]
[ROW][C]2[/C][C]611324[/C][C]593307.489650306[/C][C]18016.5103496943[/C][/ROW]
[ROW][C]3[/C][C]594167[/C][C]593355.636192567[/C][C]811.363807432979[/C][/ROW]
[ROW][C]4[/C][C]595454[/C][C]593403.782734828[/C][C]2050.21726517172[/C][/ROW]
[ROW][C]5[/C][C]590865[/C][C]593451.929277090[/C][C]-2586.92927708953[/C][/ROW]
[ROW][C]6[/C][C]589379[/C][C]593500.075819351[/C][C]-4121.07581935078[/C][/ROW]
[ROW][C]7[/C][C]584428[/C][C]593548.222361612[/C][C]-9120.22236161204[/C][/ROW]
[ROW][C]8[/C][C]573100[/C][C]593596.368903873[/C][C]-20496.3689038733[/C][/ROW]
[ROW][C]9[/C][C]567456[/C][C]593644.515446134[/C][C]-26188.5154461345[/C][/ROW]
[ROW][C]10[/C][C]569028[/C][C]593692.661988396[/C][C]-24664.6619883958[/C][/ROW]
[ROW][C]11[/C][C]620735[/C][C]593740.808530657[/C][C]26994.1914693430[/C][/ROW]
[ROW][C]12[/C][C]628884[/C][C]593788.955072918[/C][C]35095.0449270817[/C][/ROW]
[ROW][C]13[/C][C]628232[/C][C]593837.10161518[/C][C]34394.8983848205[/C][/ROW]
[ROW][C]14[/C][C]612117[/C][C]593885.248157441[/C][C]18231.7518425592[/C][/ROW]
[ROW][C]15[/C][C]595404[/C][C]593933.394699702[/C][C]1470.60530029795[/C][/ROW]
[ROW][C]16[/C][C]597141[/C][C]593981.541241963[/C][C]3159.4587580367[/C][/ROW]
[ROW][C]17[/C][C]593408[/C][C]594029.687784225[/C][C]-621.687784224551[/C][/ROW]
[ROW][C]18[/C][C]590072[/C][C]594077.834326486[/C][C]-4005.8343264858[/C][/ROW]
[ROW][C]19[/C][C]579799[/C][C]594125.980868747[/C][C]-14326.9808687471[/C][/ROW]
[ROW][C]20[/C][C]574205[/C][C]594174.127411008[/C][C]-19969.1274110083[/C][/ROW]
[ROW][C]21[/C][C]572775[/C][C]594222.27395327[/C][C]-21447.2739532696[/C][/ROW]
[ROW][C]22[/C][C]572942[/C][C]594270.420495531[/C][C]-21328.4204955308[/C][/ROW]
[ROW][C]23[/C][C]619567[/C][C]594318.567037792[/C][C]25248.4329622079[/C][/ROW]
[ROW][C]24[/C][C]625809[/C][C]594366.713580053[/C][C]31442.2864199467[/C][/ROW]
[ROW][C]25[/C][C]619916[/C][C]594414.860122315[/C][C]25501.1398776854[/C][/ROW]
[ROW][C]26[/C][C]587625[/C][C]594463.006664576[/C][C]-6838.00666457582[/C][/ROW]
[ROW][C]27[/C][C]565742[/C][C]594511.153206837[/C][C]-28769.1532068371[/C][/ROW]
[ROW][C]28[/C][C]557274[/C][C]594559.299749098[/C][C]-37285.2997490983[/C][/ROW]
[ROW][C]29[/C][C]560576[/C][C]525021.79109495[/C][C]35554.2089050494[/C][/ROW]
[ROW][C]30[/C][C]548854[/C][C]525069.937637212[/C][C]23784.0623627882[/C][/ROW]
[ROW][C]31[/C][C]531673[/C][C]525118.084179473[/C][C]6554.9158205269[/C][/ROW]
[ROW][C]32[/C][C]525919[/C][C]525166.230721734[/C][C]752.769278265644[/C][/ROW]
[ROW][C]33[/C][C]511038[/C][C]525214.377263996[/C][C]-14176.3772639956[/C][/ROW]
[ROW][C]34[/C][C]498662[/C][C]525262.523806257[/C][C]-26600.5238062569[/C][/ROW]
[ROW][C]35[/C][C]555362[/C][C]525310.670348518[/C][C]30051.3296514819[/C][/ROW]
[ROW][C]36[/C][C]564591[/C][C]525358.816890779[/C][C]39232.1831092206[/C][/ROW]
[ROW][C]37[/C][C]541657[/C][C]525406.963433041[/C][C]16250.0365669594[/C][/ROW]
[ROW][C]38[/C][C]527070[/C][C]525455.109975302[/C][C]1614.89002469813[/C][/ROW]
[ROW][C]39[/C][C]509846[/C][C]525503.256517563[/C][C]-15657.2565175631[/C][/ROW]
[ROW][C]40[/C][C]514258[/C][C]525551.403059824[/C][C]-11293.4030598244[/C][/ROW]
[ROW][C]41[/C][C]516922[/C][C]525599.549602086[/C][C]-8677.54960208562[/C][/ROW]
[ROW][C]42[/C][C]507561[/C][C]525647.696144347[/C][C]-18086.6961443469[/C][/ROW]
[ROW][C]43[/C][C]492622[/C][C]525695.842686608[/C][C]-33073.8426866081[/C][/ROW]
[ROW][C]44[/C][C]490243[/C][C]525743.989228869[/C][C]-35500.9892288694[/C][/ROW]
[ROW][C]45[/C][C]469357[/C][C]525792.135771131[/C][C]-56435.1357711306[/C][/ROW]
[ROW][C]46[/C][C]477580[/C][C]525840.282313392[/C][C]-48260.2823133919[/C][/ROW]
[ROW][C]47[/C][C]528379[/C][C]525888.428855653[/C][C]2490.57114434687[/C][/ROW]
[ROW][C]48[/C][C]533590[/C][C]525936.575397914[/C][C]7653.42460208562[/C][/ROW]
[ROW][C]49[/C][C]517945[/C][C]525984.721940176[/C][C]-8039.72194017564[/C][/ROW]
[ROW][C]50[/C][C]506174[/C][C]526032.868482437[/C][C]-19858.8684824369[/C][/ROW]
[ROW][C]51[/C][C]501866[/C][C]526081.015024698[/C][C]-24215.0150246981[/C][/ROW]
[ROW][C]52[/C][C]516141[/C][C]526129.161566959[/C][C]-9988.1615669594[/C][/ROW]
[ROW][C]53[/C][C]528222[/C][C]526177.308109221[/C][C]2044.69189077936[/C][/ROW]
[ROW][C]54[/C][C]532638[/C][C]526225.454651482[/C][C]6412.5453485181[/C][/ROW]
[ROW][C]55[/C][C]536322[/C][C]526273.601193743[/C][C]10048.3988062569[/C][/ROW]
[ROW][C]56[/C][C]536535[/C][C]526321.747736004[/C][C]10213.2522639956[/C][/ROW]
[ROW][C]57[/C][C]523597[/C][C]526369.894278266[/C][C]-2772.89427826565[/C][/ROW]
[ROW][C]58[/C][C]536214[/C][C]526418.040820527[/C][C]9795.9591794731[/C][/ROW]
[ROW][C]59[/C][C]586570[/C][C]526466.187362788[/C][C]60103.8126372118[/C][/ROW]
[ROW][C]60[/C][C]596594[/C][C]526514.333905049[/C][C]70079.6660949506[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71253&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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
1612613593259.34310804519353.6568919552
2611324593307.48965030618016.5103496943
3594167593355.636192567811.363807432979
4595454593403.7827348282050.21726517172
5590865593451.929277090-2586.92927708953
6589379593500.075819351-4121.07581935078
7584428593548.222361612-9120.22236161204
8573100593596.368903873-20496.3689038733
9567456593644.515446134-26188.5154461345
10569028593692.661988396-24664.6619883958
11620735593740.80853065726994.1914693430
12628884593788.95507291835095.0449270817
13628232593837.1016151834394.8983848205
14612117593885.24815744118231.7518425592
15595404593933.3946997021470.60530029795
16597141593981.5412419633159.4587580367
17593408594029.687784225-621.687784224551
18590072594077.834326486-4005.8343264858
19579799594125.980868747-14326.9808687471
20574205594174.127411008-19969.1274110083
21572775594222.27395327-21447.2739532696
22572942594270.420495531-21328.4204955308
23619567594318.56703779225248.4329622079
24625809594366.71358005331442.2864199467
25619916594414.86012231525501.1398776854
26587625594463.006664576-6838.00666457582
27565742594511.153206837-28769.1532068371
28557274594559.299749098-37285.2997490983
29560576525021.7910949535554.2089050494
30548854525069.93763721223784.0623627882
31531673525118.0841794736554.9158205269
32525919525166.230721734752.769278265644
33511038525214.377263996-14176.3772639956
34498662525262.523806257-26600.5238062569
35555362525310.67034851830051.3296514819
36564591525358.81689077939232.1831092206
37541657525406.96343304116250.0365669594
38527070525455.1099753021614.89002469813
39509846525503.256517563-15657.2565175631
40514258525551.403059824-11293.4030598244
41516922525599.549602086-8677.54960208562
42507561525647.696144347-18086.6961443469
43492622525695.842686608-33073.8426866081
44490243525743.989228869-35500.9892288694
45469357525792.135771131-56435.1357711306
46477580525840.282313392-48260.2823133919
47528379525888.4288556532490.57114434687
48533590525936.5753979147653.42460208562
49517945525984.721940176-8039.72194017564
50506174526032.868482437-19858.8684824369
51501866526081.015024698-24215.0150246981
52516141526129.161566959-9988.1615669594
53528222526177.3081092212044.69189077936
54532638526225.4546514826412.5453485181
55536322526273.60119374310048.3988062569
56536535526321.74773600410213.2522639956
57523597526369.894278266-2772.89427826565
58536214526418.0408205279795.9591794731
59586570526466.18736278860103.8126372118
60596594526514.33390504970079.6660949506







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.01168816364782170.02337632729564330.988311836352178
70.002145461897000080.004290923794000170.997854538103
80.0004733130607664020.0009466261215328030.999526686939234
99.06751635414292e-050.0001813503270828580.999909324836459
102.13026085673464e-054.26052171346927e-050.999978697391433
110.1150228412249520.2300456824499040.884977158775048
120.2931810404623760.5863620809247520.706818959537624
130.3517147788985100.7034295577970210.64828522110149
140.2808145330686220.5616290661372450.719185466931378
150.2135491687305370.4270983374610740.786450831269463
160.1547522170771260.3095044341542520.845247782922874
170.1105948694114790.2211897388229580.889405130588521
180.0781142202046820.1562284404093640.921885779795318
190.06246772764796870.1249354552959370.937532272352031
200.05264022372084410.1052804474416880.947359776279156
210.04215436862452360.08430873724904730.957845631375476
220.03168144718433020.06336289436866050.96831855281567
230.0450008966540840.0900017933081680.954999103345916
240.07097286392658080.1419457278531620.92902713607342
250.08660275622817080.1732055124563420.913397243771829
260.0681162016017280.1362324032034560.931883798398272
270.06950569315147050.1390113863029410.93049430684853
280.07546459927886150.1509291985577230.924535400721138
290.07619425993734630.1523885198746930.923805740062654
300.0718696487903070.1437392975806140.928130351209693
310.0631835492322440.1263670984644880.936816450767756
320.0525118803081490.1050237606162980.947488119691851
330.0468805260934740.0937610521869480.953119473906526
340.04839476074990570.09678952149981130.951605239250094
350.07659627404034820.1531925480806960.923403725959652
360.2187569158343120.4375138316686250.781243084165688
370.3153332068843960.6306664137687920.684666793115604
380.3798554273253760.7597108546507530.620144572674624
390.3923517647121100.7847035294242210.60764823528789
400.4288389851327740.8576779702655480.571161014867226
410.515314630874890.9693707382502210.484685369125110
420.5673326333594420.8653347332811170.432667366640558
430.554720844720740.8905583105585190.445279155279259
440.5163552350277640.9672895299444730.483644764972236
450.5667161832207330.8665676335585330.433283816779266
460.579904233216380.840191533567240.42009576678362
470.6087142817289580.7825714365420850.391285718271042
480.758853150793080.4822936984138410.241146849206921
490.775050267544310.4498994649113810.224949732455690
500.6972812225713940.6054375548572110.302718777428606
510.5783092430323310.8433815139353380.421690756967669
520.4562163455606930.9124326911213850.543783654439307
530.3826353190806760.7652706381613530.617364680919324
540.3361380541283710.6722761082567430.663861945871629

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0116881636478217 & 0.0233763272956433 & 0.988311836352178 \tabularnewline
7 & 0.00214546189700008 & 0.00429092379400017 & 0.997854538103 \tabularnewline
8 & 0.000473313060766402 & 0.000946626121532803 & 0.999526686939234 \tabularnewline
9 & 9.06751635414292e-05 & 0.000181350327082858 & 0.999909324836459 \tabularnewline
10 & 2.13026085673464e-05 & 4.26052171346927e-05 & 0.999978697391433 \tabularnewline
11 & 0.115022841224952 & 0.230045682449904 & 0.884977158775048 \tabularnewline
12 & 0.293181040462376 & 0.586362080924752 & 0.706818959537624 \tabularnewline
13 & 0.351714778898510 & 0.703429557797021 & 0.64828522110149 \tabularnewline
14 & 0.280814533068622 & 0.561629066137245 & 0.719185466931378 \tabularnewline
15 & 0.213549168730537 & 0.427098337461074 & 0.786450831269463 \tabularnewline
16 & 0.154752217077126 & 0.309504434154252 & 0.845247782922874 \tabularnewline
17 & 0.110594869411479 & 0.221189738822958 & 0.889405130588521 \tabularnewline
18 & 0.078114220204682 & 0.156228440409364 & 0.921885779795318 \tabularnewline
19 & 0.0624677276479687 & 0.124935455295937 & 0.937532272352031 \tabularnewline
20 & 0.0526402237208441 & 0.105280447441688 & 0.947359776279156 \tabularnewline
21 & 0.0421543686245236 & 0.0843087372490473 & 0.957845631375476 \tabularnewline
22 & 0.0316814471843302 & 0.0633628943686605 & 0.96831855281567 \tabularnewline
23 & 0.045000896654084 & 0.090001793308168 & 0.954999103345916 \tabularnewline
24 & 0.0709728639265808 & 0.141945727853162 & 0.92902713607342 \tabularnewline
25 & 0.0866027562281708 & 0.173205512456342 & 0.913397243771829 \tabularnewline
26 & 0.068116201601728 & 0.136232403203456 & 0.931883798398272 \tabularnewline
27 & 0.0695056931514705 & 0.139011386302941 & 0.93049430684853 \tabularnewline
28 & 0.0754645992788615 & 0.150929198557723 & 0.924535400721138 \tabularnewline
29 & 0.0761942599373463 & 0.152388519874693 & 0.923805740062654 \tabularnewline
30 & 0.071869648790307 & 0.143739297580614 & 0.928130351209693 \tabularnewline
31 & 0.063183549232244 & 0.126367098464488 & 0.936816450767756 \tabularnewline
32 & 0.052511880308149 & 0.105023760616298 & 0.947488119691851 \tabularnewline
33 & 0.046880526093474 & 0.093761052186948 & 0.953119473906526 \tabularnewline
34 & 0.0483947607499057 & 0.0967895214998113 & 0.951605239250094 \tabularnewline
35 & 0.0765962740403482 & 0.153192548080696 & 0.923403725959652 \tabularnewline
36 & 0.218756915834312 & 0.437513831668625 & 0.781243084165688 \tabularnewline
37 & 0.315333206884396 & 0.630666413768792 & 0.684666793115604 \tabularnewline
38 & 0.379855427325376 & 0.759710854650753 & 0.620144572674624 \tabularnewline
39 & 0.392351764712110 & 0.784703529424221 & 0.60764823528789 \tabularnewline
40 & 0.428838985132774 & 0.857677970265548 & 0.571161014867226 \tabularnewline
41 & 0.51531463087489 & 0.969370738250221 & 0.484685369125110 \tabularnewline
42 & 0.567332633359442 & 0.865334733281117 & 0.432667366640558 \tabularnewline
43 & 0.55472084472074 & 0.890558310558519 & 0.445279155279259 \tabularnewline
44 & 0.516355235027764 & 0.967289529944473 & 0.483644764972236 \tabularnewline
45 & 0.566716183220733 & 0.866567633558533 & 0.433283816779266 \tabularnewline
46 & 0.57990423321638 & 0.84019153356724 & 0.42009576678362 \tabularnewline
47 & 0.608714281728958 & 0.782571436542085 & 0.391285718271042 \tabularnewline
48 & 0.75885315079308 & 0.482293698413841 & 0.241146849206921 \tabularnewline
49 & 0.77505026754431 & 0.449899464911381 & 0.224949732455690 \tabularnewline
50 & 0.697281222571394 & 0.605437554857211 & 0.302718777428606 \tabularnewline
51 & 0.578309243032331 & 0.843381513935338 & 0.421690756967669 \tabularnewline
52 & 0.456216345560693 & 0.912432691121385 & 0.543783654439307 \tabularnewline
53 & 0.382635319080676 & 0.765270638161353 & 0.617364680919324 \tabularnewline
54 & 0.336138054128371 & 0.672276108256743 & 0.663861945871629 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=71253&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]6[/C][C]0.0116881636478217[/C][C]0.0233763272956433[/C][C]0.988311836352178[/C][/ROW]
[ROW][C]7[/C][C]0.00214546189700008[/C][C]0.00429092379400017[/C][C]0.997854538103[/C][/ROW]
[ROW][C]8[/C][C]0.000473313060766402[/C][C]0.000946626121532803[/C][C]0.999526686939234[/C][/ROW]
[ROW][C]9[/C][C]9.06751635414292e-05[/C][C]0.000181350327082858[/C][C]0.999909324836459[/C][/ROW]
[ROW][C]10[/C][C]2.13026085673464e-05[/C][C]4.26052171346927e-05[/C][C]0.999978697391433[/C][/ROW]
[ROW][C]11[/C][C]0.115022841224952[/C][C]0.230045682449904[/C][C]0.884977158775048[/C][/ROW]
[ROW][C]12[/C][C]0.293181040462376[/C][C]0.586362080924752[/C][C]0.706818959537624[/C][/ROW]
[ROW][C]13[/C][C]0.351714778898510[/C][C]0.703429557797021[/C][C]0.64828522110149[/C][/ROW]
[ROW][C]14[/C][C]0.280814533068622[/C][C]0.561629066137245[/C][C]0.719185466931378[/C][/ROW]
[ROW][C]15[/C][C]0.213549168730537[/C][C]0.427098337461074[/C][C]0.786450831269463[/C][/ROW]
[ROW][C]16[/C][C]0.154752217077126[/C][C]0.309504434154252[/C][C]0.845247782922874[/C][/ROW]
[ROW][C]17[/C][C]0.110594869411479[/C][C]0.221189738822958[/C][C]0.889405130588521[/C][/ROW]
[ROW][C]18[/C][C]0.078114220204682[/C][C]0.156228440409364[/C][C]0.921885779795318[/C][/ROW]
[ROW][C]19[/C][C]0.0624677276479687[/C][C]0.124935455295937[/C][C]0.937532272352031[/C][/ROW]
[ROW][C]20[/C][C]0.0526402237208441[/C][C]0.105280447441688[/C][C]0.947359776279156[/C][/ROW]
[ROW][C]21[/C][C]0.0421543686245236[/C][C]0.0843087372490473[/C][C]0.957845631375476[/C][/ROW]
[ROW][C]22[/C][C]0.0316814471843302[/C][C]0.0633628943686605[/C][C]0.96831855281567[/C][/ROW]
[ROW][C]23[/C][C]0.045000896654084[/C][C]0.090001793308168[/C][C]0.954999103345916[/C][/ROW]
[ROW][C]24[/C][C]0.0709728639265808[/C][C]0.141945727853162[/C][C]0.92902713607342[/C][/ROW]
[ROW][C]25[/C][C]0.0866027562281708[/C][C]0.173205512456342[/C][C]0.913397243771829[/C][/ROW]
[ROW][C]26[/C][C]0.068116201601728[/C][C]0.136232403203456[/C][C]0.931883798398272[/C][/ROW]
[ROW][C]27[/C][C]0.0695056931514705[/C][C]0.139011386302941[/C][C]0.93049430684853[/C][/ROW]
[ROW][C]28[/C][C]0.0754645992788615[/C][C]0.150929198557723[/C][C]0.924535400721138[/C][/ROW]
[ROW][C]29[/C][C]0.0761942599373463[/C][C]0.152388519874693[/C][C]0.923805740062654[/C][/ROW]
[ROW][C]30[/C][C]0.071869648790307[/C][C]0.143739297580614[/C][C]0.928130351209693[/C][/ROW]
[ROW][C]31[/C][C]0.063183549232244[/C][C]0.126367098464488[/C][C]0.936816450767756[/C][/ROW]
[ROW][C]32[/C][C]0.052511880308149[/C][C]0.105023760616298[/C][C]0.947488119691851[/C][/ROW]
[ROW][C]33[/C][C]0.046880526093474[/C][C]0.093761052186948[/C][C]0.953119473906526[/C][/ROW]
[ROW][C]34[/C][C]0.0483947607499057[/C][C]0.0967895214998113[/C][C]0.951605239250094[/C][/ROW]
[ROW][C]35[/C][C]0.0765962740403482[/C][C]0.153192548080696[/C][C]0.923403725959652[/C][/ROW]
[ROW][C]36[/C][C]0.218756915834312[/C][C]0.437513831668625[/C][C]0.781243084165688[/C][/ROW]
[ROW][C]37[/C][C]0.315333206884396[/C][C]0.630666413768792[/C][C]0.684666793115604[/C][/ROW]
[ROW][C]38[/C][C]0.379855427325376[/C][C]0.759710854650753[/C][C]0.620144572674624[/C][/ROW]
[ROW][C]39[/C][C]0.392351764712110[/C][C]0.784703529424221[/C][C]0.60764823528789[/C][/ROW]
[ROW][C]40[/C][C]0.428838985132774[/C][C]0.857677970265548[/C][C]0.571161014867226[/C][/ROW]
[ROW][C]41[/C][C]0.51531463087489[/C][C]0.969370738250221[/C][C]0.484685369125110[/C][/ROW]
[ROW][C]42[/C][C]0.567332633359442[/C][C]0.865334733281117[/C][C]0.432667366640558[/C][/ROW]
[ROW][C]43[/C][C]0.55472084472074[/C][C]0.890558310558519[/C][C]0.445279155279259[/C][/ROW]
[ROW][C]44[/C][C]0.516355235027764[/C][C]0.967289529944473[/C][C]0.483644764972236[/C][/ROW]
[ROW][C]45[/C][C]0.566716183220733[/C][C]0.866567633558533[/C][C]0.433283816779266[/C][/ROW]
[ROW][C]46[/C][C]0.57990423321638[/C][C]0.84019153356724[/C][C]0.42009576678362[/C][/ROW]
[ROW][C]47[/C][C]0.608714281728958[/C][C]0.782571436542085[/C][C]0.391285718271042[/C][/ROW]
[ROW][C]48[/C][C]0.75885315079308[/C][C]0.482293698413841[/C][C]0.241146849206921[/C][/ROW]
[ROW][C]49[/C][C]0.77505026754431[/C][C]0.449899464911381[/C][C]0.224949732455690[/C][/ROW]
[ROW][C]50[/C][C]0.697281222571394[/C][C]0.605437554857211[/C][C]0.302718777428606[/C][/ROW]
[ROW][C]51[/C][C]0.578309243032331[/C][C]0.843381513935338[/C][C]0.421690756967669[/C][/ROW]
[ROW][C]52[/C][C]0.456216345560693[/C][C]0.912432691121385[/C][C]0.543783654439307[/C][/ROW]
[ROW][C]53[/C][C]0.382635319080676[/C][C]0.765270638161353[/C][C]0.617364680919324[/C][/ROW]
[ROW][C]54[/C][C]0.336138054128371[/C][C]0.672276108256743[/C][C]0.663861945871629[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=71253&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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
60.01168816364782170.02337632729564330.988311836352178
70.002145461897000080.004290923794000170.997854538103
80.0004733130607664020.0009466261215328030.999526686939234
99.06751635414292e-050.0001813503270828580.999909324836459
102.13026085673464e-054.26052171346927e-050.999978697391433
110.1150228412249520.2300456824499040.884977158775048
120.2931810404623760.5863620809247520.706818959537624
130.3517147788985100.7034295577970210.64828522110149
140.2808145330686220.5616290661372450.719185466931378
150.2135491687305370.4270983374610740.786450831269463
160.1547522170771260.3095044341542520.845247782922874
170.1105948694114790.2211897388229580.889405130588521
180.0781142202046820.1562284404093640.921885779795318
190.06246772764796870.1249354552959370.937532272352031
200.05264022372084410.1052804474416880.947359776279156
210.04215436862452360.08430873724904730.957845631375476
220.03168144718433020.06336289436866050.96831855281567
230.0450008966540840.0900017933081680.954999103345916
240.07097286392658080.1419457278531620.92902713607342
250.08660275622817080.1732055124563420.913397243771829
260.0681162016017280.1362324032034560.931883798398272
270.06950569315147050.1390113863029410.93049430684853
280.07546459927886150.1509291985577230.924535400721138
290.07619425993734630.1523885198746930.923805740062654
300.0718696487903070.1437392975806140.928130351209693
310.0631835492322440.1263670984644880.936816450767756
320.0525118803081490.1050237606162980.947488119691851
330.0468805260934740.0937610521869480.953119473906526
340.04839476074990570.09678952149981130.951605239250094
350.07659627404034820.1531925480806960.923403725959652
360.2187569158343120.4375138316686250.781243084165688
370.3153332068843960.6306664137687920.684666793115604
380.3798554273253760.7597108546507530.620144572674624
390.3923517647121100.7847035294242210.60764823528789
400.4288389851327740.8576779702655480.571161014867226
410.515314630874890.9693707382502210.484685369125110
420.5673326333594420.8653347332811170.432667366640558
430.554720844720740.8905583105585190.445279155279259
440.5163552350277640.9672895299444730.483644764972236
450.5667161832207330.8665676335585330.433283816779266
460.579904233216380.840191533567240.42009576678362
470.6087142817289580.7825714365420850.391285718271042
480.758853150793080.4822936984138410.241146849206921
490.775050267544310.4498994649113810.224949732455690
500.6972812225713940.6054375548572110.302718777428606
510.5783092430323310.8433815139353380.421690756967669
520.4562163455606930.9124326911213850.543783654439307
530.3826353190806760.7652706381613530.617364680919324
540.3361380541283710.6722761082567430.663861945871629







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.0816326530612245NOK
5% type I error level50.102040816326531NOK
10% type I error level100.204081632653061NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=71253&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 level40.0816326530612245NOK
5% type I error level50.102040816326531NOK
10% type I error level100.204081632653061NOK



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