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, 21 Nov 2009 08:19:01 -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/21/t125881709153eu5lsk795vxfg.htm/, Retrieved Sun, 28 Apr 2024 17:30:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58565, Retrieved Sun, 28 Apr 2024 17:30:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact207
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Workshop 7] [2009-11-20 15:23:47] [dc3c82a565f0b2cd85906905748a1f2c]
-   PD    [Multiple Regression] [Multiple regression] [2009-11-21 15:19:01] [99bf2a1e962091d45abf4c2600a412f9] [Current]
Feedback Forum

Post a new message
Dataseries X:
562000	4814
561000	3908
555000	5250
544000	3937
537000	4004
543000	5560
594000	3922
611000	3759
613000	4138
611000	4634
594000	3996
595000	4308
591000	4143
589000	4429
584000	5219
573000	4929
567000	5755
569000	5592
621000	4163
629000	4962
628000	5208
612000	4755
595000	4491
597000	5732
593000	5731
590000	5040
580000	6102
574000	4904
573000	5369
573000	5578
620000	4619
626000	4731
620000	5011
588000	5299
566000	4146
557000	4625
561000	4736
549000	4219
532000	5116
526000	4205
511000	4121
499000	5103
555000	4300
565000	4578
542000	3809
527000	5526
510000	4247
514000	3830
517000	4394
508000	4826
493000	4409
490000	4569
469000	4106
478000	4794
528000	3914
534000	3793
518000	4405
506000	4022
502000	4100
516000	4788




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 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 & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&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]4 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=58565&T=0

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







Multiple Linear Regression - Estimated Regression Equation
werkloos[t] = + 566709.674302673 + 8.7012473517102bouw[t] -1553.21484229700t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloos[t] =  +  566709.674302673 +  8.7012473517102bouw[t] -1553.21484229700t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloos[t] =  +  566709.674302673 +  8.7012473517102bouw[t] -1553.21484229700t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58565&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58565&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
werkloos[t] = + 566709.674302673 + 8.7012473517102bouw[t] -1553.21484229700t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)566709.67430267334135.29238216.601900
bouw8.70124735171026.9042331.26030.2127040.106352
t-1553.21484229700237.173027-6.548900

