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 computationMon, 23 Nov 2009 12:51:18 -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/Nov/23/t1259005948hs7kd7xyzpaw1c9.htm/, Retrieved Fri, 03 May 2024 08:52:52 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58888, Retrieved Fri, 03 May 2024 08:52:52 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact116
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2009-11-23 19:51:18] [09bbdaa13608b41d3e388e84e1f7dd72] [Current]
Feedback Forum

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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] = + 2496.36706778836 + 4.58362496986466X[t] + 435.089337369235M1[t] -787.43485719658M2[t] -641.815711028509M3[t] -444.1745904089M4[t] -32.8815449881847M5[t] -605.788499567469M6[t] -148.483978610345M7[t] -374.062732659247M8[t] -360.706286901016M9[t] + 217.334833718593M10[t] -144.841820547284M11[t] -7.70522088479975t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  2496.36706778836 +  4.58362496986466X[t] +  435.089337369235M1[t] -787.43485719658M2[t] -641.815711028509M3[t] -444.1745904089M4[t] -32.8815449881847M5[t] -605.788499567469M6[t] -148.483978610345M7[t] -374.062732659247M8[t] -360.706286901016M9[t] +  217.334833718593M10[t] -144.841820547284M11[t] -7.70522088479975t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  2496.36706778836 +  4.58362496986466X[t] +  435.089337369235M1[t] -787.43485719658M2[t] -641.815711028509M3[t] -444.1745904089M4[t] -32.8815449881847M5[t] -605.788499567469M6[t] -148.483978610345M7[t] -374.062732659247M8[t] -360.706286901016M9[t] +  217.334833718593M10[t] -144.841820547284M11[t] -7.70522088479975t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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] = + 2496.36706778836 + 4.58362496986466X[t] + 435.089337369235M1[t] -787.43485719658M2[t] -641.815711028509M3[t] -444.1745904089M4[t] -32.8815449881847M5[t] -605.788499567469M6[t] -148.483978610345M7[t] -374.062732659247M8[t] -360.706286901016M9[t] + 217.334833718593M10[t] -144.841820547284M11[t] -7.70522088479975t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2496.367067788361889.4622051.32120.1928290.096415
X4.583624969864663.164461.44850.1541250.077062
M1435.089337369235332.0436351.31030.1964490.098225
M2-787.43485719658368.108342-2.13910.0376490.018825
M3-641.815711028509380.55418-1.68650.0983220.049161
M4-444.1745904089371.634999-1.19520.2380090.119004
M5-32.8815449881847358.190362-0.09180.9272480.463624
M6-605.788499567469349.678934-1.73240.0897580.044879
M7-148.483978610345351.348796-0.42260.6745060.337253
M8-374.062732659247353.407878-1.05840.2952620.147631
M9-360.706286901016351.751102-1.02550.3103960.155198
M10217.334833718593348.3214610.62390.5356780.267839
M11-144.841820547284347.195312-0.41720.6784490.339224
t-7.705220884799756.74511-1.14230.2590980.129549

