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 computationSat, 26 Dec 2009 08:11:25 -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/26/t1261840359we33umsfji897tg.htm/, Retrieved Mon, 29 Apr 2024 00:06:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=70754, Retrieved Mon, 29 Apr 2024 00:06:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact156
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] [b02b8a83db8a631da1ab9c106b4cdcf2] [Current]
-         [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] [005293453b571dbccb80b45226e44173]
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=70754&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=70754&T=0

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

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)593909.3214285714729.236545125.582500
dummies-68141.25892857156475.773839-10.522500

\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) & 593909.321428571 & 4729.236545 & 125.5825 & 0 & 0 \tabularnewline
dummies & -68141.2589285715 & 6475.773839 & -10.5225 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70754&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]593909.321428571[/C][C]4729.236545[/C][C]125.5825[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]dummies[/C][C]-68141.2589285715[/C][C]6475.773839[/C][C]-10.5225[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70754&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70754&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)593909.3214285714729.236545125.582500
dummies-68141.25892857156475.773839-10.522500







Multiple Linear Regression - Regression Statistics
Multiple R0.810086930890089
R-squared0.656240835598924
Adjusted R-squared0.650313953454078
F-TEST (value)110.722774565304
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.55191440096314e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25024.7675796097
Sum Squared Residuals36321861559.9821

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.810086930890089 \tabularnewline
R-squared & 0.656240835598924 \tabularnewline
Adjusted R-squared & 0.650313953454078 \tabularnewline
F-TEST (value) & 110.722774565304 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 4.55191440096314e-15 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25024.7675796097 \tabularnewline
Sum Squared Residuals & 36321861559.9821 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70754&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.810086930890089[/C][/ROW]
[ROW][C]R-squared[/C][C]0.656240835598924[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.650313953454078[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]110.722774565304[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]4.55191440096314e-15[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]25024.7675796097[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]36321861559.9821[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70754&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70754&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.810086930890089
R-squared0.656240835598924
Adjusted R-squared0.650313953454078
F-TEST (value)110.722774565304
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value4.55191440096314e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25024.7675796097
Sum Squared Residuals36321861559.9821







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1612613593909.32142857218703.6785714283
2611324593909.32142857117414.6785714287
3594167593909.321428571257.678571428578
4595454593909.3214285711544.67857142858
5590865593909.321428571-3044.32142857142
6589379593909.321428571-4530.32142857142
7584428593909.321428571-9481.32142857142
8573100593909.321428571-20809.3214285714
9567456593909.321428571-26453.3214285714
10569028593909.321428571-24881.3214285714
11620735593909.32142857126825.6785714286
12628884593909.32142857134974.6785714286
13628232593909.32142857134322.6785714286
14612117593909.32142857118207.6785714286
15595404593909.3214285711494.67857142858
16597141593909.3214285713231.67857142858
17593408593909.321428571-501.321428571422
18590072593909.321428571-3837.32142857142
19579799593909.321428571-14110.3214285714
20574205593909.321428571-19704.3214285714
21572775593909.321428571-21134.3214285714
22572942593909.321428571-20967.3214285714
23619567593909.32142857125657.6785714286
24625809593909.32142857131899.6785714286
25619916593909.32142857126006.6785714286
26587625593909.321428571-6284.32142857142
27565742593909.321428571-28167.3214285714
28557274593909.321428571-36635.3214285714
29560576525768.062534807.9375
30548854525768.062523085.9375
31531673525768.06255904.9375
32525919525768.0625150.937499999998
33511038525768.0625-14730.0625
34498662525768.0625-27106.0625
35555362525768.062529593.9375
36564591525768.062538822.9375
37541657525768.062515888.9375
38527070525768.06251301.93750000000
39509846525768.0625-15922.0625
40514258525768.0625-11510.0625
41516922525768.0625-8846.0625
42507561525768.0625-18207.0625
43492622525768.0625-33146.0625
44490243525768.0625-35525.0625
45469357525768.0625-56411.0625
46477580525768.0625-48188.0625
47528379525768.06252610.9375
48533590525768.06257821.9375
49517945525768.0625-7823.0625
50506174525768.0625-19594.0625
51501866525768.0625-23902.0625
52516141525768.0625-9627.0625
53528222525768.06252453.9375
54532638525768.06256869.9375
55536322525768.062510553.9375
56536535525768.062510766.9375
57523597525768.0625-2171.0625
58536214525768.062510445.9375
59586570525768.062560801.9375
60596594525768.062570825.9375

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 612613 & 593909.321428572 & 18703.6785714283 \tabularnewline
2 & 611324 & 593909.321428571 & 17414.6785714287 \tabularnewline
3 & 594167 & 593909.321428571 & 257.678571428578 \tabularnewline
4 & 595454 & 593909.321428571 & 1544.67857142858 \tabularnewline
5 & 590865 & 593909.321428571 & -3044.32142857142 \tabularnewline
6 & 589379 & 593909.321428571 & -4530.32142857142 \tabularnewline
7 & 584428 & 593909.321428571 & -9481.32142857142 \tabularnewline
8 & 573100 & 593909.321428571 & -20809.3214285714 \tabularnewline
9 & 567456 & 593909.321428571 & -26453.3214285714 \tabularnewline
10 & 569028 & 593909.321428571 & -24881.3214285714 \tabularnewline
11 & 620735 & 593909.321428571 & 26825.6785714286 \tabularnewline
12 & 628884 & 593909.321428571 & 34974.6785714286 \tabularnewline
13 & 628232 & 593909.321428571 & 34322.6785714286 \tabularnewline
14 & 612117 & 593909.321428571 & 18207.6785714286 \tabularnewline
15 & 595404 & 593909.321428571 & 1494.67857142858 \tabularnewline
16 & 597141 & 593909.321428571 & 3231.67857142858 \tabularnewline
17 & 593408 & 593909.321428571 & -501.321428571422 \tabularnewline
18 & 590072 & 593909.321428571 & -3837.32142857142 \tabularnewline
19 & 579799 & 593909.321428571 & -14110.3214285714 \tabularnewline
20 & 574205 & 593909.321428571 & -19704.3214285714 \tabularnewline
21 & 572775 & 593909.321428571 & -21134.3214285714 \tabularnewline
22 & 572942 & 593909.321428571 & -20967.3214285714 \tabularnewline
23 & 619567 & 593909.321428571 & 25657.6785714286 \tabularnewline
24 & 625809 & 593909.321428571 & 31899.6785714286 \tabularnewline
25 & 619916 & 593909.321428571 & 26006.6785714286 \tabularnewline
26 & 587625 & 593909.321428571 & -6284.32142857142 \tabularnewline
27 & 565742 & 593909.321428571 & -28167.3214285714 \tabularnewline
28 & 557274 & 593909.321428571 & -36635.3214285714 \tabularnewline
29 & 560576 & 525768.0625 & 34807.9375 \tabularnewline
30 & 548854 & 525768.0625 & 23085.9375 \tabularnewline
31 & 531673 & 525768.0625 & 5904.9375 \tabularnewline
32 & 525919 & 525768.0625 & 150.937499999998 \tabularnewline
33 & 511038 & 525768.0625 & -14730.0625 \tabularnewline
34 & 498662 & 525768.0625 & -27106.0625 \tabularnewline
35 & 555362 & 525768.0625 & 29593.9375 \tabularnewline
36 & 564591 & 525768.0625 & 38822.9375 \tabularnewline
37 & 541657 & 525768.0625 & 15888.9375 \tabularnewline
38 & 527070 & 525768.0625 & 1301.93750000000 \tabularnewline
39 & 509846 & 525768.0625 & -15922.0625 \tabularnewline
40 & 514258 & 525768.0625 & -11510.0625 \tabularnewline
41 & 516922 & 525768.0625 & -8846.0625 \tabularnewline
42 & 507561 & 525768.0625 & -18207.0625 \tabularnewline
43 & 492622 & 525768.0625 & -33146.0625 \tabularnewline
44 & 490243 & 525768.0625 & -35525.0625 \tabularnewline
45 & 469357 & 525768.0625 & -56411.0625 \tabularnewline
46 & 477580 & 525768.0625 & -48188.0625 \tabularnewline
47 & 528379 & 525768.0625 & 2610.9375 \tabularnewline
48 & 533590 & 525768.0625 & 7821.9375 \tabularnewline
49 & 517945 & 525768.0625 & -7823.0625 \tabularnewline
50 & 506174 & 525768.0625 & -19594.0625 \tabularnewline
51 & 501866 & 525768.0625 & -23902.0625 \tabularnewline
52 & 516141 & 525768.0625 & -9627.0625 \tabularnewline
53 & 528222 & 525768.0625 & 2453.9375 \tabularnewline
54 & 532638 & 525768.0625 & 6869.9375 \tabularnewline
55 & 536322 & 525768.0625 & 10553.9375 \tabularnewline
56 & 536535 & 525768.0625 & 10766.9375 \tabularnewline
57 & 523597 & 525768.0625 & -2171.0625 \tabularnewline
58 & 536214 & 525768.0625 & 10445.9375 \tabularnewline
59 & 586570 & 525768.0625 & 60801.9375 \tabularnewline
60 & 596594 & 525768.0625 & 70825.9375 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70754&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]593909.321428572[/C][C]18703.6785714283[/C][/ROW]
[ROW][C]2[/C][C]611324[/C][C]593909.321428571[/C][C]17414.6785714287[/C][/ROW]
[ROW][C]3[/C][C]594167[/C][C]593909.321428571[/C][C]257.678571428578[/C][/ROW]
[ROW][C]4[/C][C]595454[/C][C]593909.321428571[/C][C]1544.67857142858[/C][/ROW]
[ROW][C]5[/C][C]590865[/C][C]593909.321428571[/C][C]-3044.32142857142[/C][/ROW]
[ROW][C]6[/C][C]589379[/C][C]593909.321428571[/C][C]-4530.32142857142[/C][/ROW]
[ROW][C]7[/C][C]584428[/C][C]593909.321428571[/C][C]-9481.32142857142[/C][/ROW]
[ROW][C]8[/C][C]573100[/C][C]593909.321428571[/C][C]-20809.3214285714[/C][/ROW]
[ROW][C]9[/C][C]567456[/C][C]593909.321428571[/C][C]-26453.3214285714[/C][/ROW]
[ROW][C]10[/C][C]569028[/C][C]593909.321428571[/C][C]-24881.3214285714[/C][/ROW]
[ROW][C]11[/C][C]620735[/C][C]593909.321428571[/C][C]26825.6785714286[/C][/ROW]
[ROW][C]12[/C][C]628884[/C][C]593909.321428571[/C][C]34974.6785714286[/C][/ROW]
[ROW][C]13[/C][C]628232[/C][C]593909.321428571[/C][C]34322.6785714286[/C][/ROW]
[ROW][C]14[/C][C]612117[/C][C]593909.321428571[/C][C]18207.6785714286[/C][/ROW]
[ROW][C]15[/C][C]595404[/C][C]593909.321428571[/C][C]1494.67857142858[/C][/ROW]
[ROW][C]16[/C][C]597141[/C][C]593909.321428571[/C][C]3231.67857142858[/C][/ROW]
[ROW][C]17[/C][C]593408[/C][C]593909.321428571[/C][C]-501.321428571422[/C][/ROW]
[ROW][C]18[/C][C]590072[/C][C]593909.321428571[/C][C]-3837.32142857142[/C][/ROW]
[ROW][C]19[/C][C]579799[/C][C]593909.321428571[/C][C]-14110.3214285714[/C][/ROW]
[ROW][C]20[/C][C]574205[/C][C]593909.321428571[/C][C]-19704.3214285714[/C][/ROW]
[ROW][C]21[/C][C]572775[/C][C]593909.321428571[/C][C]-21134.3214285714[/C][/ROW]
[ROW][C]22[/C][C]572942[/C][C]593909.321428571[/C][C]-20967.3214285714[/C][/ROW]
[ROW][C]23[/C][C]619567[/C][C]593909.321428571[/C][C]25657.6785714286[/C][/ROW]
[ROW][C]24[/C][C]625809[/C][C]593909.321428571[/C][C]31899.6785714286[/C][/ROW]
[ROW][C]25[/C][C]619916[/C][C]593909.321428571[/C][C]26006.6785714286[/C][/ROW]
[ROW][C]26[/C][C]587625[/C][C]593909.321428571[/C][C]-6284.32142857142[/C][/ROW]
[ROW][C]27[/C][C]565742[/C][C]593909.321428571[/C][C]-28167.3214285714[/C][/ROW]
[ROW][C]28[/C][C]557274[/C][C]593909.321428571[/C][C]-36635.3214285714[/C][/ROW]
[ROW][C]29[/C][C]560576[/C][C]525768.0625[/C][C]34807.9375[/C][/ROW]
[ROW][C]30[/C][C]548854[/C][C]525768.0625[/C][C]23085.9375[/C][/ROW]
[ROW][C]31[/C][C]531673[/C][C]525768.0625[/C][C]5904.9375[/C][/ROW]
[ROW][C]32[/C][C]525919[/C][C]525768.0625[/C][C]150.937499999998[/C][/ROW]
[ROW][C]33[/C][C]511038[/C][C]525768.0625[/C][C]-14730.0625[/C][/ROW]
[ROW][C]34[/C][C]498662[/C][C]525768.0625[/C][C]-27106.0625[/C][/ROW]
[ROW][C]35[/C][C]555362[/C][C]525768.0625[/C][C]29593.9375[/C][/ROW]
[ROW][C]36[/C][C]564591[/C][C]525768.0625[/C][C]38822.9375[/C][/ROW]
[ROW][C]37[/C][C]541657[/C][C]525768.0625[/C][C]15888.9375[/C][/ROW]
[ROW][C]38[/C][C]527070[/C][C]525768.0625[/C][C]1301.93750000000[/C][/ROW]
[ROW][C]39[/C][C]509846[/C][C]525768.0625[/C][C]-15922.0625[/C][/ROW]
[ROW][C]40[/C][C]514258[/C][C]525768.0625[/C][C]-11510.0625[/C][/ROW]
[ROW][C]41[/C][C]516922[/C][C]525768.0625[/C][C]-8846.0625[/C][/ROW]
[ROW][C]42[/C][C]507561[/C][C]525768.0625[/C][C]-18207.0625[/C][/ROW]
[ROW][C]43[/C][C]492622[/C][C]525768.0625[/C][C]-33146.0625[/C][/ROW]
[ROW][C]44[/C][C]490243[/C][C]525768.0625[/C][C]-35525.0625[/C][/ROW]
[ROW][C]45[/C][C]469357[/C][C]525768.0625[/C][C]-56411.0625[/C][/ROW]
[ROW][C]46[/C][C]477580[/C][C]525768.0625[/C][C]-48188.0625[/C][/ROW]
[ROW][C]47[/C][C]528379[/C][C]525768.0625[/C][C]2610.9375[/C][/ROW]
[ROW][C]48[/C][C]533590[/C][C]525768.0625[/C][C]7821.9375[/C][/ROW]
[ROW][C]49[/C][C]517945[/C][C]525768.0625[/C][C]-7823.0625[/C][/ROW]
[ROW][C]50[/C][C]506174[/C][C]525768.0625[/C][C]-19594.0625[/C][/ROW]
[ROW][C]51[/C][C]501866[/C][C]525768.0625[/C][C]-23902.0625[/C][/ROW]
[ROW][C]52[/C][C]516141[/C][C]525768.0625[/C][C]-9627.0625[/C][/ROW]
[ROW][C]53[/C][C]528222[/C][C]525768.0625[/C][C]2453.9375[/C][/ROW]
[ROW][C]54[/C][C]532638[/C][C]525768.0625[/C][C]6869.9375[/C][/ROW]
[ROW][C]55[/C][C]536322[/C][C]525768.0625[/C][C]10553.9375[/C][/ROW]
[ROW][C]56[/C][C]536535[/C][C]525768.0625[/C][C]10766.9375[/C][/ROW]
[ROW][C]57[/C][C]523597[/C][C]525768.0625[/C][C]-2171.0625[/C][/ROW]
[ROW][C]58[/C][C]536214[/C][C]525768.0625[/C][C]10445.9375[/C][/ROW]
[ROW][C]59[/C][C]586570[/C][C]525768.0625[/C][C]60801.9375[/C][/ROW]
[ROW][C]60[/C][C]596594[/C][C]525768.0625[/C][C]70825.9375[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70754&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70754&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
1612613593909.32142857218703.6785714283
2611324593909.32142857117414.6785714287
3594167593909.321428571257.678571428578
4595454593909.3214285711544.67857142858
5590865593909.321428571-3044.32142857142
6589379593909.321428571-4530.32142857142
7584428593909.321428571-9481.32142857142
8573100593909.321428571-20809.3214285714
9567456593909.321428571-26453.3214285714
10569028593909.321428571-24881.3214285714
11620735593909.32142857126825.6785714286
12628884593909.32142857134974.6785714286
13628232593909.32142857134322.6785714286
14612117593909.32142857118207.6785714286
15595404593909.3214285711494.67857142858
16597141593909.3214285713231.67857142858
17593408593909.321428571-501.321428571422
18590072593909.321428571-3837.32142857142
19579799593909.321428571-14110.3214285714
20574205593909.321428571-19704.3214285714
21572775593909.321428571-21134.3214285714
22572942593909.321428571-20967.3214285714
23619567593909.32142857125657.6785714286
24625809593909.32142857131899.6785714286
25619916593909.32142857126006.6785714286
26587625593909.321428571-6284.32142857142
27565742593909.321428571-28167.3214285714
28557274593909.321428571-36635.3214285714
29560576525768.062534807.9375
30548854525768.062523085.9375
31531673525768.06255904.9375
32525919525768.0625150.937499999998
33511038525768.0625-14730.0625
34498662525768.0625-27106.0625
35555362525768.062529593.9375
36564591525768.062538822.9375
37541657525768.062515888.9375
38527070525768.06251301.93750000000
39509846525768.0625-15922.0625
40514258525768.0625-11510.0625
41516922525768.0625-8846.0625
42507561525768.0625-18207.0625
43492622525768.0625-33146.0625
44490243525768.0625-35525.0625
45469357525768.0625-56411.0625
46477580525768.0625-48188.0625
47528379525768.06252610.9375
48533590525768.06257821.9375
49517945525768.0625-7823.0625
50506174525768.0625-19594.0625
51501866525768.0625-23902.0625
52516141525768.0625-9627.0625
53528222525768.06252453.9375
54532638525768.06256869.9375
55536322525768.062510553.9375
56536535525768.062510766.9375
57523597525768.0625-2171.0625
58536214525768.062510445.9375
59586570525768.062560801.9375
60596594525768.062570825.9375







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1103893741820190.2207787483640380.889610625817981
60.0596742533235240.1193485066470480.940325746676476
70.04096990568059030.08193981136118060.95903009431941
80.05945766989888270.1189153397977650.940542330101117
90.08619361172367360.1723872234473470.913806388276326
100.08707604227458610.1741520845491720.912923957725414
110.1362689859397120.2725379718794240.863731014060288
120.2318284673128900.4636569346257790.76817153268711
130.3011967594336310.6023935188672620.698803240566369
140.2525252678104410.5050505356208810.74747473218956
150.1832962515988600.3665925031977190.81670374840114
160.1283304736835680.2566609473671350.871669526316432
170.08740199034183350.1748039806836670.912598009658167
180.05892948823617570.1178589764723510.941070511763824
190.04667785181584100.09335570363168210.95332214818416
200.04277318497205440.08554636994410870.957226815027946
210.0400319062068110.0800638124136220.959968093793189
220.03663405339031930.07326810678063860.96336594660968
230.03994963171856740.07989926343713480.960050368281433
240.05833848103977080.1166769620795420.94166151896023
250.07338811179656290.1467762235931260.926611888203437
260.05656212371043650.1131242474208730.943437876289564
270.05972883258713870.1194576651742770.940271167412861
280.07452848885527370.1490569777105470.925471511144726
290.06641888236887060.1328377647377410.93358111763113
300.05326233234983060.1065246646996610.94673766765017
310.04220201441559150.0844040288311830.957797985584409
320.03219911034695910.06439822069391820.96780088965304
330.03041167729541330.06082335459082670.969588322704587
340.03766537711543180.07533075423086370.962334622884568
350.03993927404180730.07987854808361470.960060725958193
360.05827567856845830.1165513571369170.941724321431542
370.04418242420125580.08836484840251150.955817575798744
380.03019442198727590.06038884397455190.969805578012724
390.02534219564578730.05068439129157450.974657804354213
400.01834386426562810.03668772853125610.981656135734372
410.01216615967533200.02433231935066390.987833840324668
420.009496400515728390.01899280103145680.990503599484272
430.01279122015186020.02558244030372040.98720877984814
440.01859143710729000.03718287421457990.98140856289271
450.08827936150361480.1765587230072300.911720638496385
460.2290290360534670.4580580721069330.770970963946533
470.1691251655864320.3382503311728640.830874834413568
480.1192502331869930.2385004663739860.880749766813007
490.08899550792580870.1779910158516170.911004492074191
500.09189799354266210.1837959870853240.908102006457338
510.1303594719799630.2607189439599250.869640528020037
520.1280673990598070.2561347981196140.871932600940193
530.0973983263100360.1947966526200720.902601673689964
540.06743887214751060.1348777442950210.93256112785249
550.04185930986952970.08371861973905950.95814069013047

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.110389374182019 & 0.220778748364038 & 0.889610625817981 \tabularnewline
6 & 0.059674253323524 & 0.119348506647048 & 0.940325746676476 \tabularnewline
7 & 0.0409699056805903 & 0.0819398113611806 & 0.95903009431941 \tabularnewline
8 & 0.0594576698988827 & 0.118915339797765 & 0.940542330101117 \tabularnewline
9 & 0.0861936117236736 & 0.172387223447347 & 0.913806388276326 \tabularnewline
10 & 0.0870760422745861 & 0.174152084549172 & 0.912923957725414 \tabularnewline
11 & 0.136268985939712 & 0.272537971879424 & 0.863731014060288 \tabularnewline
12 & 0.231828467312890 & 0.463656934625779 & 0.76817153268711 \tabularnewline
13 & 0.301196759433631 & 0.602393518867262 & 0.698803240566369 \tabularnewline
14 & 0.252525267810441 & 0.505050535620881 & 0.74747473218956 \tabularnewline
15 & 0.183296251598860 & 0.366592503197719 & 0.81670374840114 \tabularnewline
16 & 0.128330473683568 & 0.256660947367135 & 0.871669526316432 \tabularnewline
17 & 0.0874019903418335 & 0.174803980683667 & 0.912598009658167 \tabularnewline
18 & 0.0589294882361757 & 0.117858976472351 & 0.941070511763824 \tabularnewline
19 & 0.0466778518158410 & 0.0933557036316821 & 0.95332214818416 \tabularnewline
20 & 0.0427731849720544 & 0.0855463699441087 & 0.957226815027946 \tabularnewline
21 & 0.040031906206811 & 0.080063812413622 & 0.959968093793189 \tabularnewline
22 & 0.0366340533903193 & 0.0732681067806386 & 0.96336594660968 \tabularnewline
23 & 0.0399496317185674 & 0.0798992634371348 & 0.960050368281433 \tabularnewline
24 & 0.0583384810397708 & 0.116676962079542 & 0.94166151896023 \tabularnewline
25 & 0.0733881117965629 & 0.146776223593126 & 0.926611888203437 \tabularnewline
26 & 0.0565621237104365 & 0.113124247420873 & 0.943437876289564 \tabularnewline
27 & 0.0597288325871387 & 0.119457665174277 & 0.940271167412861 \tabularnewline
28 & 0.0745284888552737 & 0.149056977710547 & 0.925471511144726 \tabularnewline
29 & 0.0664188823688706 & 0.132837764737741 & 0.93358111763113 \tabularnewline
30 & 0.0532623323498306 & 0.106524664699661 & 0.94673766765017 \tabularnewline
31 & 0.0422020144155915 & 0.084404028831183 & 0.957797985584409 \tabularnewline
32 & 0.0321991103469591 & 0.0643982206939182 & 0.96780088965304 \tabularnewline
33 & 0.0304116772954133 & 0.0608233545908267 & 0.969588322704587 \tabularnewline
34 & 0.0376653771154318 & 0.0753307542308637 & 0.962334622884568 \tabularnewline
35 & 0.0399392740418073 & 0.0798785480836147 & 0.960060725958193 \tabularnewline
36 & 0.0582756785684583 & 0.116551357136917 & 0.941724321431542 \tabularnewline
37 & 0.0441824242012558 & 0.0883648484025115 & 0.955817575798744 \tabularnewline
38 & 0.0301944219872759 & 0.0603888439745519 & 0.969805578012724 \tabularnewline
39 & 0.0253421956457873 & 0.0506843912915745 & 0.974657804354213 \tabularnewline
40 & 0.0183438642656281 & 0.0366877285312561 & 0.981656135734372 \tabularnewline
41 & 0.0121661596753320 & 0.0243323193506639 & 0.987833840324668 \tabularnewline
42 & 0.00949640051572839 & 0.0189928010314568 & 0.990503599484272 \tabularnewline
43 & 0.0127912201518602 & 0.0255824403037204 & 0.98720877984814 \tabularnewline
44 & 0.0185914371072900 & 0.0371828742145799 & 0.98140856289271 \tabularnewline
45 & 0.0882793615036148 & 0.176558723007230 & 0.911720638496385 \tabularnewline
46 & 0.229029036053467 & 0.458058072106933 & 0.770970963946533 \tabularnewline
47 & 0.169125165586432 & 0.338250331172864 & 0.830874834413568 \tabularnewline
48 & 0.119250233186993 & 0.238500466373986 & 0.880749766813007 \tabularnewline
49 & 0.0889955079258087 & 0.177991015851617 & 0.911004492074191 \tabularnewline
50 & 0.0918979935426621 & 0.183795987085324 & 0.908102006457338 \tabularnewline
51 & 0.130359471979963 & 0.260718943959925 & 0.869640528020037 \tabularnewline
52 & 0.128067399059807 & 0.256134798119614 & 0.871932600940193 \tabularnewline
53 & 0.097398326310036 & 0.194796652620072 & 0.902601673689964 \tabularnewline
54 & 0.0674388721475106 & 0.134877744295021 & 0.93256112785249 \tabularnewline
55 & 0.0418593098695297 & 0.0837186197390595 & 0.95814069013047 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=70754&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]5[/C][C]0.110389374182019[/C][C]0.220778748364038[/C][C]0.889610625817981[/C][/ROW]
[ROW][C]6[/C][C]0.059674253323524[/C][C]0.119348506647048[/C][C]0.940325746676476[/C][/ROW]
[ROW][C]7[/C][C]0.0409699056805903[/C][C]0.0819398113611806[/C][C]0.95903009431941[/C][/ROW]
[ROW][C]8[/C][C]0.0594576698988827[/C][C]0.118915339797765[/C][C]0.940542330101117[/C][/ROW]
[ROW][C]9[/C][C]0.0861936117236736[/C][C]0.172387223447347[/C][C]0.913806388276326[/C][/ROW]
[ROW][C]10[/C][C]0.0870760422745861[/C][C]0.174152084549172[/C][C]0.912923957725414[/C][/ROW]
[ROW][C]11[/C][C]0.136268985939712[/C][C]0.272537971879424[/C][C]0.863731014060288[/C][/ROW]
[ROW][C]12[/C][C]0.231828467312890[/C][C]0.463656934625779[/C][C]0.76817153268711[/C][/ROW]
[ROW][C]13[/C][C]0.301196759433631[/C][C]0.602393518867262[/C][C]0.698803240566369[/C][/ROW]
[ROW][C]14[/C][C]0.252525267810441[/C][C]0.505050535620881[/C][C]0.74747473218956[/C][/ROW]
[ROW][C]15[/C][C]0.183296251598860[/C][C]0.366592503197719[/C][C]0.81670374840114[/C][/ROW]
[ROW][C]16[/C][C]0.128330473683568[/C][C]0.256660947367135[/C][C]0.871669526316432[/C][/ROW]
[ROW][C]17[/C][C]0.0874019903418335[/C][C]0.174803980683667[/C][C]0.912598009658167[/C][/ROW]
[ROW][C]18[/C][C]0.0589294882361757[/C][C]0.117858976472351[/C][C]0.941070511763824[/C][/ROW]
[ROW][C]19[/C][C]0.0466778518158410[/C][C]0.0933557036316821[/C][C]0.95332214818416[/C][/ROW]
[ROW][C]20[/C][C]0.0427731849720544[/C][C]0.0855463699441087[/C][C]0.957226815027946[/C][/ROW]
[ROW][C]21[/C][C]0.040031906206811[/C][C]0.080063812413622[/C][C]0.959968093793189[/C][/ROW]
[ROW][C]22[/C][C]0.0366340533903193[/C][C]0.0732681067806386[/C][C]0.96336594660968[/C][/ROW]
[ROW][C]23[/C][C]0.0399496317185674[/C][C]0.0798992634371348[/C][C]0.960050368281433[/C][/ROW]
[ROW][C]24[/C][C]0.0583384810397708[/C][C]0.116676962079542[/C][C]0.94166151896023[/C][/ROW]
[ROW][C]25[/C][C]0.0733881117965629[/C][C]0.146776223593126[/C][C]0.926611888203437[/C][/ROW]
[ROW][C]26[/C][C]0.0565621237104365[/C][C]0.113124247420873[/C][C]0.943437876289564[/C][/ROW]
[ROW][C]27[/C][C]0.0597288325871387[/C][C]0.119457665174277[/C][C]0.940271167412861[/C][/ROW]
[ROW][C]28[/C][C]0.0745284888552737[/C][C]0.149056977710547[/C][C]0.925471511144726[/C][/ROW]
[ROW][C]29[/C][C]0.0664188823688706[/C][C]0.132837764737741[/C][C]0.93358111763113[/C][/ROW]
[ROW][C]30[/C][C]0.0532623323498306[/C][C]0.106524664699661[/C][C]0.94673766765017[/C][/ROW]
[ROW][C]31[/C][C]0.0422020144155915[/C][C]0.084404028831183[/C][C]0.957797985584409[/C][/ROW]
[ROW][C]32[/C][C]0.0321991103469591[/C][C]0.0643982206939182[/C][C]0.96780088965304[/C][/ROW]
[ROW][C]33[/C][C]0.0304116772954133[/C][C]0.0608233545908267[/C][C]0.969588322704587[/C][/ROW]
[ROW][C]34[/C][C]0.0376653771154318[/C][C]0.0753307542308637[/C][C]0.962334622884568[/C][/ROW]
[ROW][C]35[/C][C]0.0399392740418073[/C][C]0.0798785480836147[/C][C]0.960060725958193[/C][/ROW]
[ROW][C]36[/C][C]0.0582756785684583[/C][C]0.116551357136917[/C][C]0.941724321431542[/C][/ROW]
[ROW][C]37[/C][C]0.0441824242012558[/C][C]0.0883648484025115[/C][C]0.955817575798744[/C][/ROW]
[ROW][C]38[/C][C]0.0301944219872759[/C][C]0.0603888439745519[/C][C]0.969805578012724[/C][/ROW]
[ROW][C]39[/C][C]0.0253421956457873[/C][C]0.0506843912915745[/C][C]0.974657804354213[/C][/ROW]
[ROW][C]40[/C][C]0.0183438642656281[/C][C]0.0366877285312561[/C][C]0.981656135734372[/C][/ROW]
[ROW][C]41[/C][C]0.0121661596753320[/C][C]0.0243323193506639[/C][C]0.987833840324668[/C][/ROW]
[ROW][C]42[/C][C]0.00949640051572839[/C][C]0.0189928010314568[/C][C]0.990503599484272[/C][/ROW]
[ROW][C]43[/C][C]0.0127912201518602[/C][C]0.0255824403037204[/C][C]0.98720877984814[/C][/ROW]
[ROW][C]44[/C][C]0.0185914371072900[/C][C]0.0371828742145799[/C][C]0.98140856289271[/C][/ROW]
[ROW][C]45[/C][C]0.0882793615036148[/C][C]0.176558723007230[/C][C]0.911720638496385[/C][/ROW]
[ROW][C]46[/C][C]0.229029036053467[/C][C]0.458058072106933[/C][C]0.770970963946533[/C][/ROW]
[ROW][C]47[/C][C]0.169125165586432[/C][C]0.338250331172864[/C][C]0.830874834413568[/C][/ROW]
[ROW][C]48[/C][C]0.119250233186993[/C][C]0.238500466373986[/C][C]0.880749766813007[/C][/ROW]
[ROW][C]49[/C][C]0.0889955079258087[/C][C]0.177991015851617[/C][C]0.911004492074191[/C][/ROW]
[ROW][C]50[/C][C]0.0918979935426621[/C][C]0.183795987085324[/C][C]0.908102006457338[/C][/ROW]
[ROW][C]51[/C][C]0.130359471979963[/C][C]0.260718943959925[/C][C]0.869640528020037[/C][/ROW]
[ROW][C]52[/C][C]0.128067399059807[/C][C]0.256134798119614[/C][C]0.871932600940193[/C][/ROW]
[ROW][C]53[/C][C]0.097398326310036[/C][C]0.194796652620072[/C][C]0.902601673689964[/C][/ROW]
[ROW][C]54[/C][C]0.0674388721475106[/C][C]0.134877744295021[/C][C]0.93256112785249[/C][/ROW]
[ROW][C]55[/C][C]0.0418593098695297[/C][C]0.0837186197390595[/C][C]0.95814069013047[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=70754&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=70754&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
50.1103893741820190.2207787483640380.889610625817981
60.0596742533235240.1193485066470480.940325746676476
70.04096990568059030.08193981136118060.95903009431941
80.05945766989888270.1189153397977650.940542330101117
90.08619361172367360.1723872234473470.913806388276326
100.08707604227458610.1741520845491720.912923957725414
110.1362689859397120.2725379718794240.863731014060288
120.2318284673128900.4636569346257790.76817153268711
130.3011967594336310.6023935188672620.698803240566369
140.2525252678104410.5050505356208810.74747473218956
150.1832962515988600.3665925031977190.81670374840114
160.1283304736835680.2566609473671350.871669526316432
170.08740199034183350.1748039806836670.912598009658167
180.05892948823617570.1178589764723510.941070511763824
190.04667785181584100.09335570363168210.95332214818416
200.04277318497205440.08554636994410870.957226815027946
210.0400319062068110.0800638124136220.959968093793189
220.03663405339031930.07326810678063860.96336594660968
230.03994963171856740.07989926343713480.960050368281433
240.05833848103977080.1166769620795420.94166151896023
250.07338811179656290.1467762235931260.926611888203437
260.05656212371043650.1131242474208730.943437876289564
270.05972883258713870.1194576651742770.940271167412861
280.07452848885527370.1490569777105470.925471511144726
290.06641888236887060.1328377647377410.93358111763113
300.05326233234983060.1065246646996610.94673766765017
310.04220201441559150.0844040288311830.957797985584409
320.03219911034695910.06439822069391820.96780088965304
330.03041167729541330.06082335459082670.969588322704587
340.03766537711543180.07533075423086370.962334622884568
350.03993927404180730.07987854808361470.960060725958193
360.05827567856845830.1165513571369170.941724321431542
370.04418242420125580.08836484840251150.955817575798744
380.03019442198727590.06038884397455190.969805578012724
390.02534219564578730.05068439129157450.974657804354213
400.01834386426562810.03668772853125610.981656135734372
410.01216615967533200.02433231935066390.987833840324668
420.009496400515728390.01899280103145680.990503599484272
430.01279122015186020.02558244030372040.98720877984814
440.01859143710729000.03718287421457990.98140856289271
450.08827936150361480.1765587230072300.911720638496385
460.2290290360534670.4580580721069330.770970963946533
470.1691251655864320.3382503311728640.830874834413568
480.1192502331869930.2385004663739860.880749766813007
490.08899550792580870.1779910158516170.911004492074191
500.09189799354266210.1837959870853240.908102006457338
510.1303594719799630.2607189439599250.869640528020037
520.1280673990598070.2561347981196140.871932600940193
530.0973983263100360.1947966526200720.902601673689964
540.06743887214751060.1348777442950210.93256112785249
550.04185930986952970.08371861973905950.95814069013047







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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