Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSun, 20 Dec 2009 09:56:31 -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/20/t1261328363wja4yvnz7fqcmc4.htm/, Retrieved Sat, 27 Apr 2024 09:23:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=69951, Retrieved Sat, 27 Apr 2024 09:23:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact114
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2009-12-20 16:56:31] [09bbdaa13608b41d3e388e84e1f7dd72] [Current]
Feedback Forum

Post a new message
Dataseries X:
5560	611
3922	594
3759	595
4138	591
4634	589
3996	584
4308	573
4143	567
4429	569
5219	621
4929	629
5755	628
5592	612
4163	595
4962	597
5208	593
4755	590
4491	580
5732	574
5731	573
5040	573
6102	620
4904	626
5369	620
5578	588
4619	566
4731	557
5011	561
5299	549
4146	532
4625	526
4736	511
4219	499
5116	555
4205	565
4121	542
5103	527
4300	510
4578	514
3809	517
5526	508
4247	493
3830	490
4394	469
4826	478
4409	528
4569	534
4106	518
4794	506
3914	502
3793	516
4405	528
4022	533
4100	536
4788	537
3163	524
3585	536




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1424.56447367454 + 5.91539952569404X[t] + 536.156276110696M1[t] -514.54657119362M2[t] -347.743530055286M3[t] -211.157409011813M4[t] + 146.687268996102M5[t] -452.457215177790M6[t] + 37.7197824506796M7[t] -119.227742861547M8[t] -145.841621818074M9[t] + 350.088401897224M10[t] -254.027094545481M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  1424.56447367454 +  5.91539952569404X[t] +  536.156276110696M1[t] -514.54657119362M2[t] -347.743530055286M3[t] -211.157409011813M4[t] +  146.687268996102M5[t] -452.457215177790M6[t] +  37.7197824506796M7[t] -119.227742861547M8[t] -145.841621818074M9[t] +  350.088401897224M10[t] -254.027094545481M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69951&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  1424.56447367454 +  5.91539952569404X[t] +  536.156276110696M1[t] -514.54657119362M2[t] -347.743530055286M3[t] -211.157409011813M4[t] +  146.687268996102M5[t] -452.457215177790M6[t] +  37.7197824506796M7[t] -119.227742861547M8[t] -145.841621818074M9[t] +  350.088401897224M10[t] -254.027094545481M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69951&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1424.56447367454 + 5.91539952569404X[t] + 536.156276110696M1[t] -514.54657119362M2[t] -347.743530055286M3[t] -211.157409011813M4[t] + 146.687268996102M5[t] -452.457215177790M6[t] + 37.7197824506796M7[t] -119.227742861547M8[t] -145.841621818074M9[t] + 350.088401897224M10[t] -254.027094545481M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1424.564473674541124.3913721.2670.2118330.105917
X5.915399525694041.8915143.12730.0031240.001562
M1536.156276110696363.0571941.47680.1468560.073428
M2-514.54657119362365.462253-1.40790.1661770.083089
M3-347.743530055286364.93557-0.95290.3458510.172926
M4-211.157409011813364.50178-0.57930.5653380.282669
M5146.687268996102365.3706080.40150.6900140.345007
M6-452.457215177790367.741275-1.23040.2250970.112548
M737.7197824506796369.4157480.10210.9191360.459568
M8-119.227742861547374.008152-0.31880.7513990.375699
M9-145.841621818074373.015589-0.3910.6976990.348849
M10350.088401897224382.4213410.91550.3649440.182472
M11-254.027094545481382.964755-0.66330.5105880.255294