\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) & 2496.36706778836 & 1889.462205 & 1.3212 & 0.192829 & 0.096415 \tabularnewline
X & 4.58362496986466 & 3.16446 & 1.4485 & 0.154125 & 0.077062 \tabularnewline
M1 & 435.089337369235 & 332.043635 & 1.3103 & 0.196449 & 0.098225 \tabularnewline
M2 & -787.43485719658 & 368.108342 & -2.1391 & 0.037649 & 0.018825 \tabularnewline
M3 & -641.815711028509 & 380.55418 & -1.6865 & 0.098322 & 0.049161 \tabularnewline
M4 & -444.1745904089 & 371.634999 & -1.1952 & 0.238009 & 0.119004 \tabularnewline
M5 & -32.8815449881847 & 358.190362 & -0.0918 & 0.927248 & 0.463624 \tabularnewline
M6 & -605.788499567469 & 349.678934 & -1.7324 & 0.089758 & 0.044879 \tabularnewline
M7 & -148.483978610345 & 351.348796 & -0.4226 & 0.674506 & 0.337253 \tabularnewline
M8 & -374.062732659247 & 353.407878 & -1.0584 & 0.295262 & 0.147631 \tabularnewline
M9 & -360.706286901016 & 351.751102 & -1.0255 & 0.310396 & 0.155198 \tabularnewline
M10 & 217.334833718593 & 348.321461 & 0.6239 & 0.535678 & 0.267839 \tabularnewline
M11 & -144.841820547284 & 347.195312 & -0.4172 & 0.678449 & 0.339224 \tabularnewline
t & -7.70522088479975 & 6.74511 & -1.1423 & 0.259098 & 0.129549 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&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]2496.36706778836[/C][C]1889.462205[/C][C]1.3212[/C][C]0.192829[/C][C]0.096415[/C][/ROW]
[ROW][C]X[/C][C]4.58362496986466[/C][C]3.16446[/C][C]1.4485[/C][C]0.154125[/C][C]0.077062[/C][/ROW]
[ROW][C]M1[/C][C]435.089337369235[/C][C]332.043635[/C][C]1.3103[/C][C]0.196449[/C][C]0.098225[/C][/ROW]
[ROW][C]M2[/C][C]-787.43485719658[/C][C]368.108342[/C][C]-2.1391[/C][C]0.037649[/C][C]0.018825[/C][/ROW]
[ROW][C]M3[/C][C]-641.815711028509[/C][C]380.55418[/C][C]-1.6865[/C][C]0.098322[/C][C]0.049161[/C][/ROW]
[ROW][C]M4[/C][C]-444.1745904089[/C][C]371.634999[/C][C]-1.1952[/C][C]0.238009[/C][C]0.119004[/C][/ROW]
[ROW][C]M5[/C][C]-32.8815449881847[/C][C]358.190362[/C][C]-0.0918[/C][C]0.927248[/C][C]0.463624[/C][/ROW]
[ROW][C]M6[/C][C]-605.788499567469[/C][C]349.678934[/C][C]-1.7324[/C][C]0.089758[/C][C]0.044879[/C][/ROW]
[ROW][C]M7[/C][C]-148.483978610345[/C][C]351.348796[/C][C]-0.4226[/C][C]0.674506[/C][C]0.337253[/C][/ROW]
[ROW][C]M8[/C][C]-374.062732659247[/C][C]353.407878[/C][C]-1.0584[/C][C]0.295262[/C][C]0.147631[/C][/ROW]
[ROW][C]M9[/C][C]-360.706286901016[/C][C]351.751102[/C][C]-1.0255[/C][C]0.310396[/C][C]0.155198[/C][/ROW]
[ROW][C]M10[/C][C]217.334833718593[/C][C]348.321461[/C][C]0.6239[/C][C]0.535678[/C][C]0.267839[/C][/ROW]
[ROW][C]M11[/C][C]-144.841820547284[/C][C]347.195312[/C][C]-0.4172[/C][C]0.678449[/C][C]0.339224[/C][/ROW]
[ROW][C]t[/C][C]-7.70522088479975[/C][C]6.74511[/C][C]-1.1423[/C][C]0.259098[/C][C]0.129549[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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)2496.367067788361889.4622051.32120.1928290.096415
X4.583624969864663.164461.44850.1541250.077062
M1435.089337369235332.0436351.31030.1964490.098225
M2-787.43485719658368.108342-2.13910.0376490.018825
M3-641.815711028509380.55418-1.68650.0983220.049161
M4-444.1745904089371.634999-1.19520.2380090.119004
M5-32.8815449881847358.190362-0.09180.9272480.463624
M6-605.788499567469349.678934-1.73240.0897580.044879
M7-148.483978610345351.348796-0.42260.6745060.337253
M8-374.062732659247353.407878-1.05840.2952620.147631
M9-360.706286901016351.751102-1.02550.3103960.155198
M10217.334833718593348.3214610.62390.5356780.267839
M11-144.841820547284347.195312-0.41720.6784490.339224
t-7.705220884799756.74511-1.14230.2590980.129549