\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) & 566709.674302673 & 34135.292382 & 16.6019 & 0 & 0 \tabularnewline
bouw & 8.7012473517102 & 6.904233 & 1.2603 & 0.212704 & 0.106352 \tabularnewline
t & -1553.21484229700 & 237.173027 & -6.5489 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&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]566709.674302673[/C][C]34135.292382[/C][C]16.6019[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bouw[/C][C]8.7012473517102[/C][C]6.904233[/C][C]1.2603[/C][C]0.212704[/C][C]0.106352[/C][/ROW]
[ROW][C]t[/C][C]-1553.21484229700[/C][C]237.173027[/C][C]-6.5489[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58565&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58565&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)566709.67430267334135.29238216.601900
bouw8.70124735171026.9042331.26030.2127040.106352
t-1553.21484229700237.173027-6.548900







Multiple Linear Regression - Regression Statistics
Multiple R0.675859075262134
R-squared0.456785489614188
Adjusted R-squared0.437725331355036
F-TEST (value)23.9654615351828
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value2.79694436500222e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31471.1759586322
Sum Squared Residuals56454790224.4939

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.675859075262134 \tabularnewline
R-squared & 0.456785489614188 \tabularnewline
Adjusted R-squared & 0.437725331355036 \tabularnewline
F-TEST (value) & 23.9654615351828 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 2.79694436500222e-08 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 31471.1759586322 \tabularnewline
Sum Squared Residuals & 56454790224.4939 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.675859075262134[/C][/ROW]
[ROW][C]R-squared[/C][C]0.456785489614188[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.437725331355036[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]23.9654615351828[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]2.79694436500222e-08[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]31471.1759586322[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]56454790224.4939[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58565&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58565&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.675859075262134
R-squared0.456785489614188
Adjusted R-squared0.437725331355036
F-TEST (value)23.9654615351828
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value2.79694436500222e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation31471.1759586322
Sum Squared Residuals56454790224.4939







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1562000607044.264211509-45044.2642115087
2561000597607.719268562-36607.7192685623
3555000607731.57837226-52731.5783722604
4544000594753.625757168-50753.6257571679
5537000593783.394487435-56783.3944874355
6543000605769.3205244-62769.3205243995
7594000589963.4625200014036.53747999876
8611000586991.94435937624008.0556406245
9613000588736.50226337724263.4977366233
10611000591499.10610752819500.8938924721
11594000584394.495454849605.5045451602
12595000585556.0697862769443.93021372361
13591000582567.1491309478432.85086905279
14589000583502.4910312395497.50896876067
15584000588823.261596793-4823.26159679338
16573000584746.6850225-11746.6850225004
17567000590380.700492716-23380.7004927160
18569000587409.18233209-18409.1823320903
19621000573421.88502419947578.1149758006
20629000578820.96681591950179.0331840811
21628000579408.25882214348591.7411778574
22612000573913.37892952138086.6210704791
23595000570063.03478637224936.9652136276
24597000579308.06790754817691.9320924523
25593000577746.15181789915253.8481821010
26590000570180.3750555719819.6249444297
27580000577867.884900792132.11509921049
28574000565890.5757311448109.4242688563
29573000568383.4409073924616.55909260805
30573000568648.7867616024351.21323839762
31620000558751.07570901561248.9242909847
32626000558172.4005701167827.5994298901
33620000559055.53498629260944.4650137083
34588000560008.27938128727991.7206187128
35566000548422.52634246817577.4736575316
36557000551037.2089816415962.79101835942
37561000550449.83259538310550.1674046166
38549000544398.0728722524601.92712774775
39532000550649.876904439-18649.8769044393
40526000541169.825724734-15169.8257247343
41511000538885.706104894-27885.7061048937
42499000545877.116161976-46877.1161619761
43555000537336.79969625617663.2003037442
44565000538202.53161773426797.4683822658
45542000529958.05756197212041.9424380279
46527000543344.884422562-16344.8844225615
47510000530662.774217427-20662.7742174272
48514000525481.139229467-11481.139229467
49517000528835.427893535-11835.4278935346
50508000531041.151907176-23041.1519071764
51493000525859.516919216-32859.5169192162
52490000525698.501653193-35698.5016531928
53469000520116.609287054-51116.609287054
54478000524549.852622734-46549.8526227336
55528000515339.54011093212660.4598890683
56534000512733.47433907821266.5256609222
57518000516505.4228760271494.57712397261
58506000511619.630298025-5619.63029802538
59502000510745.112749162-8745.1127491618
60516000515178.356084841821.643915158606

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 562000 & 607044.264211509 & -45044.2642115087 \tabularnewline
2 & 561000 & 597607.719268562 & -36607.7192685623 \tabularnewline
3 & 555000 & 607731.57837226 & -52731.5783722604 \tabularnewline
4 & 544000 & 594753.625757168 & -50753.6257571679 \tabularnewline
5 & 537000 & 593783.394487435 & -56783.3944874355 \tabularnewline
6 & 543000 & 605769.3205244 & -62769.3205243995 \tabularnewline
7 & 594000 & 589963.462520001 & 4036.53747999876 \tabularnewline
8 & 611000 & 586991.944359376 & 24008.0556406245 \tabularnewline
9 & 613000 & 588736.502263377 & 24263.4977366233 \tabularnewline
10 & 611000 & 591499.106107528 & 19500.8938924721 \tabularnewline
11 & 594000 & 584394.49545484 & 9605.5045451602 \tabularnewline
12 & 595000 & 585556.069786276 & 9443.93021372361 \tabularnewline
13 & 591000 & 582567.149130947 & 8432.85086905279 \tabularnewline
14 & 589000 & 583502.491031239 & 5497.50896876067 \tabularnewline
15 & 584000 & 588823.261596793 & -4823.26159679338 \tabularnewline
16 & 573000 & 584746.6850225 & -11746.6850225004 \tabularnewline
17 & 567000 & 590380.700492716 & -23380.7004927160 \tabularnewline
18 & 569000 & 587409.18233209 & -18409.1823320903 \tabularnewline
19 & 621000 & 573421.885024199 & 47578.1149758006 \tabularnewline
20 & 629000 & 578820.966815919 & 50179.0331840811 \tabularnewline
21 & 628000 & 579408.258822143 & 48591.7411778574 \tabularnewline
22 & 612000 & 573913.378929521 & 38086.6210704791 \tabularnewline
23 & 595000 & 570063.034786372 & 24936.9652136276 \tabularnewline
24 & 597000 & 579308.067907548 & 17691.9320924523 \tabularnewline
25 & 593000 & 577746.151817899 & 15253.8481821010 \tabularnewline
26 & 590000 & 570180.37505557 & 19819.6249444297 \tabularnewline
27 & 580000 & 577867.88490079 & 2132.11509921049 \tabularnewline
28 & 574000 & 565890.575731144 & 8109.4242688563 \tabularnewline
29 & 573000 & 568383.440907392 & 4616.55909260805 \tabularnewline
30 & 573000 & 568648.786761602 & 4351.21323839762 \tabularnewline
31 & 620000 & 558751.075709015 & 61248.9242909847 \tabularnewline
32 & 626000 & 558172.40057011 & 67827.5994298901 \tabularnewline
33 & 620000 & 559055.534986292 & 60944.4650137083 \tabularnewline
34 & 588000 & 560008.279381287 & 27991.7206187128 \tabularnewline
35 & 566000 & 548422.526342468 & 17577.4736575316 \tabularnewline
36 & 557000 & 551037.208981641 & 5962.79101835942 \tabularnewline
37 & 561000 & 550449.832595383 & 10550.1674046166 \tabularnewline
38 & 549000 & 544398.072872252 & 4601.92712774775 \tabularnewline
39 & 532000 & 550649.876904439 & -18649.8769044393 \tabularnewline
40 & 526000 & 541169.825724734 & -15169.8257247343 \tabularnewline
41 & 511000 & 538885.706104894 & -27885.7061048937 \tabularnewline
42 & 499000 & 545877.116161976 & -46877.1161619761 \tabularnewline
43 & 555000 & 537336.799696256 & 17663.2003037442 \tabularnewline
44 & 565000 & 538202.531617734 & 26797.4683822658 \tabularnewline
45 & 542000 & 529958.057561972 & 12041.9424380279 \tabularnewline
46 & 527000 & 543344.884422562 & -16344.8844225615 \tabularnewline
47 & 510000 & 530662.774217427 & -20662.7742174272 \tabularnewline
48 & 514000 & 525481.139229467 & -11481.139229467 \tabularnewline
49 & 517000 & 528835.427893535 & -11835.4278935346 \tabularnewline
50 & 508000 & 531041.151907176 & -23041.1519071764 \tabularnewline
51 & 493000 & 525859.516919216 & -32859.5169192162 \tabularnewline
52 & 490000 & 525698.501653193 & -35698.5016531928 \tabularnewline
53 & 469000 & 520116.609287054 & -51116.609287054 \tabularnewline
54 & 478000 & 524549.852622734 & -46549.8526227336 \tabularnewline
55 & 528000 & 515339.540110932 & 12660.4598890683 \tabularnewline
56 & 534000 & 512733.474339078 & 21266.5256609222 \tabularnewline
57 & 518000 & 516505.422876027 & 1494.57712397261 \tabularnewline
58 & 506000 & 511619.630298025 & -5619.63029802538 \tabularnewline
59 & 502000 & 510745.112749162 & -8745.1127491618 \tabularnewline
60 & 516000 & 515178.356084841 & 821.643915158606 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&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]562000[/C][C]607044.264211509[/C][C]-45044.2642115087[/C][/ROW]
[ROW][C]2[/C][C]561000[/C][C]597607.719268562[/C][C]-36607.7192685623[/C][/ROW]
[ROW][C]3[/C][C]555000[/C][C]607731.57837226[/C][C]-52731.5783722604[/C][/ROW]
[ROW][C]4[/C][C]544000[/C][C]594753.625757168[/C][C]-50753.6257571679[/C][/ROW]
[ROW][C]5[/C][C]537000[/C][C]593783.394487435[/C][C]-56783.3944874355[/C][/ROW]
[ROW][C]6[/C][C]543000[/C][C]605769.3205244[/C][C]-62769.3205243995[/C][/ROW]
[ROW][C]7[/C][C]594000[/C][C]589963.462520001[/C][C]4036.53747999876[/C][/ROW]
[ROW][C]8[/C][C]611000[/C][C]586991.944359376[/C][C]24008.0556406245[/C][/ROW]
[ROW][C]9[/C][C]613000[/C][C]588736.502263377[/C][C]24263.4977366233[/C][/ROW]
[ROW][C]10[/C][C]611000[/C][C]591499.106107528[/C][C]19500.8938924721[/C][/ROW]
[ROW][C]11[/C][C]594000[/C][C]584394.49545484[/C][C]9605.5045451602[/C][/ROW]
[ROW][C]12[/C][C]595000[/C][C]585556.069786276[/C][C]9443.93021372361[/C][/ROW]
[ROW][C]13[/C][C]591000[/C][C]582567.149130947[/C][C]8432.85086905279[/C][/ROW]
[ROW][C]14[/C][C]589000[/C][C]583502.491031239[/C][C]5497.50896876067[/C][/ROW]
[ROW][C]15[/C][C]584000[/C][C]588823.261596793[/C][C]-4823.26159679338[/C][/ROW]
[ROW][C]16[/C][C]573000[/C][C]584746.6850225[/C][C]-11746.6850225004[/C][/ROW]
[ROW][C]17[/C][C]567000[/C][C]590380.700492716[/C][C]-23380.7004927160[/C][/ROW]
[ROW][C]18[/C][C]569000[/C][C]587409.18233209[/C][C]-18409.1823320903[/C][/ROW]
[ROW][C]19[/C][C]621000[/C][C]573421.885024199[/C][C]47578.1149758006[/C][/ROW]
[ROW][C]20[/C][C]629000[/C][C]578820.966815919[/C][C]50179.0331840811[/C][/ROW]
[ROW][C]21[/C][C]628000[/C][C]579408.258822143[/C][C]48591.7411778574[/C][/ROW]
[ROW][C]22[/C][C]612000[/C][C]573913.378929521[/C][C]38086.6210704791[/C][/ROW]
[ROW][C]23[/C][C]595000[/C][C]570063.034786372[/C][C]24936.9652136276[/C][/ROW]
[ROW][C]24[/C][C]597000[/C][C]579308.067907548[/C][C]17691.9320924523[/C][/ROW]
[ROW][C]25[/C][C]593000[/C][C]577746.151817899[/C][C]15253.8481821010[/C][/ROW]
[ROW][C]26[/C][C]590000[/C][C]570180.37505557[/C][C]19819.6249444297[/C][/ROW]
[ROW][C]27[/C][C]580000[/C][C]577867.88490079[/C][C]2132.11509921049[/C][/ROW]
[ROW][C]28[/C][C]574000[/C][C]565890.575731144[/C][C]8109.4242688563[/C][/ROW]
[ROW][C]29[/C][C]573000[/C][C]568383.440907392[/C][C]4616.55909260805[/C][/ROW]
[ROW][C]30[/C][C]573000[/C][C]568648.786761602[/C][C]4351.21323839762[/C][/ROW]
[ROW][C]31[/C][C]620000[/C][C]558751.075709015[/C][C]61248.9242909847[/C][/ROW]
[ROW][C]32[/C][C]626000[/C][C]558172.40057011[/C][C]67827.5994298901[/C][/ROW]
[ROW][C]33[/C][C]620000[/C][C]559055.534986292[/C][C]60944.4650137083[/C][/ROW]
[ROW][C]34[/C][C]588000[/C][C]560008.279381287[/C][C]27991.7206187128[/C][/ROW]
[ROW][C]35[/C][C]566000[/C][C]548422.526342468[/C][C]17577.4736575316[/C][/ROW]
[ROW][C]36[/C][C]557000[/C][C]551037.208981641[/C][C]5962.79101835942[/C][/ROW]
[ROW][C]37[/C][C]561000[/C][C]550449.832595383[/C][C]10550.1674046166[/C][/ROW]
[ROW][C]38[/C][C]549000[/C][C]544398.072872252[/C][C]4601.92712774775[/C][/ROW]
[ROW][C]39[/C][C]532000[/C][C]550649.876904439[/C][C]-18649.8769044393[/C][/ROW]
[ROW][C]40[/C][C]526000[/C][C]541169.825724734[/C][C]-15169.8257247343[/C][/ROW]
[ROW][C]41[/C][C]511000[/C][C]538885.706104894[/C][C]-27885.7061048937[/C][/ROW]
[ROW][C]42[/C][C]499000[/C][C]545877.116161976[/C][C]-46877.1161619761[/C][/ROW]
[ROW][C]43[/C][C]555000[/C][C]537336.799696256[/C][C]17663.2003037442[/C][/ROW]
[ROW][C]44[/C][C]565000[/C][C]538202.531617734[/C][C]26797.4683822658[/C][/ROW]
[ROW][C]45[/C][C]542000[/C][C]529958.057561972[/C][C]12041.9424380279[/C][/ROW]
[ROW][C]46[/C][C]527000[/C][C]543344.884422562[/C][C]-16344.8844225615[/C][/ROW]
[ROW][C]47[/C][C]510000[/C][C]530662.774217427[/C][C]-20662.7742174272[/C][/ROW]
[ROW][C]48[/C][C]514000[/C][C]525481.139229467[/C][C]-11481.139229467[/C][/ROW]
[ROW][C]49[/C][C]517000[/C][C]528835.427893535[/C][C]-11835.4278935346[/C][/ROW]
[ROW][C]50[/C][C]508000[/C][C]531041.151907176[/C][C]-23041.1519071764[/C][/ROW]
[ROW][C]51[/C][C]493000[/C][C]525859.516919216[/C][C]-32859.5169192162[/C][/ROW]
[ROW][C]52[/C][C]490000[/C][C]525698.501653193[/C][C]-35698.5016531928[/C][/ROW]
[ROW][C]53[/C][C]469000[/C][C]520116.609287054[/C][C]-51116.609287054[/C][/ROW]
[ROW][C]54[/C][C]478000[/C][C]524549.852622734[/C][C]-46549.8526227336[/C][/ROW]
[ROW][C]55[/C][C]528000[/C][C]515339.540110932[/C][C]12660.4598890683[/C][/ROW]
[ROW][C]56[/C][C]534000[/C][C]512733.474339078[/C][C]21266.5256609222[/C][/ROW]
[ROW][C]57[/C][C]518000[/C][C]516505.422876027[/C][C]1494.57712397261[/C][/ROW]
[ROW][C]58[/C][C]506000[/C][C]511619.630298025[/C][C]-5619.63029802538[/C][/ROW]
[ROW][C]59[/C][C]502000[/C][C]510745.112749162[/C][C]-8745.1127491618[/C][/ROW]
[ROW][C]60[/C][C]516000[/C][C]515178.356084841[/C][C]821.643915158606[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58565&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58565&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
1562000607044.264211509-45044.2642115087
2561000597607.719268562-36607.7192685623
3555000607731.57837226-52731.5783722604
4544000594753.625757168-50753.6257571679
5537000593783.394487435-56783.3944874355
6543000605769.3205244-62769.3205243995
7594000589963.4625200014036.53747999876
8611000586991.94435937624008.0556406245
9613000588736.50226337724263.4977366233
10611000591499.10610752819500.8938924721
11594000584394.495454849605.5045451602
12595000585556.0697862769443.93021372361
13591000582567.1491309478432.85086905279
14589000583502.4910312395497.50896876067
15584000588823.261596793-4823.26159679338
16573000584746.6850225-11746.6850225004
17567000590380.700492716-23380.7004927160
18569000587409.18233209-18409.1823320903
19621000573421.88502419947578.1149758006
20629000578820.96681591950179.0331840811
21628000579408.25882214348591.7411778574
22612000573913.37892952138086.6210704791
23595000570063.03478637224936.9652136276
24597000579308.06790754817691.9320924523
25593000577746.15181789915253.8481821010
26590000570180.3750555719819.6249444297
27580000577867.884900792132.11509921049
28574000565890.5757311448109.4242688563
29573000568383.4409073924616.55909260805
30573000568648.7867616024351.21323839762
31620000558751.07570901561248.9242909847
32626000558172.4005701167827.5994298901
33620000559055.53498629260944.4650137083
34588000560008.27938128727991.7206187128
35566000548422.52634246817577.4736575316
36557000551037.2089816415962.79101835942
37561000550449.83259538310550.1674046166
38549000544398.0728722524601.92712774775
39532000550649.876904439-18649.8769044393
40526000541169.825724734-15169.8257247343
41511000538885.706104894-27885.7061048937
42499000545877.116161976-46877.1161619761
43555000537336.79969625617663.2003037442
44565000538202.53161773426797.4683822658
45542000529958.05756197212041.9424380279
46527000543344.884422562-16344.8844225615
47510000530662.774217427-20662.7742174272
48514000525481.139229467-11481.139229467
49517000528835.427893535-11835.4278935346
50508000531041.151907176-23041.1519071764
51493000525859.516919216-32859.5169192162
52490000525698.501653193-35698.5016531928
53469000520116.609287054-51116.609287054
54478000524549.852622734-46549.8526227336
55528000515339.54011093212660.4598890683
56534000512733.47433907821266.5256609222
57518000516505.4228760271494.57712397261
58506000511619.630298025-5619.63029802538
59502000510745.112749162-8745.1127491618
60516000515178.356084841821.643915158606







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.005944997272436890.01188999454487380.994055002727563
70.4577788059310460.9155576118620920.542221194068954
80.5373280900900840.9253438198198320.462671909909916
90.4786816726492910.9573633452985820.521318327350709
100.3743734422136130.7487468844272260.625626557786387
110.3291553677098360.6583107354196730.670844632290164
120.272352073253470.544704146506940.72764792674653
130.253344643879830.506689287759660.74665535612017
140.2317455544392860.4634911088785720.768254445560714
150.1960929964134060.3921859928268130.803907003586594
160.2390129273107140.4780258546214280.760987072689286
170.245001824965770.490003649931540.75499817503423
180.2636750522440970.5273501044881950.736324947755903
190.2037264162151380.4074528324302770.796273583784862
200.2177850965682490.4355701931364970.782214903431751
210.2145975678073230.4291951356146450.785402432192677
220.1636312547037160.3272625094074320.836368745296284
230.1843965414265120.3687930828530240.815603458573488
240.1360554382085420.2721108764170840.863944561791458
250.1016309727288420.2032619454576840.898369027271158
260.1009346165159580.2018692330319160.899065383484042
270.07943407725280030.1588681545056010.9205659227472
280.1306759447836490.2613518895672980.869324055216351
290.1413414878818050.2826829757636100.858658512118195
300.1329863389842220.2659726779684450.867013661015778
310.1311134095298450.2622268190596890.868886590470155
320.1904168308722460.3808336617444930.809583169127754
330.3357942914554720.6715885829109440.664205708544528
340.4360066438268520.8720132876537050.563993356173148
350.611893721125110.7762125577497790.388106278874890
360.697039381164910.6059212376701790.302960618835090
370.7512334812828910.4975330374342170.248766518717109
380.7868822057276220.4262355885447570.213117794272378
390.8171897272344050.3656205455311900.182810272765595
400.8358412098094250.3283175803811490.164158790190575
410.8794243888390480.2411512223219050.120575611160952
420.9237070240329120.1525859519341750.0762929759670875
430.9080237726394570.1839524547210850.0919762273605427
440.9526548996066590.09469020078668240.0473451003933412
450.9523803923423530.09523921531529360.0476196076576468
460.9689561356231230.06208772875375360.0310438643768768
470.9537828897586180.09243422048276370.0462171102413818
480.9256736425624530.1486527148750930.0743263574375466
490.9172551618654740.1654896762690520.0827448381345262
500.9312843861841350.137431227631730.068715613815865
510.8919094342809950.2161811314380090.108090565719005
520.8358059402096430.3283881195807130.164194059790357
530.8870741200159140.2258517599681720.112925879984086
540.9672787962049770.06544240759004520.0327212037950226

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.00594499727243689 & 0.0118899945448738 & 0.994055002727563 \tabularnewline
7 & 0.457778805931046 & 0.915557611862092 & 0.542221194068954 \tabularnewline
8 & 0.537328090090084 & 0.925343819819832 & 0.462671909909916 \tabularnewline
9 & 0.478681672649291 & 0.957363345298582 & 0.521318327350709 \tabularnewline
10 & 0.374373442213613 & 0.748746884427226 & 0.625626557786387 \tabularnewline
11 & 0.329155367709836 & 0.658310735419673 & 0.670844632290164 \tabularnewline
12 & 0.27235207325347 & 0.54470414650694 & 0.72764792674653 \tabularnewline
13 & 0.25334464387983 & 0.50668928775966 & 0.74665535612017 \tabularnewline
14 & 0.231745554439286 & 0.463491108878572 & 0.768254445560714 \tabularnewline
15 & 0.196092996413406 & 0.392185992826813 & 0.803907003586594 \tabularnewline
16 & 0.239012927310714 & 0.478025854621428 & 0.760987072689286 \tabularnewline
17 & 0.24500182496577 & 0.49000364993154 & 0.75499817503423 \tabularnewline
18 & 0.263675052244097 & 0.527350104488195 & 0.736324947755903 \tabularnewline
19 & 0.203726416215138 & 0.407452832430277 & 0.796273583784862 \tabularnewline
20 & 0.217785096568249 & 0.435570193136497 & 0.782214903431751 \tabularnewline
21 & 0.214597567807323 & 0.429195135614645 & 0.785402432192677 \tabularnewline
22 & 0.163631254703716 & 0.327262509407432 & 0.836368745296284 \tabularnewline
23 & 0.184396541426512 & 0.368793082853024 & 0.815603458573488 \tabularnewline
24 & 0.136055438208542 & 0.272110876417084 & 0.863944561791458 \tabularnewline
25 & 0.101630972728842 & 0.203261945457684 & 0.898369027271158 \tabularnewline
26 & 0.100934616515958 & 0.201869233031916 & 0.899065383484042 \tabularnewline
27 & 0.0794340772528003 & 0.158868154505601 & 0.9205659227472 \tabularnewline
28 & 0.130675944783649 & 0.261351889567298 & 0.869324055216351 \tabularnewline
29 & 0.141341487881805 & 0.282682975763610 & 0.858658512118195 \tabularnewline
30 & 0.132986338984222 & 0.265972677968445 & 0.867013661015778 \tabularnewline
31 & 0.131113409529845 & 0.262226819059689 & 0.868886590470155 \tabularnewline
32 & 0.190416830872246 & 0.380833661744493 & 0.809583169127754 \tabularnewline
33 & 0.335794291455472 & 0.671588582910944 & 0.664205708544528 \tabularnewline
34 & 0.436006643826852 & 0.872013287653705 & 0.563993356173148 \tabularnewline
35 & 0.61189372112511 & 0.776212557749779 & 0.388106278874890 \tabularnewline
36 & 0.69703938116491 & 0.605921237670179 & 0.302960618835090 \tabularnewline
37 & 0.751233481282891 & 0.497533037434217 & 0.248766518717109 \tabularnewline
38 & 0.786882205727622 & 0.426235588544757 & 0.213117794272378 \tabularnewline
39 & 0.817189727234405 & 0.365620545531190 & 0.182810272765595 \tabularnewline
40 & 0.835841209809425 & 0.328317580381149 & 0.164158790190575 \tabularnewline
41 & 0.879424388839048 & 0.241151222321905 & 0.120575611160952 \tabularnewline
42 & 0.923707024032912 & 0.152585951934175 & 0.0762929759670875 \tabularnewline
43 & 0.908023772639457 & 0.183952454721085 & 0.0919762273605427 \tabularnewline
44 & 0.952654899606659 & 0.0946902007866824 & 0.0473451003933412 \tabularnewline
45 & 0.952380392342353 & 0.0952392153152936 & 0.0476196076576468 \tabularnewline
46 & 0.968956135623123 & 0.0620877287537536 & 0.0310438643768768 \tabularnewline
47 & 0.953782889758618 & 0.0924342204827637 & 0.0462171102413818 \tabularnewline
48 & 0.925673642562453 & 0.148652714875093 & 0.0743263574375466 \tabularnewline
49 & 0.917255161865474 & 0.165489676269052 & 0.0827448381345262 \tabularnewline
50 & 0.931284386184135 & 0.13743122763173 & 0.068715613815865 \tabularnewline
51 & 0.891909434280995 & 0.216181131438009 & 0.108090565719005 \tabularnewline
52 & 0.835805940209643 & 0.328388119580713 & 0.164194059790357 \tabularnewline
53 & 0.887074120015914 & 0.225851759968172 & 0.112925879984086 \tabularnewline
54 & 0.967278796204977 & 0.0654424075900452 & 0.0327212037950226 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58565&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]6[/C][C]0.00594499727243689[/C][C]0.0118899945448738[/C][C]0.994055002727563[/C][/ROW]
[ROW][C]7[/C][C]0.457778805931046[/C][C]0.915557611862092[/C][C]0.542221194068954[/C][/ROW]
[ROW][C]8[/C][C]0.537328090090084[/C][C]0.925343819819832[/C][C]0.462671909909916[/C][/ROW]
[ROW][C]9[/C][C]0.478681672649291[/C][C]0.957363345298582[/C][C]0.521318327350709[/C][/ROW]
[ROW][C]10[/C][C]0.374373442213613[/C][C]0.748746884427226[/C][C]0.625626557786387[/C][/ROW]
[ROW][C]11[/C][C]0.329155367709836[/C][C]0.658310735419673[/C][C]0.670844632290164[/C][/ROW]
[ROW][C]12[/C][C]0.27235207325347[/C][C]0.54470414650694[/C][C]0.72764792674653[/C][/ROW]
[ROW][C]13[/C][C]0.25334464387983[/C][C]0.50668928775966[/C][C]0.74665535612017[/C][/ROW]
[ROW][C]14[/C][C]0.231745554439286[/C][C]0.463491108878572[/C][C]0.768254445560714[/C][/ROW]
[ROW][C]15[/C][C]0.196092996413406[/C][C]0.392185992826813[/C][C]0.803907003586594[/C][/ROW]
[ROW][C]16[/C][C]0.239012927310714[/C][C]0.478025854621428[/C][C]0.760987072689286[/C][/ROW]
[ROW][C]17[/C][C]0.24500182496577[/C][C]0.49000364993154[/C][C]0.75499817503423[/C][/ROW]
[ROW][C]18[/C][C]0.263675052244097[/C][C]0.527350104488195[/C][C]0.736324947755903[/C][/ROW]
[ROW][C]19[/C][C]0.203726416215138[/C][C]0.407452832430277[/C][C]0.796273583784862[/C][/ROW]
[ROW][C]20[/C][C]0.217785096568249[/C][C]0.435570193136497[/C][C]0.782214903431751[/C][/ROW]
[ROW][C]21[/C][C]0.214597567807323[/C][C]0.429195135614645[/C][C]0.785402432192677[/C][/ROW]
[ROW][C]22[/C][C]0.163631254703716[/C][C]0.327262509407432[/C][C]0.836368745296284[/C][/ROW]
[ROW][C]23[/C][C]0.184396541426512[/C][C]0.368793082853024[/C][C]0.815603458573488[/C][/ROW]
[ROW][C]24[/C][C]0.136055438208542[/C][C]0.272110876417084[/C][C]0.863944561791458[/C][/ROW]
[ROW][C]25[/C][C]0.101630972728842[/C][C]0.203261945457684[/C][C]0.898369027271158[/C][/ROW]
[ROW][C]26[/C][C]0.100934616515958[/C][C]0.201869233031916[/C][C]0.899065383484042[/C][/ROW]
[ROW][C]27[/C][C]0.0794340772528003[/C][C]0.158868154505601[/C][C]0.9205659227472[/C][/ROW]
[ROW][C]28[/C][C]0.130675944783649[/C][C]0.261351889567298[/C][C]0.869324055216351[/C][/ROW]
[ROW][C]29[/C][C]0.141341487881805[/C][C]0.282682975763610[/C][C]0.858658512118195[/C][/ROW]
[ROW][C]30[/C][C]0.132986338984222[/C][C]0.265972677968445[/C][C]0.867013661015778[/C][/ROW]
[ROW][C]31[/C][C]0.131113409529845[/C][C]0.262226819059689[/C][C]0.868886590470155[/C][/ROW]
[ROW][C]32[/C][C]0.190416830872246[/C][C]0.380833661744493[/C][C]0.809583169127754[/C][/ROW]
[ROW][C]33[/C][C]0.335794291455472[/C][C]0.671588582910944[/C][C]0.664205708544528[/C][/ROW]
[ROW][C]34[/C][C]0.436006643826852[/C][C]0.872013287653705[/C][C]0.563993356173148[/C][/ROW]
[ROW][C]35[/C][C]0.61189372112511[/C][C]0.776212557749779[/C][C]0.388106278874890[/C][/ROW]
[ROW][C]36[/C][C]0.69703938116491[/C][C]0.605921237670179[/C][C]0.302960618835090[/C][/ROW]
[ROW][C]37[/C][C]0.751233481282891[/C][C]0.497533037434217[/C][C]0.248766518717109[/C][/ROW]
[ROW][C]38[/C][C]0.786882205727622[/C][C]0.426235588544757[/C][C]0.213117794272378[/C][/ROW]
[ROW][C]39[/C][C]0.817189727234405[/C][C]0.365620545531190[/C][C]0.182810272765595[/C][/ROW]
[ROW][C]40[/C][C]0.835841209809425[/C][C]0.328317580381149[/C][C]0.164158790190575[/C][/ROW]
[ROW][C]41[/C][C]0.879424388839048[/C][C]0.241151222321905[/C][C]0.120575611160952[/C][/ROW]
[ROW][C]42[/C][C]0.923707024032912[/C][C]0.152585951934175[/C][C]0.0762929759670875[/C][/ROW]
[ROW][C]43[/C][C]0.908023772639457[/C][C]0.183952454721085[/C][C]0.0919762273605427[/C][/ROW]
[ROW][C]44[/C][C]0.952654899606659[/C][C]0.0946902007866824[/C][C]0.0473451003933412[/C][/ROW]
[ROW][C]45[/C][C]0.952380392342353[/C][C]0.0952392153152936[/C][C]0.0476196076576468[/C][/ROW]
[ROW][C]46[/C][C]0.968956135623123[/C][C]0.0620877287537536[/C][C]0.0310438643768768[/C][/ROW]
[ROW][C]47[/C][C]0.953782889758618[/C][C]0.0924342204827637[/C][C]0.0462171102413818[/C][/ROW]
[ROW][C]48[/C][C]0.925673642562453[/C][C]0.148652714875093[/C][C]0.0743263574375466[/C][/ROW]
[ROW][C]49[/C][C]0.917255161865474[/C][C]0.165489676269052[/C][C]0.0827448381345262[/C][/ROW]
[ROW][C]50[/C][C]0.931284386184135[/C][C]0.13743122763173[/C][C]0.068715613815865[/C][/ROW]
[ROW][C]51[/C][C]0.891909434280995[/C][C]0.216181131438009[/C][C]0.108090565719005[/C][/ROW]
[ROW][C]52[/C][C]0.835805940209643[/C][C]0.328388119580713[/C][C]0.164194059790357[/C][/ROW]
[ROW][C]53[/C][C]0.887074120015914[/C][C]0.225851759968172[/C][C]0.112925879984086[/C][/ROW]
[ROW][C]54[/C][C]0.967278796204977[/C][C]0.0654424075900452[/C][C]0.0327212037950226[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58565&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.005944997272436890.01188999454487380.994055002727563
70.4577788059310460.9155576118620920.542221194068954
80.5373280900900840.9253438198198320.462671909909916
90.4786816726492910.9573633452985820.521318327350709
100.3743734422136130.7487468844272260.625626557786387
110.3291553677098360.6583107354196730.670844632290164
120.272352073253470.544704146506940.72764792674653
130.253344643879830.506689287759660.74665535612017
140.2317455544392860.4634911088785720.768254445560714
150.1960929964134060.3921859928268130.803907003586594
160.2390129273107140.4780258546214280.760987072689286
170.245001824965770.490003649931540.75499817503423
180.2636750522440970.5273501044881950.736324947755903
190.2037264162151380.4074528324302770.796273583784862
200.2177850965682490.4355701931364970.782214903431751
210.2145975678073230.4291951356146450.785402432192677
220.1636312547037160.3272625094074320.836368745296284
230.1843965414265120.3687930828530240.815603458573488
240.1360554382085420.2721108764170840.863944561791458
250.1016309727288420.2032619454576840.898369027271158
260.1009346165159580.2018692330319160.899065383484042
270.07943407725280030.1588681545056010.9205659227472
280.1306759447836490.2613518895672980.869324055216351
290.1413414878818050.2826829757636100.858658512118195
300.1329863389842220.2659726779684450.867013661015778
310.1311134095298450.2622268190596890.868886590470155
320.1904168308722460.3808336617444930.809583169127754
330.3357942914554720.6715885829109440.664205708544528
340.4360066438268520.8720132876537050.563993356173148
350.611893721125110.7762125577497790.388106278874890
360.697039381164910.6059212376701790.302960618835090
370.7512334812828910.4975330374342170.248766518717109
380.7868822057276220.4262355885447570.213117794272378
390.8171897272344050.3656205455311900.182810272765595
400.8358412098094250.3283175803811490.164158790190575
410.8794243888390480.2411512223219050.120575611160952
420.9237070240329120.1525859519341750.0762929759670875
430.9080237726394570.1839524547210850.0919762273605427
440.9526548996066590.09469020078668240.0473451003933412
450.9523803923423530.09523921531529360.0476196076576468
460.9689561356231230.06208772875375360.0310438643768768
470.9537828897586180.09243422048276370.0462171102413818
480.9256736425624530.1486527148750930.0743263574375466
490.9172551618654740.1654896762690520.0827448381345262
500.9312843861841350.137431227631730.068715613815865
510.8919094342809950.2161811314380090.108090565719005
520.8358059402096430.3283881195807130.164194059790357
530.8870741200159140.2258517599681720.112925879984086
540.9672787962049770.06544240759004520.0327212037950226







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58565&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 level10.0204081632653061OK
10% type I error level60.122448979591837NOK



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