\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) & 1424.56447367454 & 1124.391372 & 1.267 & 0.211833 & 0.105917 \tabularnewline
X & 5.91539952569404 & 1.891514 & 3.1273 & 0.003124 & 0.001562 \tabularnewline
M1 & 536.156276110696 & 363.057194 & 1.4768 & 0.146856 & 0.073428 \tabularnewline
M2 & -514.54657119362 & 365.462253 & -1.4079 & 0.166177 & 0.083089 \tabularnewline
M3 & -347.743530055286 & 364.93557 & -0.9529 & 0.345851 & 0.172926 \tabularnewline
M4 & -211.157409011813 & 364.50178 & -0.5793 & 0.565338 & 0.282669 \tabularnewline
M5 & 146.687268996102 & 365.370608 & 0.4015 & 0.690014 & 0.345007 \tabularnewline
M6 & -452.457215177790 & 367.741275 & -1.2304 & 0.225097 & 0.112548 \tabularnewline
M7 & 37.7197824506796 & 369.415748 & 0.1021 & 0.919136 & 0.459568 \tabularnewline
M8 & -119.227742861547 & 374.008152 & -0.3188 & 0.751399 & 0.375699 \tabularnewline
M9 & -145.841621818074 & 373.015589 & -0.391 & 0.697699 & 0.348849 \tabularnewline
M10 & 350.088401897224 & 382.421341 & 0.9155 & 0.364944 & 0.182472 \tabularnewline
M11 & -254.027094545481 & 382.964755 & -0.6633 & 0.510588 & 0.255294 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69951&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]1424.56447367454[/C][C]1124.391372[/C][C]1.267[/C][C]0.211833[/C][C]0.105917[/C][/ROW]
[ROW][C]X[/C][C]5.91539952569404[/C][C]1.891514[/C][C]3.1273[/C][C]0.003124[/C][C]0.001562[/C][/ROW]
[ROW][C]M1[/C][C]536.156276110696[/C][C]363.057194[/C][C]1.4768[/C][C]0.146856[/C][C]0.073428[/C][/ROW]
[ROW][C]M2[/C][C]-514.54657119362[/C][C]365.462253[/C][C]-1.4079[/C][C]0.166177[/C][C]0.083089[/C][/ROW]
[ROW][C]M3[/C][C]-347.743530055286[/C][C]364.93557[/C][C]-0.9529[/C][C]0.345851[/C][C]0.172926[/C][/ROW]
[ROW][C]M4[/C][C]-211.157409011813[/C][C]364.50178[/C][C]-0.5793[/C][C]0.565338[/C][C]0.282669[/C][/ROW]
[ROW][C]M5[/C][C]146.687268996102[/C][C]365.370608[/C][C]0.4015[/C][C]0.690014[/C][C]0.345007[/C][/ROW]
[ROW][C]M6[/C][C]-452.457215177790[/C][C]367.741275[/C][C]-1.2304[/C][C]0.225097[/C][C]0.112548[/C][/ROW]
[ROW][C]M7[/C][C]37.7197824506796[/C][C]369.415748[/C][C]0.1021[/C][C]0.919136[/C][C]0.459568[/C][/ROW]
[ROW][C]M8[/C][C]-119.227742861547[/C][C]374.008152[/C][C]-0.3188[/C][C]0.751399[/C][C]0.375699[/C][/ROW]
[ROW][C]M9[/C][C]-145.841621818074[/C][C]373.015589[/C][C]-0.391[/C][C]0.697699[/C][C]0.348849[/C][/ROW]
[ROW][C]M10[/C][C]350.088401897224[/C][C]382.421341[/C][C]0.9155[/C][C]0.364944[/C][C]0.182472[/C][/ROW]
[ROW][C]M11[/C][C]-254.027094545481[/C][C]382.964755[/C][C]-0.6633[/C][C]0.510588[/C][C]0.255294[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69951&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69951&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)1424.564473674541124.3913721.2670.2118330.105917
X5.915399525694041.8915143.12730.0031240.001562
M1536.156276110696363.0571941.47680.1468560.073428
M2-514.54657119362365.462253-1.40790.1661770.083089
M3-347.743530055286364.93557-0.95290.3458510.172926
M4-211.157409011813364.50178-0.57930.5653380.282669
M5146.687268996102365.3706080.40150.6900140.345007
M6-452.457215177790367.741275-1.23040.2250970.112548
M737.7197824506796369.4157480.10210.9191360.459568
M8-119.227742861547374.008152-0.31880.7513990.375699
M9-145.841621818074373.015589-0.3910.6976990.348849
M10350.088401897224382.4213410.91550.3649440.182472
M11-254.027094545481382.964755-0.66330.5105880.255294