Multiple Linear Regression - Regression Statistics
Multiple R0.645003110142727
R-squared0.41602901209379
Adjusted R-squared0.25450512182186
F-TEST (value)2.57565002547544
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00894250554016951
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation546.868450688732
Sum Squared Residuals14056059.8108586

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.645003110142727 \tabularnewline
R-squared & 0.41602901209379 \tabularnewline
Adjusted R-squared & 0.25450512182186 \tabularnewline
F-TEST (value) & 2.57565002547544 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00894250554016951 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 546.868450688732 \tabularnewline
Sum Squared Residuals & 14056059.8108586 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.645003110142727[/C][/ROW]
[ROW][C]R-squared[/C][C]0.41602901209379[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.25450512182186[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.57565002547544[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00894250554016951[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]546.868450688732[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]14056059.8108586[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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.645003110142727
R-squared0.41602901209379
Adjusted R-squared0.25450512182186
F-TEST (value)2.57565002547544
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0.00894250554016951
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation546.868450688732
Sum Squared Residuals14056059.8108586







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
155605412.65954290931147.340457090689
239224416.19500092179-494.195000921786
337594632.03055069276-873.030550692758
441384831.1337003673-693.133700367297
546345225.55427496348-591.554274963483
639964567.0204750117-571.020475011699
743085021.20340005389-713.203400053889
841434769.58492524073-626.584925240728
944294766.06890017443-337.06890017443
1052195313.48667505992-94.486675059916
1149294893.1849252407335.815074759272
1257555002.81977508402752.180224915976
1355925439.37114150819152.628858491811
1441634447.49022449054-284.490224490536
1549624622.07314953272339.926850467275
1652084807.42542429767400.574575702331
1747555137.67524931575-382.675249315750
1844914479.1414493639711.8585506360330
1957324937.90799937602794.09200062398
2057314686.289524562861044.71047543714
2150404678.1898745267361.810125473302
2261025202.68952456286899.31047543714
2349044805.30589959398.6941004070043
2453694937.85887428562431.141125714385
2555785365.24299077005212.757009229950
2646194350.44394890307268.556051096926
2747314515.85962400553215.140375994466
2850114678.29377392115332.706226078845
2952994935.2055994214363.794400578598
3041464253.75367462029-107.753674620295
3146254662.10034996384-37.1003499638377
3247364447.15087490959288.849125090406
3342194397.79860014465-178.798600144650
3451164890.21287539176225.787124608240
3542054492.82925042189-287.829250421895
3641214561.21147553641-440.211475536409
3751034933.59209238247169.407907617531
3843003960.04567524427339.954324755726
3945784143.79585022619434.204149773808
4038094228.30837565411-419.308375654114
4155264563.14182564206962.85817435794
4242473904.60802569028342.391974309724
4338304372.54182564206-542.54182564206
4443944153.00872561795240.991274382048
4548264117.4073257626708.592674237398
4644094618.98885094944-209.988850949441
4745694235.35610088917333.64389911083
4841064276.2365761845-170.236576184496
4947944744.8733173977149.1266826022865
5039143743.82515044033170.174849559669
5137933909.24082554279-116.240825542791
5244054025.83872575977379.161274240235
5340224374.42305065731-352.423050657305
5441003775.47637531376324.523624686237
5547884289.24642496419498.753575035807
5631634110.96594966887-947.965949668866
5735854139.53529939162-554.535299391621
5839034723.62207403602-820.622074036024
5941784358.32382385521-180.323823855212
6038634435.87329890946-572.873298909455
6141874918.26091503227-731.260915032267

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5560 & 5412.65954290931 & 147.340457090689 \tabularnewline
2 & 3922 & 4416.19500092179 & -494.195000921786 \tabularnewline
3 & 3759 & 4632.03055069276 & -873.030550692758 \tabularnewline
4 & 4138 & 4831.1337003673 & -693.133700367297 \tabularnewline
5 & 4634 & 5225.55427496348 & -591.554274963483 \tabularnewline
6 & 3996 & 4567.0204750117 & -571.020475011699 \tabularnewline
7 & 4308 & 5021.20340005389 & -713.203400053889 \tabularnewline
8 & 4143 & 4769.58492524073 & -626.584925240728 \tabularnewline
9 & 4429 & 4766.06890017443 & -337.06890017443 \tabularnewline
10 & 5219 & 5313.48667505992 & -94.486675059916 \tabularnewline
11 & 4929 & 4893.18492524073 & 35.815074759272 \tabularnewline
12 & 5755 & 5002.81977508402 & 752.180224915976 \tabularnewline
13 & 5592 & 5439.37114150819 & 152.628858491811 \tabularnewline
14 & 4163 & 4447.49022449054 & -284.490224490536 \tabularnewline
15 & 4962 & 4622.07314953272 & 339.926850467275 \tabularnewline
16 & 5208 & 4807.42542429767 & 400.574575702331 \tabularnewline
17 & 4755 & 5137.67524931575 & -382.675249315750 \tabularnewline
18 & 4491 & 4479.14144936397 & 11.8585506360330 \tabularnewline
19 & 5732 & 4937.90799937602 & 794.09200062398 \tabularnewline
20 & 5731 & 4686.28952456286 & 1044.71047543714 \tabularnewline
21 & 5040 & 4678.1898745267 & 361.810125473302 \tabularnewline
22 & 6102 & 5202.68952456286 & 899.31047543714 \tabularnewline
23 & 4904 & 4805.305899593 & 98.6941004070043 \tabularnewline
24 & 5369 & 4937.85887428562 & 431.141125714385 \tabularnewline
25 & 5578 & 5365.24299077005 & 212.757009229950 \tabularnewline
26 & 4619 & 4350.44394890307 & 268.556051096926 \tabularnewline
27 & 4731 & 4515.85962400553 & 215.140375994466 \tabularnewline
28 & 5011 & 4678.29377392115 & 332.706226078845 \tabularnewline
29 & 5299 & 4935.2055994214 & 363.794400578598 \tabularnewline
30 & 4146 & 4253.75367462029 & -107.753674620295 \tabularnewline
31 & 4625 & 4662.10034996384 & -37.1003499638377 \tabularnewline
32 & 4736 & 4447.15087490959 & 288.849125090406 \tabularnewline
33 & 4219 & 4397.79860014465 & -178.798600144650 \tabularnewline
34 & 5116 & 4890.21287539176 & 225.787124608240 \tabularnewline
35 & 4205 & 4492.82925042189 & -287.829250421895 \tabularnewline
36 & 4121 & 4561.21147553641 & -440.211475536409 \tabularnewline
37 & 5103 & 4933.59209238247 & 169.407907617531 \tabularnewline
38 & 4300 & 3960.04567524427 & 339.954324755726 \tabularnewline
39 & 4578 & 4143.79585022619 & 434.204149773808 \tabularnewline
40 & 3809 & 4228.30837565411 & -419.308375654114 \tabularnewline
41 & 5526 & 4563.14182564206 & 962.85817435794 \tabularnewline
42 & 4247 & 3904.60802569028 & 342.391974309724 \tabularnewline
43 & 3830 & 4372.54182564206 & -542.54182564206 \tabularnewline
44 & 4394 & 4153.00872561795 & 240.991274382048 \tabularnewline
45 & 4826 & 4117.4073257626 & 708.592674237398 \tabularnewline
46 & 4409 & 4618.98885094944 & -209.988850949441 \tabularnewline
47 & 4569 & 4235.35610088917 & 333.64389911083 \tabularnewline
48 & 4106 & 4276.2365761845 & -170.236576184496 \tabularnewline
49 & 4794 & 4744.87331739771 & 49.1266826022865 \tabularnewline
50 & 3914 & 3743.82515044033 & 170.174849559669 \tabularnewline
51 & 3793 & 3909.24082554279 & -116.240825542791 \tabularnewline
52 & 4405 & 4025.83872575977 & 379.161274240235 \tabularnewline
53 & 4022 & 4374.42305065731 & -352.423050657305 \tabularnewline
54 & 4100 & 3775.47637531376 & 324.523624686237 \tabularnewline
55 & 4788 & 4289.24642496419 & 498.753575035807 \tabularnewline
56 & 3163 & 4110.96594966887 & -947.965949668866 \tabularnewline
57 & 3585 & 4139.53529939162 & -554.535299391621 \tabularnewline
58 & 3903 & 4723.62207403602 & -820.622074036024 \tabularnewline
59 & 4178 & 4358.32382385521 & -180.323823855212 \tabularnewline
60 & 3863 & 4435.87329890946 & -572.873298909455 \tabularnewline
61 & 4187 & 4918.26091503227 & -731.260915032267 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&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]5412.65954290931[/C][C]147.340457090689[/C][/ROW]
[ROW][C]2[/C][C]3922[/C][C]4416.19500092179[/C][C]-494.195000921786[/C][/ROW]
[ROW][C]3[/C][C]3759[/C][C]4632.03055069276[/C][C]-873.030550692758[/C][/ROW]
[ROW][C]4[/C][C]4138[/C][C]4831.1337003673[/C][C]-693.133700367297[/C][/ROW]
[ROW][C]5[/C][C]4634[/C][C]5225.55427496348[/C][C]-591.554274963483[/C][/ROW]
[ROW][C]6[/C][C]3996[/C][C]4567.0204750117[/C][C]-571.020475011699[/C][/ROW]
[ROW][C]7[/C][C]4308[/C][C]5021.20340005389[/C][C]-713.203400053889[/C][/ROW]
[ROW][C]8[/C][C]4143[/C][C]4769.58492524073[/C][C]-626.584925240728[/C][/ROW]
[ROW][C]9[/C][C]4429[/C][C]4766.06890017443[/C][C]-337.06890017443[/C][/ROW]
[ROW][C]10[/C][C]5219[/C][C]5313.48667505992[/C][C]-94.486675059916[/C][/ROW]
[ROW][C]11[/C][C]4929[/C][C]4893.18492524073[/C][C]35.815074759272[/C][/ROW]
[ROW][C]12[/C][C]5755[/C][C]5002.81977508402[/C][C]752.180224915976[/C][/ROW]
[ROW][C]13[/C][C]5592[/C][C]5439.37114150819[/C][C]152.628858491811[/C][/ROW]
[ROW][C]14[/C][C]4163[/C][C]4447.49022449054[/C][C]-284.490224490536[/C][/ROW]
[ROW][C]15[/C][C]4962[/C][C]4622.07314953272[/C][C]339.926850467275[/C][/ROW]
[ROW][C]16[/C][C]5208[/C][C]4807.42542429767[/C][C]400.574575702331[/C][/ROW]
[ROW][C]17[/C][C]4755[/C][C]5137.67524931575[/C][C]-382.675249315750[/C][/ROW]
[ROW][C]18[/C][C]4491[/C][C]4479.14144936397[/C][C]11.8585506360330[/C][/ROW]
[ROW][C]19[/C][C]5732[/C][C]4937.90799937602[/C][C]794.09200062398[/C][/ROW]
[ROW][C]20[/C][C]5731[/C][C]4686.28952456286[/C][C]1044.71047543714[/C][/ROW]
[ROW][C]21[/C][C]5040[/C][C]4678.1898745267[/C][C]361.810125473302[/C][/ROW]
[ROW][C]22[/C][C]6102[/C][C]5202.68952456286[/C][C]899.31047543714[/C][/ROW]
[ROW][C]23[/C][C]4904[/C][C]4805.305899593[/C][C]98.6941004070043[/C][/ROW]
[ROW][C]24[/C][C]5369[/C][C]4937.85887428562[/C][C]431.141125714385[/C][/ROW]
[ROW][C]25[/C][C]5578[/C][C]5365.24299077005[/C][C]212.757009229950[/C][/ROW]
[ROW][C]26[/C][C]4619[/C][C]4350.44394890307[/C][C]268.556051096926[/C][/ROW]
[ROW][C]27[/C][C]4731[/C][C]4515.85962400553[/C][C]215.140375994466[/C][/ROW]
[ROW][C]28[/C][C]5011[/C][C]4678.29377392115[/C][C]332.706226078845[/C][/ROW]
[ROW][C]29[/C][C]5299[/C][C]4935.2055994214[/C][C]363.794400578598[/C][/ROW]
[ROW][C]30[/C][C]4146[/C][C]4253.75367462029[/C][C]-107.753674620295[/C][/ROW]
[ROW][C]31[/C][C]4625[/C][C]4662.10034996384[/C][C]-37.1003499638377[/C][/ROW]
[ROW][C]32[/C][C]4736[/C][C]4447.15087490959[/C][C]288.849125090406[/C][/ROW]
[ROW][C]33[/C][C]4219[/C][C]4397.79860014465[/C][C]-178.798600144650[/C][/ROW]
[ROW][C]34[/C][C]5116[/C][C]4890.21287539176[/C][C]225.787124608240[/C][/ROW]
[ROW][C]35[/C][C]4205[/C][C]4492.82925042189[/C][C]-287.829250421895[/C][/ROW]
[ROW][C]36[/C][C]4121[/C][C]4561.21147553641[/C][C]-440.211475536409[/C][/ROW]
[ROW][C]37[/C][C]5103[/C][C]4933.59209238247[/C][C]169.407907617531[/C][/ROW]
[ROW][C]38[/C][C]4300[/C][C]3960.04567524427[/C][C]339.954324755726[/C][/ROW]
[ROW][C]39[/C][C]4578[/C][C]4143.79585022619[/C][C]434.204149773808[/C][/ROW]
[ROW][C]40[/C][C]3809[/C][C]4228.30837565411[/C][C]-419.308375654114[/C][/ROW]
[ROW][C]41[/C][C]5526[/C][C]4563.14182564206[/C][C]962.85817435794[/C][/ROW]
[ROW][C]42[/C][C]4247[/C][C]3904.60802569028[/C][C]342.391974309724[/C][/ROW]
[ROW][C]43[/C][C]3830[/C][C]4372.54182564206[/C][C]-542.54182564206[/C][/ROW]
[ROW][C]44[/C][C]4394[/C][C]4153.00872561795[/C][C]240.991274382048[/C][/ROW]
[ROW][C]45[/C][C]4826[/C][C]4117.4073257626[/C][C]708.592674237398[/C][/ROW]
[ROW][C]46[/C][C]4409[/C][C]4618.98885094944[/C][C]-209.988850949441[/C][/ROW]
[ROW][C]47[/C][C]4569[/C][C]4235.35610088917[/C][C]333.64389911083[/C][/ROW]
[ROW][C]48[/C][C]4106[/C][C]4276.2365761845[/C][C]-170.236576184496[/C][/ROW]
[ROW][C]49[/C][C]4794[/C][C]4744.87331739771[/C][C]49.1266826022865[/C][/ROW]
[ROW][C]50[/C][C]3914[/C][C]3743.82515044033[/C][C]170.174849559669[/C][/ROW]
[ROW][C]51[/C][C]3793[/C][C]3909.24082554279[/C][C]-116.240825542791[/C][/ROW]
[ROW][C]52[/C][C]4405[/C][C]4025.83872575977[/C][C]379.161274240235[/C][/ROW]
[ROW][C]53[/C][C]4022[/C][C]4374.42305065731[/C][C]-352.423050657305[/C][/ROW]
[ROW][C]54[/C][C]4100[/C][C]3775.47637531376[/C][C]324.523624686237[/C][/ROW]
[ROW][C]55[/C][C]4788[/C][C]4289.24642496419[/C][C]498.753575035807[/C][/ROW]
[ROW][C]56[/C][C]3163[/C][C]4110.96594966887[/C][C]-947.965949668866[/C][/ROW]
[ROW][C]57[/C][C]3585[/C][C]4139.53529939162[/C][C]-554.535299391621[/C][/ROW]
[ROW][C]58[/C][C]3903[/C][C]4723.62207403602[/C][C]-820.622074036024[/C][/ROW]
[ROW][C]59[/C][C]4178[/C][C]4358.32382385521[/C][C]-180.323823855212[/C][/ROW]
[ROW][C]60[/C][C]3863[/C][C]4435.87329890946[/C][C]-572.873298909455[/C][/ROW]
[ROW][C]61[/C][C]4187[/C][C]4918.26091503227[/C][C]-731.260915032267[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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
155605412.65954290931147.340457090689
239224416.19500092179-494.195000921786
337594632.03055069276-873.030550692758
441384831.1337003673-693.133700367297
546345225.55427496348-591.554274963483
639964567.0204750117-571.020475011699
743085021.20340005389-713.203400053889
841434769.58492524073-626.584925240728
944294766.06890017443-337.06890017443
1052195313.48667505992-94.486675059916
1149294893.1849252407335.815074759272
1257555002.81977508402752.180224915976
1355925439.37114150819152.628858491811
1441634447.49022449054-284.490224490536
1549624622.07314953272339.926850467275
1652084807.42542429767400.574575702331
1747555137.67524931575-382.675249315750
1844914479.1414493639711.8585506360330
1957324937.90799937602794.09200062398
2057314686.289524562861044.71047543714
2150404678.1898745267361.810125473302
2261025202.68952456286899.31047543714
2349044805.30589959398.6941004070043
2453694937.85887428562431.141125714385
2555785365.24299077005212.757009229950
2646194350.44394890307268.556051096926
2747314515.85962400553215.140375994466
2850114678.29377392115332.706226078845
2952994935.2055994214363.794400578598
3041464253.75367462029-107.753674620295
3146254662.10034996384-37.1003499638377
3247364447.15087490959288.849125090406
3342194397.79860014465-178.798600144650
3451164890.21287539176225.787124608240
3542054492.82925042189-287.829250421895
3641214561.21147553641-440.211475536409
3751034933.59209238247169.407907617531
3843003960.04567524427339.954324755726
3945784143.79585022619434.204149773808
4038094228.30837565411-419.308375654114
4155264563.14182564206962.85817435794
4242473904.60802569028342.391974309724
4338304372.54182564206-542.54182564206
4443944153.00872561795240.991274382048
4548264117.4073257626708.592674237398
4644094618.98885094944-209.988850949441
4745694235.35610088917333.64389911083
4841064276.2365761845-170.236576184496
4947944744.8733173977149.1266826022865
5039143743.82515044033170.174849559669
5137933909.24082554279-116.240825542791
5244054025.83872575977379.161274240235
5340224374.42305065731-352.423050657305
5441003775.47637531376324.523624686237
5547884289.24642496419498.753575035807
5631634110.96594966887-947.965949668866
5735854139.53529939162-554.535299391621
5839034723.62207403602-820.622074036024
5941784358.32382385521-180.323823855212
6038634435.87329890946-572.873298909455
6141874918.26091503227-731.260915032267







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6231880277812220.7536239444375560.376811972218778
180.4722611096834140.9445222193668270.527738890316586
190.5224775754805750.955044849038850.477522424519425
200.575474503562660.849050992874680.42452549643734
210.477984430230250.955968860460500.52201556976975
220.4321910463409280.8643820926818560.567808953659072
230.4996517885388590.9993035770777190.500348211461141
240.653912759523120.692174480953760.34608724047688
250.6769202330901210.6461595338197590.323079766909879
260.581769991099670.836460017800660.41823000890033
270.5087468050132210.9825063899735580.491253194986779
280.4773007071270240.9546014142540480.522699292872976
290.3895454545732310.7790909091464620.610454545426769
300.3795338899411080.7590677798822160.620466110058892
310.3389164010102360.6778328020204710.661083598989764
320.3036343105264490.6072686210528980.696365689473551
330.2595349717467020.5190699434934030.740465028253299
340.2203961777890270.4407923555780550.779603822210972
350.2073941118287660.4147882236575320.792605888171234
360.2129745167356240.4259490334712470.787025483264376
370.1486300630873960.2972601261747910.851369936912604
380.1153466621101170.2306933242202340.884653337889883
390.09359545954162840.1871909190832570.906404540458372
400.1190661485012010.2381322970024020.880933851498799
410.3019900110598500.6039800221197010.69800998894015
420.2118968666166860.4237937332333730.788103133383314
430.9743901307541770.05121973849164560.0256098692458228
440.9273718178904680.1452563642190640.0726281821095319

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.623188027781222 & 0.753623944437556 & 0.376811972218778 \tabularnewline
18 & 0.472261109683414 & 0.944522219366827 & 0.527738890316586 \tabularnewline
19 & 0.522477575480575 & 0.95504484903885 & 0.477522424519425 \tabularnewline
20 & 0.57547450356266 & 0.84905099287468 & 0.42452549643734 \tabularnewline
21 & 0.47798443023025 & 0.95596886046050 & 0.52201556976975 \tabularnewline
22 & 0.432191046340928 & 0.864382092681856 & 0.567808953659072 \tabularnewline
23 & 0.499651788538859 & 0.999303577077719 & 0.500348211461141 \tabularnewline
24 & 0.65391275952312 & 0.69217448095376 & 0.34608724047688 \tabularnewline
25 & 0.676920233090121 & 0.646159533819759 & 0.323079766909879 \tabularnewline
26 & 0.58176999109967 & 0.83646001780066 & 0.41823000890033 \tabularnewline
27 & 0.508746805013221 & 0.982506389973558 & 0.491253194986779 \tabularnewline
28 & 0.477300707127024 & 0.954601414254048 & 0.522699292872976 \tabularnewline
29 & 0.389545454573231 & 0.779090909146462 & 0.610454545426769 \tabularnewline
30 & 0.379533889941108 & 0.759067779882216 & 0.620466110058892 \tabularnewline
31 & 0.338916401010236 & 0.677832802020471 & 0.661083598989764 \tabularnewline
32 & 0.303634310526449 & 0.607268621052898 & 0.696365689473551 \tabularnewline
33 & 0.259534971746702 & 0.519069943493403 & 0.740465028253299 \tabularnewline
34 & 0.220396177789027 & 0.440792355578055 & 0.779603822210972 \tabularnewline
35 & 0.207394111828766 & 0.414788223657532 & 0.792605888171234 \tabularnewline
36 & 0.212974516735624 & 0.425949033471247 & 0.787025483264376 \tabularnewline
37 & 0.148630063087396 & 0.297260126174791 & 0.851369936912604 \tabularnewline
38 & 0.115346662110117 & 0.230693324220234 & 0.884653337889883 \tabularnewline
39 & 0.0935954595416284 & 0.187190919083257 & 0.906404540458372 \tabularnewline
40 & 0.119066148501201 & 0.238132297002402 & 0.880933851498799 \tabularnewline
41 & 0.301990011059850 & 0.603980022119701 & 0.69800998894015 \tabularnewline
42 & 0.211896866616686 & 0.423793733233373 & 0.788103133383314 \tabularnewline
43 & 0.974390130754177 & 0.0512197384916456 & 0.0256098692458228 \tabularnewline
44 & 0.927371817890468 & 0.145256364219064 & 0.0726281821095319 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.623188027781222[/C][C]0.753623944437556[/C][C]0.376811972218778[/C][/ROW]
[ROW][C]18[/C][C]0.472261109683414[/C][C]0.944522219366827[/C][C]0.527738890316586[/C][/ROW]
[ROW][C]19[/C][C]0.522477575480575[/C][C]0.95504484903885[/C][C]0.477522424519425[/C][/ROW]
[ROW][C]20[/C][C]0.57547450356266[/C][C]0.84905099287468[/C][C]0.42452549643734[/C][/ROW]
[ROW][C]21[/C][C]0.47798443023025[/C][C]0.95596886046050[/C][C]0.52201556976975[/C][/ROW]
[ROW][C]22[/C][C]0.432191046340928[/C][C]0.864382092681856[/C][C]0.567808953659072[/C][/ROW]
[ROW][C]23[/C][C]0.499651788538859[/C][C]0.999303577077719[/C][C]0.500348211461141[/C][/ROW]
[ROW][C]24[/C][C]0.65391275952312[/C][C]0.69217448095376[/C][C]0.34608724047688[/C][/ROW]
[ROW][C]25[/C][C]0.676920233090121[/C][C]0.646159533819759[/C][C]0.323079766909879[/C][/ROW]
[ROW][C]26[/C][C]0.58176999109967[/C][C]0.83646001780066[/C][C]0.41823000890033[/C][/ROW]
[ROW][C]27[/C][C]0.508746805013221[/C][C]0.982506389973558[/C][C]0.491253194986779[/C][/ROW]
[ROW][C]28[/C][C]0.477300707127024[/C][C]0.954601414254048[/C][C]0.522699292872976[/C][/ROW]
[ROW][C]29[/C][C]0.389545454573231[/C][C]0.779090909146462[/C][C]0.610454545426769[/C][/ROW]
[ROW][C]30[/C][C]0.379533889941108[/C][C]0.759067779882216[/C][C]0.620466110058892[/C][/ROW]
[ROW][C]31[/C][C]0.338916401010236[/C][C]0.677832802020471[/C][C]0.661083598989764[/C][/ROW]
[ROW][C]32[/C][C]0.303634310526449[/C][C]0.607268621052898[/C][C]0.696365689473551[/C][/ROW]
[ROW][C]33[/C][C]0.259534971746702[/C][C]0.519069943493403[/C][C]0.740465028253299[/C][/ROW]
[ROW][C]34[/C][C]0.220396177789027[/C][C]0.440792355578055[/C][C]0.779603822210972[/C][/ROW]
[ROW][C]35[/C][C]0.207394111828766[/C][C]0.414788223657532[/C][C]0.792605888171234[/C][/ROW]
[ROW][C]36[/C][C]0.212974516735624[/C][C]0.425949033471247[/C][C]0.787025483264376[/C][/ROW]
[ROW][C]37[/C][C]0.148630063087396[/C][C]0.297260126174791[/C][C]0.851369936912604[/C][/ROW]
[ROW][C]38[/C][C]0.115346662110117[/C][C]0.230693324220234[/C][C]0.884653337889883[/C][/ROW]
[ROW][C]39[/C][C]0.0935954595416284[/C][C]0.187190919083257[/C][C]0.906404540458372[/C][/ROW]
[ROW][C]40[/C][C]0.119066148501201[/C][C]0.238132297002402[/C][C]0.880933851498799[/C][/ROW]
[ROW][C]41[/C][C]0.301990011059850[/C][C]0.603980022119701[/C][C]0.69800998894015[/C][/ROW]
[ROW][C]42[/C][C]0.211896866616686[/C][C]0.423793733233373[/C][C]0.788103133383314[/C][/ROW]
[ROW][C]43[/C][C]0.974390130754177[/C][C]0.0512197384916456[/C][C]0.0256098692458228[/C][/ROW]
[ROW][C]44[/C][C]0.927371817890468[/C][C]0.145256364219064[/C][C]0.0726281821095319[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.6231880277812220.7536239444375560.376811972218778
180.4722611096834140.9445222193668270.527738890316586
190.5224775754805750.955044849038850.477522424519425
200.575474503562660.849050992874680.42452549643734
210.477984430230250.955968860460500.52201556976975
220.4321910463409280.8643820926818560.567808953659072
230.4996517885388590.9993035770777190.500348211461141
240.653912759523120.692174480953760.34608724047688
250.6769202330901210.6461595338197590.323079766909879
260.581769991099670.836460017800660.41823000890033
270.5087468050132210.9825063899735580.491253194986779
280.4773007071270240.9546014142540480.522699292872976
290.3895454545732310.7790909091464620.610454545426769
300.3795338899411080.7590677798822160.620466110058892
310.3389164010102360.6778328020204710.661083598989764
320.3036343105264490.6072686210528980.696365689473551
330.2595349717467020.5190699434934030.740465028253299
340.2203961777890270.4407923555780550.779603822210972
350.2073941118287660.4147882236575320.792605888171234
360.2129745167356240.4259490334712470.787025483264376
370.1486300630873960.2972601261747910.851369936912604
380.1153466621101170.2306933242202340.884653337889883
390.09359545954162840.1871909190832570.906404540458372
400.1190661485012010.2381322970024020.880933851498799
410.3019900110598500.6039800221197010.69800998894015
420.2118968666166860.4237937332333730.788103133383314
430.9743901307541770.05121973849164560.0256098692458228
440.9273718178904680.1452563642190640.0726281821095319







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 level10.0357142857142857OK

\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 & 1 & 0.0357142857142857 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58888&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]1[/C][C]0.0357142857142857[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58888&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58888&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 level10.0357142857142857OK



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