Multiple Linear Regression - Regression Statistics
Multiple R0.657806268854861
R-squared0.432709087344753
Adjusted R-squared0.277993383893322
F-TEST (value)2.79680134396048
F-TEST (DF numerator)12
F-TEST (DF denominator)44
p-value0.0063779180725756
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation540.71958819666
Sum Squared Residuals12864617.6146209

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.657806268854861 \tabularnewline
R-squared & 0.432709087344753 \tabularnewline
Adjusted R-squared & 0.277993383893322 \tabularnewline
F-TEST (value) & 2.79680134396048 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 0.0063779180725756 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 540.71958819666 \tabularnewline
Sum Squared Residuals & 12864617.6146209 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69951&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.657806268854861[/C][/ROW]
[ROW][C]R-squared[/C][C]0.432709087344753[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.277993383893322[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.79680134396048[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]0.0063779180725756[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]540.71958819666[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]12864617.6146209[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69951&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69951&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.657806268854861
R-squared0.432709087344753
Adjusted R-squared0.277993383893322
F-TEST (value)2.79680134396048
F-TEST (DF numerator)12
F-TEST (DF denominator)44
p-value0.0063779180725756
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation540.71958819666
Sum Squared Residuals12864617.6146209







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
155605575.02985998427-15.0298599842679
239224423.76522074318-501.765220743178
337594596.48366140721-837.483661407206
441384709.4081843479-571.408184347904
546345055.42206330443-421.42206330443
639964426.70058150207-430.700581502068
743084851.8081843479-543.808184347903
841434659.36826188151-516.368261881512
944294644.58518197637-215.585181976373
1052195448.11598102776-229.115981027762
1149294891.3236807906137.6763192093915
1257555139.43537581040615.564624189605
1355925580.9452595099911.0547404900125
1441634429.68062026887-266.680620268872
1549624608.31446045859353.685539541405
1652084721.23898339929486.761016600709
1747555061.33746283012-306.337462830124
1844914403.0389833992987.9610166007085
1957324857.7235838736874.276416126403
2057314694.860659035681036.13934096432
2150404668.24678007915371.753219920850
2261025442.20058150207659.799418497933
2349044873.5774822135330.4225177864735
2453695092.11217960484276.887820395157
2555785438.97567089333139.024329106669
2646194258.13403402374360.865965976255
2747314371.69847943083359.301520569167
2850114531.94619857708479.053801422918
2952994818.80608227667480.193917723331
3041464119.0998061659826.9001938340225
3146254573.7844066402851.2155933597165
3247364328.10588844265407.894111557354
3342194230.50721517779-11.5072151777908
3451165057.6996123319558.3003876680452
3542054512.73811114619-307.73811114619
3641214630.71101660071-509.711016600708
3751035078.13629982624.8637001740056
3843003926.87166058488373.128339415121
3945784117.33629982599460.663700174010
4038094271.66861944654-462.668619446545
4155264576.27470172321949.725298276787
4242473888.39922466391358.60077533609
4338304360.8300237153-530.830023715298
4443944079.6591083635314.340891636503
4548264106.28382513822719.716174861784
4644094897.98382513822-488.983825138216
4745694329.36072584967239.639274150325
4841064488.74142798405-382.741427984052
4947944953.91290978642-159.912909786420
5039143879.5484643793334.4515356206733
5137934129.16709887738-336.167098877378
5244054336.7380142291868.261985770821
5340224724.15968986556-702.159689865564
5441004142.76140426875-42.7614042687536
5547884638.85380142292149.146198577082
5631634405.00608227667-1242.00608227667
5735854449.37699762847-864.37699762847

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5560 & 5575.02985998427 & -15.0298599842679 \tabularnewline
2 & 3922 & 4423.76522074318 & -501.765220743178 \tabularnewline
3 & 3759 & 4596.48366140721 & -837.483661407206 \tabularnewline
4 & 4138 & 4709.4081843479 & -571.408184347904 \tabularnewline
5 & 4634 & 5055.42206330443 & -421.42206330443 \tabularnewline
6 & 3996 & 4426.70058150207 & -430.700581502068 \tabularnewline
7 & 4308 & 4851.8081843479 & -543.808184347903 \tabularnewline
8 & 4143 & 4659.36826188151 & -516.368261881512 \tabularnewline
9 & 4429 & 4644.58518197637 & -215.585181976373 \tabularnewline
10 & 5219 & 5448.11598102776 & -229.115981027762 \tabularnewline
11 & 4929 & 4891.32368079061 & 37.6763192093915 \tabularnewline
12 & 5755 & 5139.43537581040 & 615.564624189605 \tabularnewline
13 & 5592 & 5580.94525950999 & 11.0547404900125 \tabularnewline
14 & 4163 & 4429.68062026887 & -266.680620268872 \tabularnewline
15 & 4962 & 4608.31446045859 & 353.685539541405 \tabularnewline
16 & 5208 & 4721.23898339929 & 486.761016600709 \tabularnewline
17 & 4755 & 5061.33746283012 & -306.337462830124 \tabularnewline
18 & 4491 & 4403.03898339929 & 87.9610166007085 \tabularnewline
19 & 5732 & 4857.7235838736 & 874.276416126403 \tabularnewline
20 & 5731 & 4694.86065903568 & 1036.13934096432 \tabularnewline
21 & 5040 & 4668.24678007915 & 371.753219920850 \tabularnewline
22 & 6102 & 5442.20058150207 & 659.799418497933 \tabularnewline
23 & 4904 & 4873.57748221353 & 30.4225177864735 \tabularnewline
24 & 5369 & 5092.11217960484 & 276.887820395157 \tabularnewline
25 & 5578 & 5438.97567089333 & 139.024329106669 \tabularnewline
26 & 4619 & 4258.13403402374 & 360.865965976255 \tabularnewline
27 & 4731 & 4371.69847943083 & 359.301520569167 \tabularnewline
28 & 5011 & 4531.94619857708 & 479.053801422918 \tabularnewline
29 & 5299 & 4818.80608227667 & 480.193917723331 \tabularnewline
30 & 4146 & 4119.09980616598 & 26.9001938340225 \tabularnewline
31 & 4625 & 4573.78440664028 & 51.2155933597165 \tabularnewline
32 & 4736 & 4328.10588844265 & 407.894111557354 \tabularnewline
33 & 4219 & 4230.50721517779 & -11.5072151777908 \tabularnewline
34 & 5116 & 5057.69961233195 & 58.3003876680452 \tabularnewline
35 & 4205 & 4512.73811114619 & -307.73811114619 \tabularnewline
36 & 4121 & 4630.71101660071 & -509.711016600708 \tabularnewline
37 & 5103 & 5078.136299826 & 24.8637001740056 \tabularnewline
38 & 4300 & 3926.87166058488 & 373.128339415121 \tabularnewline
39 & 4578 & 4117.33629982599 & 460.663700174010 \tabularnewline
40 & 3809 & 4271.66861944654 & -462.668619446545 \tabularnewline
41 & 5526 & 4576.27470172321 & 949.725298276787 \tabularnewline
42 & 4247 & 3888.39922466391 & 358.60077533609 \tabularnewline
43 & 3830 & 4360.8300237153 & -530.830023715298 \tabularnewline
44 & 4394 & 4079.6591083635 & 314.340891636503 \tabularnewline
45 & 4826 & 4106.28382513822 & 719.716174861784 \tabularnewline
46 & 4409 & 4897.98382513822 & -488.983825138216 \tabularnewline
47 & 4569 & 4329.36072584967 & 239.639274150325 \tabularnewline
48 & 4106 & 4488.74142798405 & -382.741427984052 \tabularnewline
49 & 4794 & 4953.91290978642 & -159.912909786420 \tabularnewline
50 & 3914 & 3879.54846437933 & 34.4515356206733 \tabularnewline
51 & 3793 & 4129.16709887738 & -336.167098877378 \tabularnewline
52 & 4405 & 4336.73801422918 & 68.261985770821 \tabularnewline
53 & 4022 & 4724.15968986556 & -702.159689865564 \tabularnewline
54 & 4100 & 4142.76140426875 & -42.7614042687536 \tabularnewline
55 & 4788 & 4638.85380142292 & 149.146198577082 \tabularnewline
56 & 3163 & 4405.00608227667 & -1242.00608227667 \tabularnewline
57 & 3585 & 4449.37699762847 & -864.37699762847 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69951&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]5560[/C][C]5575.02985998427[/C][C]-15.0298599842679[/C][/ROW]
[ROW][C]2[/C][C]3922[/C][C]4423.76522074318[/C][C]-501.765220743178[/C][/ROW]
[ROW][C]3[/C][C]3759[/C][C]4596.48366140721[/C][C]-837.483661407206[/C][/ROW]
[ROW][C]4[/C][C]4138[/C][C]4709.4081843479[/C][C]-571.408184347904[/C][/ROW]
[ROW][C]5[/C][C]4634[/C][C]5055.42206330443[/C][C]-421.42206330443[/C][/ROW]
[ROW][C]6[/C][C]3996[/C][C]4426.70058150207[/C][C]-430.700581502068[/C][/ROW]
[ROW][C]7[/C][C]4308[/C][C]4851.8081843479[/C][C]-543.808184347903[/C][/ROW]
[ROW][C]8[/C][C]4143[/C][C]4659.36826188151[/C][C]-516.368261881512[/C][/ROW]
[ROW][C]9[/C][C]4429[/C][C]4644.58518197637[/C][C]-215.585181976373[/C][/ROW]
[ROW][C]10[/C][C]5219[/C][C]5448.11598102776[/C][C]-229.115981027762[/C][/ROW]
[ROW][C]11[/C][C]4929[/C][C]4891.32368079061[/C][C]37.6763192093915[/C][/ROW]
[ROW][C]12[/C][C]5755[/C][C]5139.43537581040[/C][C]615.564624189605[/C][/ROW]
[ROW][C]13[/C][C]5592[/C][C]5580.94525950999[/C][C]11.0547404900125[/C][/ROW]
[ROW][C]14[/C][C]4163[/C][C]4429.68062026887[/C][C]-266.680620268872[/C][/ROW]
[ROW][C]15[/C][C]4962[/C][C]4608.31446045859[/C][C]353.685539541405[/C][/ROW]
[ROW][C]16[/C][C]5208[/C][C]4721.23898339929[/C][C]486.761016600709[/C][/ROW]
[ROW][C]17[/C][C]4755[/C][C]5061.33746283012[/C][C]-306.337462830124[/C][/ROW]
[ROW][C]18[/C][C]4491[/C][C]4403.03898339929[/C][C]87.9610166007085[/C][/ROW]
[ROW][C]19[/C][C]5732[/C][C]4857.7235838736[/C][C]874.276416126403[/C][/ROW]
[ROW][C]20[/C][C]5731[/C][C]4694.86065903568[/C][C]1036.13934096432[/C][/ROW]
[ROW][C]21[/C][C]5040[/C][C]4668.24678007915[/C][C]371.753219920850[/C][/ROW]
[ROW][C]22[/C][C]6102[/C][C]5442.20058150207[/C][C]659.799418497933[/C][/ROW]
[ROW][C]23[/C][C]4904[/C][C]4873.57748221353[/C][C]30.4225177864735[/C][/ROW]
[ROW][C]24[/C][C]5369[/C][C]5092.11217960484[/C][C]276.887820395157[/C][/ROW]
[ROW][C]25[/C][C]5578[/C][C]5438.97567089333[/C][C]139.024329106669[/C][/ROW]
[ROW][C]26[/C][C]4619[/C][C]4258.13403402374[/C][C]360.865965976255[/C][/ROW]
[ROW][C]27[/C][C]4731[/C][C]4371.69847943083[/C][C]359.301520569167[/C][/ROW]
[ROW][C]28[/C][C]5011[/C][C]4531.94619857708[/C][C]479.053801422918[/C][/ROW]
[ROW][C]29[/C][C]5299[/C][C]4818.80608227667[/C][C]480.193917723331[/C][/ROW]
[ROW][C]30[/C][C]4146[/C][C]4119.09980616598[/C][C]26.9001938340225[/C][/ROW]
[ROW][C]31[/C][C]4625[/C][C]4573.78440664028[/C][C]51.2155933597165[/C][/ROW]
[ROW][C]32[/C][C]4736[/C][C]4328.10588844265[/C][C]407.894111557354[/C][/ROW]
[ROW][C]33[/C][C]4219[/C][C]4230.50721517779[/C][C]-11.5072151777908[/C][/ROW]
[ROW][C]34[/C][C]5116[/C][C]5057.69961233195[/C][C]58.3003876680452[/C][/ROW]
[ROW][C]35[/C][C]4205[/C][C]4512.73811114619[/C][C]-307.73811114619[/C][/ROW]
[ROW][C]36[/C][C]4121[/C][C]4630.71101660071[/C][C]-509.711016600708[/C][/ROW]
[ROW][C]37[/C][C]5103[/C][C]5078.136299826[/C][C]24.8637001740056[/C][/ROW]
[ROW][C]38[/C][C]4300[/C][C]3926.87166058488[/C][C]373.128339415121[/C][/ROW]
[ROW][C]39[/C][C]4578[/C][C]4117.33629982599[/C][C]460.663700174010[/C][/ROW]
[ROW][C]40[/C][C]3809[/C][C]4271.66861944654[/C][C]-462.668619446545[/C][/ROW]
[ROW][C]41[/C][C]5526[/C][C]4576.27470172321[/C][C]949.725298276787[/C][/ROW]
[ROW][C]42[/C][C]4247[/C][C]3888.39922466391[/C][C]358.60077533609[/C][/ROW]
[ROW][C]43[/C][C]3830[/C][C]4360.8300237153[/C][C]-530.830023715298[/C][/ROW]
[ROW][C]44[/C][C]4394[/C][C]4079.6591083635[/C][C]314.340891636503[/C][/ROW]
[ROW][C]45[/C][C]4826[/C][C]4106.28382513822[/C][C]719.716174861784[/C][/ROW]
[ROW][C]46[/C][C]4409[/C][C]4897.98382513822[/C][C]-488.983825138216[/C][/ROW]
[ROW][C]47[/C][C]4569[/C][C]4329.36072584967[/C][C]239.639274150325[/C][/ROW]
[ROW][C]48[/C][C]4106[/C][C]4488.74142798405[/C][C]-382.741427984052[/C][/ROW]
[ROW][C]49[/C][C]4794[/C][C]4953.91290978642[/C][C]-159.912909786420[/C][/ROW]
[ROW][C]50[/C][C]3914[/C][C]3879.54846437933[/C][C]34.4515356206733[/C][/ROW]
[ROW][C]51[/C][C]3793[/C][C]4129.16709887738[/C][C]-336.167098877378[/C][/ROW]
[ROW][C]52[/C][C]4405[/C][C]4336.73801422918[/C][C]68.261985770821[/C][/ROW]
[ROW][C]53[/C][C]4022[/C][C]4724.15968986556[/C][C]-702.159689865564[/C][/ROW]
[ROW][C]54[/C][C]4100[/C][C]4142.76140426875[/C][C]-42.7614042687536[/C][/ROW]
[ROW][C]55[/C][C]4788[/C][C]4638.85380142292[/C][C]149.146198577082[/C][/ROW]
[ROW][C]56[/C][C]3163[/C][C]4405.00608227667[/C][C]-1242.00608227667[/C][/ROW]
[ROW][C]57[/C][C]3585[/C][C]4449.37699762847[/C][C]-864.37699762847[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69951&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=69951&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
155605575.02985998427-15.0298599842679
239224423.76522074318-501.765220743178
337594596.48366140721-837.483661407206
441384709.4081843479-571.408184347904
546345055.42206330443-421.42206330443
639964426.70058150207-430.700581502068
743084851.8081843479-543.808184347903
841434659.36826188151-516.368261881512
944294644.58518197637-215.585181976373
1052195448.11598102776-229.115981027762
1149294891.3236807906137.6763192093915
1257555139.43537581040615.564624189605
1355925580.9452595099911.0547404900125
1441634429.68062026887-266.680620268872
1549624608.31446045859353.685539541405
1652084721.23898339929486.761016600709
1747555061.33746283012-306.337462830124
1844914403.0389833992987.9610166007085
1957324857.7235838736874.276416126403
2057314694.860659035681036.13934096432
2150404668.24678007915371.753219920850
2261025442.20058150207659.799418497933
2349044873.5774822135330.4225177864735
2453695092.11217960484276.887820395157
2555785438.97567089333139.024329106669
2646194258.13403402374360.865965976255
2747314371.69847943083359.301520569167
2850114531.94619857708479.053801422918
2952994818.80608227667480.193917723331
3041464119.0998061659826.9001938340225
3146254573.7844066402851.2155933597165
3247364328.10588844265407.894111557354
3342194230.50721517779-11.5072151777908
3451165057.6996123319558.3003876680452
3542054512.73811114619-307.73811114619
3641214630.71101660071-509.711016600708
3751035078.13629982624.8637001740056
3843003926.87166058488373.128339415121
3945784117.33629982599460.663700174010
4038094271.66861944654-462.668619446545
4155264576.27470172321949.725298276787
4242473888.39922466391358.60077533609
4338304360.8300237153-530.830023715298
4443944079.6591083635314.340891636503
4548264106.28382513822719.716174861784
4644094897.98382513822-488.983825138216
4745694329.36072584967239.639274150325
4841064488.74142798405-382.741427984052
4947944953.91290978642-159.912909786420
5039143879.5484643793334.4515356206733
5137934129.16709887738-336.167098877378
5244054336.7380142291868.261985770821
5340224724.15968986556-702.159689865564
5441004142.76140426875-42.7614042687536
5547884638.85380142292149.146198577082
5631634405.00608227667-1242.00608227667
5735854449.37699762847-864.37699762847







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09052515337771330.1810503067554270.909474846622287
170.05652959137701620.1130591827540320.943470408622984
180.4640940095816450.9281880191632910.535905990418355
190.6430425990148430.7139148019703150.356957400985157
200.6091416152908430.7817167694183140.390858384709157
210.5015805860722510.9968388278554980.498419413927749
220.5868917437531830.8262165124936340.413108256246817
230.5076722943661120.9846554112677750.492327705633888
240.5196435084166080.9607129831667850.480356491583392
250.616279247950430.767441504099140.38372075204957
260.6006931835768810.7986136328462370.399306816423119
270.5320463424819810.9359073150360380.467953657518019
280.5347623577132580.9304752845734840.465237642286742
290.4904061163235150.980812232647030.509593883676485
300.4111241907399810.8222483814799620.588875809260019
310.3633661637806960.7267323275613930.636633836219304
320.412096639681940.824193279363880.58790336031806
330.334689480588760.669378961177520.66531051941124
340.3433160952270040.6866321904540080.656683904772996
350.2663729379447380.5327458758894760.733627062055262
360.2472323386713530.4944646773427060.752767661328647
370.1851239062289690.3702478124579380.814876093771031
380.1386843047450950.2773686094901900.861315695254905
390.1156975457509730.2313950915019470.884302454249027
400.096526385008180.193052770016360.90347361499182
410.1629022873344780.3258045746689570.837097712665521

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0905251533777133 & 0.181050306755427 & 0.909474846622287 \tabularnewline
17 & 0.0565295913770162 & 0.113059182754032 & 0.943470408622984 \tabularnewline
18 & 0.464094009581645 & 0.928188019163291 & 0.535905990418355 \tabularnewline
19 & 0.643042599014843 & 0.713914801970315 & 0.356957400985157 \tabularnewline
20 & 0.609141615290843 & 0.781716769418314 & 0.390858384709157 \tabularnewline
21 & 0.501580586072251 & 0.996838827855498 & 0.498419413927749 \tabularnewline
22 & 0.586891743753183 & 0.826216512493634 & 0.413108256246817 \tabularnewline
23 & 0.507672294366112 & 0.984655411267775 & 0.492327705633888 \tabularnewline
24 & 0.519643508416608 & 0.960712983166785 & 0.480356491583392 \tabularnewline
25 & 0.61627924795043 & 0.76744150409914 & 0.38372075204957 \tabularnewline
26 & 0.600693183576881 & 0.798613632846237 & 0.399306816423119 \tabularnewline
27 & 0.532046342481981 & 0.935907315036038 & 0.467953657518019 \tabularnewline
28 & 0.534762357713258 & 0.930475284573484 & 0.465237642286742 \tabularnewline
29 & 0.490406116323515 & 0.98081223264703 & 0.509593883676485 \tabularnewline
30 & 0.411124190739981 & 0.822248381479962 & 0.588875809260019 \tabularnewline
31 & 0.363366163780696 & 0.726732327561393 & 0.636633836219304 \tabularnewline
32 & 0.41209663968194 & 0.82419327936388 & 0.58790336031806 \tabularnewline
33 & 0.33468948058876 & 0.66937896117752 & 0.66531051941124 \tabularnewline
34 & 0.343316095227004 & 0.686632190454008 & 0.656683904772996 \tabularnewline
35 & 0.266372937944738 & 0.532745875889476 & 0.733627062055262 \tabularnewline
36 & 0.247232338671353 & 0.494464677342706 & 0.752767661328647 \tabularnewline
37 & 0.185123906228969 & 0.370247812457938 & 0.814876093771031 \tabularnewline
38 & 0.138684304745095 & 0.277368609490190 & 0.861315695254905 \tabularnewline
39 & 0.115697545750973 & 0.231395091501947 & 0.884302454249027 \tabularnewline
40 & 0.09652638500818 & 0.19305277001636 & 0.90347361499182 \tabularnewline
41 & 0.162902287334478 & 0.325804574668957 & 0.837097712665521 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=69951&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0905251533777133[/C][C]0.181050306755427[/C][C]0.909474846622287[/C][/ROW]
[ROW][C]17[/C][C]0.0565295913770162[/C][C]0.113059182754032[/C][C]0.943470408622984[/C][/ROW]
[ROW][C]18[/C][C]0.464094009581645[/C][C]0.928188019163291[/C][C]0.535905990418355[/C][/ROW]
[ROW][C]19[/C][C]0.643042599014843[/C][C]0.713914801970315[/C][C]0.356957400985157[/C][/ROW]
[ROW][C]20[/C][C]0.609141615290843[/C][C]0.781716769418314[/C][C]0.390858384709157[/C][/ROW]
[ROW][C]21[/C][C]0.501580586072251[/C][C]0.996838827855498[/C][C]0.498419413927749[/C][/ROW]
[ROW][C]22[/C][C]0.586891743753183[/C][C]0.826216512493634[/C][C]0.413108256246817[/C][/ROW]
[ROW][C]23[/C][C]0.507672294366112[/C][C]0.984655411267775[/C][C]0.492327705633888[/C][/ROW]
[ROW][C]24[/C][C]0.519643508416608[/C][C]0.960712983166785[/C][C]0.480356491583392[/C][/ROW]
[ROW][C]25[/C][C]0.61627924795043[/C][C]0.76744150409914[/C][C]0.38372075204957[/C][/ROW]
[ROW][C]26[/C][C]0.600693183576881[/C][C]0.798613632846237[/C][C]0.399306816423119[/C][/ROW]
[ROW][C]27[/C][C]0.532046342481981[/C][C]0.935907315036038[/C][C]0.467953657518019[/C][/ROW]
[ROW][C]28[/C][C]0.534762357713258[/C][C]0.930475284573484[/C][C]0.465237642286742[/C][/ROW]
[ROW][C]29[/C][C]0.490406116323515[/C][C]0.98081223264703[/C][C]0.509593883676485[/C][/ROW]
[ROW][C]30[/C][C]0.411124190739981[/C][C]0.822248381479962[/C][C]0.588875809260019[/C][/ROW]
[ROW][C]31[/C][C]0.363366163780696[/C][C]0.726732327561393[/C][C]0.636633836219304[/C][/ROW]
[ROW][C]32[/C][C]0.41209663968194[/C][C]0.82419327936388[/C][C]0.58790336031806[/C][/ROW]
[ROW][C]33[/C][C]0.33468948058876[/C][C]0.66937896117752[/C][C]0.66531051941124[/C][/ROW]
[ROW][C]34[/C][C]0.343316095227004[/C][C]0.686632190454008[/C][C]0.656683904772996[/C][/ROW]
[ROW][C]35[/C][C]0.266372937944738[/C][C]0.532745875889476[/C][C]0.733627062055262[/C][/ROW]
[ROW][C]36[/C][C]0.247232338671353[/C][C]0.494464677342706[/C][C]0.752767661328647[/C][/ROW]
[ROW][C]37[/C][C]0.185123906228969[/C][C]0.370247812457938[/C][C]0.814876093771031[/C][/ROW]
[ROW][C]38[/C][C]0.138684304745095[/C][C]0.277368609490190[/C][C]0.861315695254905[/C][/ROW]
[ROW][C]39[/C][C]0.115697545750973[/C][C]0.231395091501947[/C][C]0.884302454249027[/C][/ROW]
[ROW][C]40[/C][C]0.09652638500818[/C][C]0.19305277001636[/C][C]0.90347361499182[/C][/ROW]
[ROW][C]41[/C][C]0.162902287334478[/C][C]0.325804574668957[/C][C]0.837097712665521[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=69951&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09052515337771330.1810503067554270.909474846622287
170.05652959137701620.1130591827540320.943470408622984
180.4640940095816450.9281880191632910.535905990418355
190.6430425990148430.7139148019703150.356957400985157
200.6091416152908430.7817167694183140.390858384709157
210.5015805860722510.9968388278554980.498419413927749
220.5868917437531830.8262165124936340.413108256246817
230.5076722943661120.9846554112677750.492327705633888
240.5196435084166080.9607129831667850.480356491583392
250.616279247950430.767441504099140.38372075204957
260.6006931835768810.7986136328462370.399306816423119
270.5320463424819810.9359073150360380.467953657518019
280.5347623577132580.9304752845734840.465237642286742
290.4904061163235150.980812232647030.509593883676485
300.4111241907399810.8222483814799620.588875809260019
310.3633661637806960.7267323275613930.636633836219304
320.412096639681940.824193279363880.58790336031806
330.334689480588760.669378961177520.66531051941124
340.3433160952270040.6866321904540080.656683904772996
350.2663729379447380.5327458758894760.733627062055262
360.2472323386713530.4944646773427060.752767661328647
370.1851239062289690.3702478124579380.814876093771031
380.1386843047450950.2773686094901900.861315695254905
390.1156975457509730.2313950915019470.884302454249027
400.096526385008180.193052770016360.90347361499182
410.1629022873344780.3258045746689570.837097712665521







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



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