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 07:56:47 -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/t1258815523x9wa8iwzb9oyef2.htm/, Retrieved Sun, 28 Apr 2024 00:45:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58560, Retrieved Sun, 28 Apr 2024 00:45:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact199
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 14:56:47] [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 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=58560&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=58560&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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
werkloos[t] = + 475949.678886236 + 29.5723106155533bouw[t] -11842.4901659986M1[t] -7378.78713939663M2[t] -38101.4070769657M3[t] -22886.1237129371M4[t] -36075.6385920404M5[t] -52820.644756119M6[t] + 33752.1334074593M7[t] + 39406.6590887836M8[t] + 27789.7553234363M9[t] + 4149.28979119656M10[t] + 9613.89236678436M11[t] -1607.11390273949t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloos[t] =  +  475949.678886236 +  29.5723106155533bouw[t] -11842.4901659986M1[t] -7378.78713939663M2[t] -38101.4070769657M3[t] -22886.1237129371M4[t] -36075.6385920404M5[t] -52820.644756119M6[t] +  33752.1334074593M7[t] +  39406.6590887836M8[t] +  27789.7553234363M9[t] +  4149.28979119656M10[t] +  9613.89236678436M11[t] -1607.11390273949t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58560&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloos[t] =  +  475949.678886236 +  29.5723106155533bouw[t] -11842.4901659986M1[t] -7378.78713939663M2[t] -38101.4070769657M3[t] -22886.1237129371M4[t] -36075.6385920404M5[t] -52820.644756119M6[t] +  33752.1334074593M7[t] +  39406.6590887836M8[t] +  27789.7553234363M9[t] +  4149.28979119656M10[t] +  9613.89236678436M11[t] -1607.11390273949t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58560&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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] = + 475949.678886236 + 29.5723106155533bouw[t] -11842.4901659986M1[t] -7378.78713939663M2[t] -38101.4070769657M3[t] -22886.1237129371M4[t] -36075.6385920404M5[t] -52820.644756119M6[t] + 33752.1334074593M7[t] + 39406.6590887836M8[t] + 27789.7553234363M9[t] + 4149.28979119656M10[t] + 9613.89236678436M11[t] -1607.11390273949t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)475949.67888623627487.14468917.315400
bouw29.57231061555335.3006635.5791e-061e-06
M1-11842.490165998612629.736113-0.93770.3533130.176656
M2-7378.7871393966312656.745614-0.5830.5627460.281373
M3-38101.407076965712894.807876-2.95480.0049190.00246
M4-22886.123712937112610.279469-1.81490.0760660.038033
M5-36075.638592040412560.793694-2.87210.0061480.003074
M6-52820.64475611913005.694619-4.06130.0001889.4e-05
M733752.133407459312808.5043252.63510.0114240.005712
M839406.659088783612636.7691493.11840.0031340.001567
M927789.755323436312551.1856492.21410.0318170.015908
M104149.2897911965612557.2450670.33040.7425750.371288
M119613.8923667843612757.1926040.75360.4549260.227463
t-1607.11390273949152.058078-10.569100

\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) & 475949.678886236 & 27487.144689 & 17.3154 & 0 & 0 \tabularnewline
bouw & 29.5723106155533 & 5.300663 & 5.579 & 1e-06 & 1e-06 \tabularnewline
M1 & -11842.4901659986 & 12629.736113 & -0.9377 & 0.353313 & 0.176656 \tabularnewline
M2 & -7378.78713939663 & 12656.745614 & -0.583 & 0.562746 & 0.281373 \tabularnewline
M3 & -38101.4070769657 & 12894.807876 & -2.9548 & 0.004919 & 0.00246 \tabularnewline
M4 & -22886.1237129371 & 12610.279469 & -1.8149 & 0.076066 & 0.038033 \tabularnewline
M5 & -36075.6385920404 & 12560.793694 & -2.8721 & 0.006148 & 0.003074 \tabularnewline
M6 & -52820.644756119 & 13005.694619 & -4.0613 & 0.000188 & 9.4e-05 \tabularnewline
M7 & 33752.1334074593 & 12808.504325 & 2.6351 & 0.011424 & 0.005712 \tabularnewline
M8 & 39406.6590887836 & 12636.769149 & 3.1184 & 0.003134 & 0.001567 \tabularnewline
M9 & 27789.7553234363 & 12551.185649 & 2.2141 & 0.031817 & 0.015908 \tabularnewline
M10 & 4149.28979119656 & 12557.245067 & 0.3304 & 0.742575 & 0.371288 \tabularnewline
M11 & 9613.89236678436 & 12757.192604 & 0.7536 & 0.454926 & 0.227463 \tabularnewline
t & -1607.11390273949 & 152.058078 & -10.5691 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58560&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]475949.678886236[/C][C]27487.144689[/C][C]17.3154[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bouw[/C][C]29.5723106155533[/C][C]5.300663[/C][C]5.579[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M1[/C][C]-11842.4901659986[/C][C]12629.736113[/C][C]-0.9377[/C][C]0.353313[/C][C]0.176656[/C][/ROW]
[ROW][C]M2[/C][C]-7378.78713939663[/C][C]12656.745614[/C][C]-0.583[/C][C]0.562746[/C][C]0.281373[/C][/ROW]
[ROW][C]M3[/C][C]-38101.4070769657[/C][C]12894.807876[/C][C]-2.9548[/C][C]0.004919[/C][C]0.00246[/C][/ROW]
[ROW][C]M4[/C][C]-22886.1237129371[/C][C]12610.279469[/C][C]-1.8149[/C][C]0.076066[/C][C]0.038033[/C][/ROW]
[ROW][C]M5[/C][C]-36075.6385920404[/C][C]12560.793694[/C][C]-2.8721[/C][C]0.006148[/C][C]0.003074[/C][/ROW]
[ROW][C]M6[/C][C]-52820.644756119[/C][C]13005.694619[/C][C]-4.0613[/C][C]0.000188[/C][C]9.4e-05[/C][/ROW]
[ROW][C]M7[/C][C]33752.1334074593[/C][C]12808.504325[/C][C]2.6351[/C][C]0.011424[/C][C]0.005712[/C][/ROW]
[ROW][C]M8[/C][C]39406.6590887836[/C][C]12636.769149[/C][C]3.1184[/C][C]0.003134[/C][C]0.001567[/C][/ROW]
[ROW][C]M9[/C][C]27789.7553234363[/C][C]12551.185649[/C][C]2.2141[/C][C]0.031817[/C][C]0.015908[/C][/ROW]
[ROW][C]M10[/C][C]4149.28979119656[/C][C]12557.245067[/C][C]0.3304[/C][C]0.742575[/C][C]0.371288[/C][/ROW]
[ROW][C]M11[/C][C]9613.89236678436[/C][C]12757.192604[/C][C]0.7536[/C][C]0.454926[/C][C]0.227463[/C][/ROW]
[ROW][C]t[/C][C]-1607.11390273949[/C][C]152.058078[/C][C]-10.5691[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58560&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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)475949.67888623627487.14468917.315400
bouw29.57231061555335.3006635.5791e-061e-06
M1-11842.490165998612629.736113-0.93770.3533130.176656
M2-7378.7871393966312656.745614-0.5830.5627460.281373
M3-38101.407076965712894.807876-2.95480.0049190.00246
M4-22886.123712937112610.279469-1.81490.0760660.038033
M5-36075.638592040412560.793694-2.87210.0061480.003074
M6-52820.64475611913005.694619-4.06130.0001889.4e-05
M733752.133407459312808.5043252.63510.0114240.005712
M839406.659088783612636.7691493.11840.0031340.001567
M927789.755323436312551.1856492.21410.0318170.015908
M104149.2897911965612557.2450670.33040.7425750.371288
M119613.8923667843612757.1926040.75360.4549260.227463
t-1607.11390273949152.058078-10.569100







Multiple Linear Regression - Regression Statistics
Multiple R0.909203821455076
R-squared0.826651588948513
Adjusted R-squared0.777661820607875
F-TEST (value)16.8739640326650
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.53130849614536e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19789.9972825814
Sum Squared Residuals18015623652.4507

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.909203821455076 \tabularnewline
R-squared & 0.826651588948513 \tabularnewline
Adjusted R-squared & 0.777661820607875 \tabularnewline
F-TEST (value) & 16.8739640326650 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 2.53130849614536e-13 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 19789.9972825814 \tabularnewline
Sum Squared Residuals & 18015623652.4507 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58560&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.909203821455076[/C][/ROW]
[ROW][C]R-squared[/C][C]0.826651588948513[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.777661820607875[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]16.8739640326650[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]2.53130849614536e-13[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]19789.9972825814[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]18015623652.4507[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58560&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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.909203821455076
R-squared0.826651588948513
Adjusted R-squared0.777661820607875
F-TEST (value)16.8739640326650
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value2.53130849614536e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation19789.9972825814
Sum Squared Residuals18015623652.4507







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1562000604861.178120772-42861.1781207716
2561000580925.253826943-19925.2538269429
3555000588281.560832707-33281.5608327068
4544000563061.286455774-19061.2864557744
5537000550246.002485174-13246.0024851737
6543000577908.397736157-34908.3977361566
7594000614434.617208719-20434.617208719
8611000613661.742356969-2661.74235696869
9613000611645.6304121771354.36958782336
10611000601065.9170425129934.0829574882
11594000586056.2715426377943.7284573629
12595000584061.82618516610938.1738148341
13591000565732.79086486225267.2091351385
14589000577047.06082477211952.9391752277
15584000568079.45237075115920.5476292492
16573000573111.651753529-111.651753529381
17567000582741.751540134-15741.7515401337
18569000559569.344842989430.6551570196
19621000602276.17723419318723.8227658065
20629000629951.865194605-951.865194605427
21628000624002.6359379453997.36406205522
22612000585358.7997941226641.2002058801
23595000581409.19846446213590.8015355379
24597000606887.42966884-9887.4296688399
25593000593408.253289486-408.2532894863
26590000575830.37577800114169.6242219986
27580000574906.435811415093.56418858954
28574000553086.97715526720913.0228447333
29573000552041.47280965620958.5271903438
30573000539869.96566148933130.0343385113
31620000596475.78404201223524.2159579881
32626000603835.29460953922164.7053904613
33620000598891.52391380721108.4760861931
34588000582160.7699361075839.23006389302
35566000551921.38446922214078.6155307777
36557000554865.5149845492134.4850154515
37561000544698.43739413716301.5626058631
38549000532266.14192975816733.8580702417
39532000526462.7707116015537.22928839899
40526000513130.56520212112869.4347978790
41511000495849.86232857215150.1376714282
42499000506537.751286227-7537.75128622706
43555000567756.850122777-12756.8501227765
44565000580025.364252485-15025.3642524852
45542000544060.239721038-2060.23972103791
46527000569588.317612964-42588.3176129637
47510000535622.821008519-25622.8210085193
48514000512070.161212311929.83878769025
49517000515299.3403307441700.65966925625
50508000530931.167640525-22931.1676405252
51493000486269.7802735316730.21972646904
52490000504609.519433309-14609.5194333085
53469000476120.910836465-7120.91083646461
54478000478114.540473147-114.540473147198
55528000537056.571392299-9056.57139229907
56534000537525.733586402-3525.73358640195
57518000542399.970015034-24399.9700150338
58506000505826.195614298173.804385702344
59502000511990.324515159-9990.32451515911
60516000521115.067949136-5115.06794913591

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 562000 & 604861.178120772 & -42861.1781207716 \tabularnewline
2 & 561000 & 580925.253826943 & -19925.2538269429 \tabularnewline
3 & 555000 & 588281.560832707 & -33281.5608327068 \tabularnewline
4 & 544000 & 563061.286455774 & -19061.2864557744 \tabularnewline
5 & 537000 & 550246.002485174 & -13246.0024851737 \tabularnewline
6 & 543000 & 577908.397736157 & -34908.3977361566 \tabularnewline
7 & 594000 & 614434.617208719 & -20434.617208719 \tabularnewline
8 & 611000 & 613661.742356969 & -2661.74235696869 \tabularnewline
9 & 613000 & 611645.630412177 & 1354.36958782336 \tabularnewline
10 & 611000 & 601065.917042512 & 9934.0829574882 \tabularnewline
11 & 594000 & 586056.271542637 & 7943.7284573629 \tabularnewline
12 & 595000 & 584061.826185166 & 10938.1738148341 \tabularnewline
13 & 591000 & 565732.790864862 & 25267.2091351385 \tabularnewline
14 & 589000 & 577047.060824772 & 11952.9391752277 \tabularnewline
15 & 584000 & 568079.452370751 & 15920.5476292492 \tabularnewline
16 & 573000 & 573111.651753529 & -111.651753529381 \tabularnewline
17 & 567000 & 582741.751540134 & -15741.7515401337 \tabularnewline
18 & 569000 & 559569.34484298 & 9430.6551570196 \tabularnewline
19 & 621000 & 602276.177234193 & 18723.8227658065 \tabularnewline
20 & 629000 & 629951.865194605 & -951.865194605427 \tabularnewline
21 & 628000 & 624002.635937945 & 3997.36406205522 \tabularnewline
22 & 612000 & 585358.79979412 & 26641.2002058801 \tabularnewline
23 & 595000 & 581409.198464462 & 13590.8015355379 \tabularnewline
24 & 597000 & 606887.42966884 & -9887.4296688399 \tabularnewline
25 & 593000 & 593408.253289486 & -408.2532894863 \tabularnewline
26 & 590000 & 575830.375778001 & 14169.6242219986 \tabularnewline
27 & 580000 & 574906.43581141 & 5093.56418858954 \tabularnewline
28 & 574000 & 553086.977155267 & 20913.0228447333 \tabularnewline
29 & 573000 & 552041.472809656 & 20958.5271903438 \tabularnewline
30 & 573000 & 539869.965661489 & 33130.0343385113 \tabularnewline
31 & 620000 & 596475.784042012 & 23524.2159579881 \tabularnewline
32 & 626000 & 603835.294609539 & 22164.7053904613 \tabularnewline
33 & 620000 & 598891.523913807 & 21108.4760861931 \tabularnewline
34 & 588000 & 582160.769936107 & 5839.23006389302 \tabularnewline
35 & 566000 & 551921.384469222 & 14078.6155307777 \tabularnewline
36 & 557000 & 554865.514984549 & 2134.4850154515 \tabularnewline
37 & 561000 & 544698.437394137 & 16301.5626058631 \tabularnewline
38 & 549000 & 532266.141929758 & 16733.8580702417 \tabularnewline
39 & 532000 & 526462.770711601 & 5537.22928839899 \tabularnewline
40 & 526000 & 513130.565202121 & 12869.4347978790 \tabularnewline
41 & 511000 & 495849.862328572 & 15150.1376714282 \tabularnewline
42 & 499000 & 506537.751286227 & -7537.75128622706 \tabularnewline
43 & 555000 & 567756.850122777 & -12756.8501227765 \tabularnewline
44 & 565000 & 580025.364252485 & -15025.3642524852 \tabularnewline
45 & 542000 & 544060.239721038 & -2060.23972103791 \tabularnewline
46 & 527000 & 569588.317612964 & -42588.3176129637 \tabularnewline
47 & 510000 & 535622.821008519 & -25622.8210085193 \tabularnewline
48 & 514000 & 512070.16121231 & 1929.83878769025 \tabularnewline
49 & 517000 & 515299.340330744 & 1700.65966925625 \tabularnewline
50 & 508000 & 530931.167640525 & -22931.1676405252 \tabularnewline
51 & 493000 & 486269.780273531 & 6730.21972646904 \tabularnewline
52 & 490000 & 504609.519433309 & -14609.5194333085 \tabularnewline
53 & 469000 & 476120.910836465 & -7120.91083646461 \tabularnewline
54 & 478000 & 478114.540473147 & -114.540473147198 \tabularnewline
55 & 528000 & 537056.571392299 & -9056.57139229907 \tabularnewline
56 & 534000 & 537525.733586402 & -3525.73358640195 \tabularnewline
57 & 518000 & 542399.970015034 & -24399.9700150338 \tabularnewline
58 & 506000 & 505826.195614298 & 173.804385702344 \tabularnewline
59 & 502000 & 511990.324515159 & -9990.32451515911 \tabularnewline
60 & 516000 & 521115.067949136 & -5115.06794913591 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58560&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]604861.178120772[/C][C]-42861.1781207716[/C][/ROW]
[ROW][C]2[/C][C]561000[/C][C]580925.253826943[/C][C]-19925.2538269429[/C][/ROW]
[ROW][C]3[/C][C]555000[/C][C]588281.560832707[/C][C]-33281.5608327068[/C][/ROW]
[ROW][C]4[/C][C]544000[/C][C]563061.286455774[/C][C]-19061.2864557744[/C][/ROW]
[ROW][C]5[/C][C]537000[/C][C]550246.002485174[/C][C]-13246.0024851737[/C][/ROW]
[ROW][C]6[/C][C]543000[/C][C]577908.397736157[/C][C]-34908.3977361566[/C][/ROW]
[ROW][C]7[/C][C]594000[/C][C]614434.617208719[/C][C]-20434.617208719[/C][/ROW]
[ROW][C]8[/C][C]611000[/C][C]613661.742356969[/C][C]-2661.74235696869[/C][/ROW]
[ROW][C]9[/C][C]613000[/C][C]611645.630412177[/C][C]1354.36958782336[/C][/ROW]
[ROW][C]10[/C][C]611000[/C][C]601065.917042512[/C][C]9934.0829574882[/C][/ROW]
[ROW][C]11[/C][C]594000[/C][C]586056.271542637[/C][C]7943.7284573629[/C][/ROW]
[ROW][C]12[/C][C]595000[/C][C]584061.826185166[/C][C]10938.1738148341[/C][/ROW]
[ROW][C]13[/C][C]591000[/C][C]565732.790864862[/C][C]25267.2091351385[/C][/ROW]
[ROW][C]14[/C][C]589000[/C][C]577047.060824772[/C][C]11952.9391752277[/C][/ROW]
[ROW][C]15[/C][C]584000[/C][C]568079.452370751[/C][C]15920.5476292492[/C][/ROW]
[ROW][C]16[/C][C]573000[/C][C]573111.651753529[/C][C]-111.651753529381[/C][/ROW]
[ROW][C]17[/C][C]567000[/C][C]582741.751540134[/C][C]-15741.7515401337[/C][/ROW]
[ROW][C]18[/C][C]569000[/C][C]559569.34484298[/C][C]9430.6551570196[/C][/ROW]
[ROW][C]19[/C][C]621000[/C][C]602276.177234193[/C][C]18723.8227658065[/C][/ROW]
[ROW][C]20[/C][C]629000[/C][C]629951.865194605[/C][C]-951.865194605427[/C][/ROW]
[ROW][C]21[/C][C]628000[/C][C]624002.635937945[/C][C]3997.36406205522[/C][/ROW]
[ROW][C]22[/C][C]612000[/C][C]585358.79979412[/C][C]26641.2002058801[/C][/ROW]
[ROW][C]23[/C][C]595000[/C][C]581409.198464462[/C][C]13590.8015355379[/C][/ROW]
[ROW][C]24[/C][C]597000[/C][C]606887.42966884[/C][C]-9887.4296688399[/C][/ROW]
[ROW][C]25[/C][C]593000[/C][C]593408.253289486[/C][C]-408.2532894863[/C][/ROW]
[ROW][C]26[/C][C]590000[/C][C]575830.375778001[/C][C]14169.6242219986[/C][/ROW]
[ROW][C]27[/C][C]580000[/C][C]574906.43581141[/C][C]5093.56418858954[/C][/ROW]
[ROW][C]28[/C][C]574000[/C][C]553086.977155267[/C][C]20913.0228447333[/C][/ROW]
[ROW][C]29[/C][C]573000[/C][C]552041.472809656[/C][C]20958.5271903438[/C][/ROW]
[ROW][C]30[/C][C]573000[/C][C]539869.965661489[/C][C]33130.0343385113[/C][/ROW]
[ROW][C]31[/C][C]620000[/C][C]596475.784042012[/C][C]23524.2159579881[/C][/ROW]
[ROW][C]32[/C][C]626000[/C][C]603835.294609539[/C][C]22164.7053904613[/C][/ROW]
[ROW][C]33[/C][C]620000[/C][C]598891.523913807[/C][C]21108.4760861931[/C][/ROW]
[ROW][C]34[/C][C]588000[/C][C]582160.769936107[/C][C]5839.23006389302[/C][/ROW]
[ROW][C]35[/C][C]566000[/C][C]551921.384469222[/C][C]14078.6155307777[/C][/ROW]
[ROW][C]36[/C][C]557000[/C][C]554865.514984549[/C][C]2134.4850154515[/C][/ROW]
[ROW][C]37[/C][C]561000[/C][C]544698.437394137[/C][C]16301.5626058631[/C][/ROW]
[ROW][C]38[/C][C]549000[/C][C]532266.141929758[/C][C]16733.8580702417[/C][/ROW]
[ROW][C]39[/C][C]532000[/C][C]526462.770711601[/C][C]5537.22928839899[/C][/ROW]
[ROW][C]40[/C][C]526000[/C][C]513130.565202121[/C][C]12869.4347978790[/C][/ROW]
[ROW][C]41[/C][C]511000[/C][C]495849.862328572[/C][C]15150.1376714282[/C][/ROW]
[ROW][C]42[/C][C]499000[/C][C]506537.751286227[/C][C]-7537.75128622706[/C][/ROW]
[ROW][C]43[/C][C]555000[/C][C]567756.850122777[/C][C]-12756.8501227765[/C][/ROW]
[ROW][C]44[/C][C]565000[/C][C]580025.364252485[/C][C]-15025.3642524852[/C][/ROW]
[ROW][C]45[/C][C]542000[/C][C]544060.239721038[/C][C]-2060.23972103791[/C][/ROW]
[ROW][C]46[/C][C]527000[/C][C]569588.317612964[/C][C]-42588.3176129637[/C][/ROW]
[ROW][C]47[/C][C]510000[/C][C]535622.821008519[/C][C]-25622.8210085193[/C][/ROW]
[ROW][C]48[/C][C]514000[/C][C]512070.16121231[/C][C]1929.83878769025[/C][/ROW]
[ROW][C]49[/C][C]517000[/C][C]515299.340330744[/C][C]1700.65966925625[/C][/ROW]
[ROW][C]50[/C][C]508000[/C][C]530931.167640525[/C][C]-22931.1676405252[/C][/ROW]
[ROW][C]51[/C][C]493000[/C][C]486269.780273531[/C][C]6730.21972646904[/C][/ROW]
[ROW][C]52[/C][C]490000[/C][C]504609.519433309[/C][C]-14609.5194333085[/C][/ROW]
[ROW][C]53[/C][C]469000[/C][C]476120.910836465[/C][C]-7120.91083646461[/C][/ROW]
[ROW][C]54[/C][C]478000[/C][C]478114.540473147[/C][C]-114.540473147198[/C][/ROW]
[ROW][C]55[/C][C]528000[/C][C]537056.571392299[/C][C]-9056.57139229907[/C][/ROW]
[ROW][C]56[/C][C]534000[/C][C]537525.733586402[/C][C]-3525.73358640195[/C][/ROW]
[ROW][C]57[/C][C]518000[/C][C]542399.970015034[/C][C]-24399.9700150338[/C][/ROW]
[ROW][C]58[/C][C]506000[/C][C]505826.195614298[/C][C]173.804385702344[/C][/ROW]
[ROW][C]59[/C][C]502000[/C][C]511990.324515159[/C][C]-9990.32451515911[/C][/ROW]
[ROW][C]60[/C][C]516000[/C][C]521115.067949136[/C][C]-5115.06794913591[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58560&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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
1562000604861.178120772-42861.1781207716
2561000580925.253826943-19925.2538269429
3555000588281.560832707-33281.5608327068
4544000563061.286455774-19061.2864557744
5537000550246.002485174-13246.0024851737
6543000577908.397736157-34908.3977361566
7594000614434.617208719-20434.617208719
8611000613661.742356969-2661.74235696869
9613000611645.6304121771354.36958782336
10611000601065.9170425129934.0829574882
11594000586056.2715426377943.7284573629
12595000584061.82618516610938.1738148341
13591000565732.79086486225267.2091351385
14589000577047.06082477211952.9391752277
15584000568079.45237075115920.5476292492
16573000573111.651753529-111.651753529381
17567000582741.751540134-15741.7515401337
18569000559569.344842989430.6551570196
19621000602276.17723419318723.8227658065
20629000629951.865194605-951.865194605427
21628000624002.6359379453997.36406205522
22612000585358.7997941226641.2002058801
23595000581409.19846446213590.8015355379
24597000606887.42966884-9887.4296688399
25593000593408.253289486-408.2532894863
26590000575830.37577800114169.6242219986
27580000574906.435811415093.56418858954
28574000553086.97715526720913.0228447333
29573000552041.47280965620958.5271903438
30573000539869.96566148933130.0343385113
31620000596475.78404201223524.2159579881
32626000603835.29460953922164.7053904613
33620000598891.52391380721108.4760861931
34588000582160.7699361075839.23006389302
35566000551921.38446922214078.6155307777
36557000554865.5149845492134.4850154515
37561000544698.43739413716301.5626058631
38549000532266.14192975816733.8580702417
39532000526462.7707116015537.22928839899
40526000513130.56520212112869.4347978790
41511000495849.86232857215150.1376714282
42499000506537.751286227-7537.75128622706
43555000567756.850122777-12756.8501227765
44565000580025.364252485-15025.3642524852
45542000544060.239721038-2060.23972103791
46527000569588.317612964-42588.3176129637
47510000535622.821008519-25622.8210085193
48514000512070.161212311929.83878769025
49517000515299.3403307441700.65966925625
50508000530931.167640525-22931.1676405252
51493000486269.7802735316730.21972646904
52490000504609.519433309-14609.5194333085
53469000476120.910836465-7120.91083646461
54478000478114.540473147-114.540473147198
55528000537056.571392299-9056.57139229907
56534000537525.733586402-3525.73358640195
57518000542399.970015034-24399.9700150338
58506000505826.195614298173.804385702344
59502000511990.324515159-9990.32451515911
60516000521115.067949136-5115.06794913591







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
178.7270039363367e-050.0001745400787267340.999912729960637
187.82089142366058e-050.0001564178284732120.999921791085763
198.6912668201574e-061.73825336403148e-050.99999130873318
200.0007465190370844820.001493038074168960.999253480962915
210.001835493075754440.003670986151508880.998164506924246
220.04144536334184030.08289072668368060.95855463665816
230.08191770378959920.1638354075791980.9180822962104
240.1090093522113570.2180187044227140.890990647788643
250.09975985532232550.1995197106446510.900240144677675
260.08038891572442110.1607778314488420.919611084275579
270.07510129653474770.1502025930694950.924898703465252
280.05130446305238680.1026089261047740.948695536947613
290.03165858298983340.06331716597966680.968341417010167
300.02931792420064780.05863584840129570.970682075799352
310.02861323641955160.05722647283910320.971386763580448
320.03871931972951140.07743863945902280.961280680270489
330.1750036586717920.3500073173435830.824996341328208
340.6214169109598260.7571661780803470.378583089040174
350.828237557142980.3435248857140410.171762442857020
360.8637026642146640.2725946715706710.136297335785336
370.8646653744587130.2706692510825750.135334625541287
380.891080453113560.2178390937728810.108919546886441
390.8777557289863240.2444885420273520.122244271013676
400.8771359076606460.2457281846787080.122864092339354
410.9418839635555560.1162320728888880.058116036444444
420.8967378123942960.2065243752114080.103262187605704
430.8421788529259890.3156422941480220.157821147074011

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 8.7270039363367e-05 & 0.000174540078726734 & 0.999912729960637 \tabularnewline
18 & 7.82089142366058e-05 & 0.000156417828473212 & 0.999921791085763 \tabularnewline
19 & 8.6912668201574e-06 & 1.73825336403148e-05 & 0.99999130873318 \tabularnewline
20 & 0.000746519037084482 & 0.00149303807416896 & 0.999253480962915 \tabularnewline
21 & 0.00183549307575444 & 0.00367098615150888 & 0.998164506924246 \tabularnewline
22 & 0.0414453633418403 & 0.0828907266836806 & 0.95855463665816 \tabularnewline
23 & 0.0819177037895992 & 0.163835407579198 & 0.9180822962104 \tabularnewline
24 & 0.109009352211357 & 0.218018704422714 & 0.890990647788643 \tabularnewline
25 & 0.0997598553223255 & 0.199519710644651 & 0.900240144677675 \tabularnewline
26 & 0.0803889157244211 & 0.160777831448842 & 0.919611084275579 \tabularnewline
27 & 0.0751012965347477 & 0.150202593069495 & 0.924898703465252 \tabularnewline
28 & 0.0513044630523868 & 0.102608926104774 & 0.948695536947613 \tabularnewline
29 & 0.0316585829898334 & 0.0633171659796668 & 0.968341417010167 \tabularnewline
30 & 0.0293179242006478 & 0.0586358484012957 & 0.970682075799352 \tabularnewline
31 & 0.0286132364195516 & 0.0572264728391032 & 0.971386763580448 \tabularnewline
32 & 0.0387193197295114 & 0.0774386394590228 & 0.961280680270489 \tabularnewline
33 & 0.175003658671792 & 0.350007317343583 & 0.824996341328208 \tabularnewline
34 & 0.621416910959826 & 0.757166178080347 & 0.378583089040174 \tabularnewline
35 & 0.82823755714298 & 0.343524885714041 & 0.171762442857020 \tabularnewline
36 & 0.863702664214664 & 0.272594671570671 & 0.136297335785336 \tabularnewline
37 & 0.864665374458713 & 0.270669251082575 & 0.135334625541287 \tabularnewline
38 & 0.89108045311356 & 0.217839093772881 & 0.108919546886441 \tabularnewline
39 & 0.877755728986324 & 0.244488542027352 & 0.122244271013676 \tabularnewline
40 & 0.877135907660646 & 0.245728184678708 & 0.122864092339354 \tabularnewline
41 & 0.941883963555556 & 0.116232072888888 & 0.058116036444444 \tabularnewline
42 & 0.896737812394296 & 0.206524375211408 & 0.103262187605704 \tabularnewline
43 & 0.842178852925989 & 0.315642294148022 & 0.157821147074011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58560&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]8.7270039363367e-05[/C][C]0.000174540078726734[/C][C]0.999912729960637[/C][/ROW]
[ROW][C]18[/C][C]7.82089142366058e-05[/C][C]0.000156417828473212[/C][C]0.999921791085763[/C][/ROW]
[ROW][C]19[/C][C]8.6912668201574e-06[/C][C]1.73825336403148e-05[/C][C]0.99999130873318[/C][/ROW]
[ROW][C]20[/C][C]0.000746519037084482[/C][C]0.00149303807416896[/C][C]0.999253480962915[/C][/ROW]
[ROW][C]21[/C][C]0.00183549307575444[/C][C]0.00367098615150888[/C][C]0.998164506924246[/C][/ROW]
[ROW][C]22[/C][C]0.0414453633418403[/C][C]0.0828907266836806[/C][C]0.95855463665816[/C][/ROW]
[ROW][C]23[/C][C]0.0819177037895992[/C][C]0.163835407579198[/C][C]0.9180822962104[/C][/ROW]
[ROW][C]24[/C][C]0.109009352211357[/C][C]0.218018704422714[/C][C]0.890990647788643[/C][/ROW]
[ROW][C]25[/C][C]0.0997598553223255[/C][C]0.199519710644651[/C][C]0.900240144677675[/C][/ROW]
[ROW][C]26[/C][C]0.0803889157244211[/C][C]0.160777831448842[/C][C]0.919611084275579[/C][/ROW]
[ROW][C]27[/C][C]0.0751012965347477[/C][C]0.150202593069495[/C][C]0.924898703465252[/C][/ROW]
[ROW][C]28[/C][C]0.0513044630523868[/C][C]0.102608926104774[/C][C]0.948695536947613[/C][/ROW]
[ROW][C]29[/C][C]0.0316585829898334[/C][C]0.0633171659796668[/C][C]0.968341417010167[/C][/ROW]
[ROW][C]30[/C][C]0.0293179242006478[/C][C]0.0586358484012957[/C][C]0.970682075799352[/C][/ROW]
[ROW][C]31[/C][C]0.0286132364195516[/C][C]0.0572264728391032[/C][C]0.971386763580448[/C][/ROW]
[ROW][C]32[/C][C]0.0387193197295114[/C][C]0.0774386394590228[/C][C]0.961280680270489[/C][/ROW]
[ROW][C]33[/C][C]0.175003658671792[/C][C]0.350007317343583[/C][C]0.824996341328208[/C][/ROW]
[ROW][C]34[/C][C]0.621416910959826[/C][C]0.757166178080347[/C][C]0.378583089040174[/C][/ROW]
[ROW][C]35[/C][C]0.82823755714298[/C][C]0.343524885714041[/C][C]0.171762442857020[/C][/ROW]
[ROW][C]36[/C][C]0.863702664214664[/C][C]0.272594671570671[/C][C]0.136297335785336[/C][/ROW]
[ROW][C]37[/C][C]0.864665374458713[/C][C]0.270669251082575[/C][C]0.135334625541287[/C][/ROW]
[ROW][C]38[/C][C]0.89108045311356[/C][C]0.217839093772881[/C][C]0.108919546886441[/C][/ROW]
[ROW][C]39[/C][C]0.877755728986324[/C][C]0.244488542027352[/C][C]0.122244271013676[/C][/ROW]
[ROW][C]40[/C][C]0.877135907660646[/C][C]0.245728184678708[/C][C]0.122864092339354[/C][/ROW]
[ROW][C]41[/C][C]0.941883963555556[/C][C]0.116232072888888[/C][C]0.058116036444444[/C][/ROW]
[ROW][C]42[/C][C]0.896737812394296[/C][C]0.206524375211408[/C][C]0.103262187605704[/C][/ROW]
[ROW][C]43[/C][C]0.842178852925989[/C][C]0.315642294148022[/C][C]0.157821147074011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58560&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58560&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
178.7270039363367e-050.0001745400787267340.999912729960637
187.82089142366058e-050.0001564178284732120.999921791085763
198.6912668201574e-061.73825336403148e-050.99999130873318
200.0007465190370844820.001493038074168960.999253480962915
210.001835493075754440.003670986151508880.998164506924246
220.04144536334184030.08289072668368060.95855463665816
230.08191770378959920.1638354075791980.9180822962104
240.1090093522113570.2180187044227140.890990647788643
250.09975985532232550.1995197106446510.900240144677675
260.08038891572442110.1607778314488420.919611084275579
270.07510129653474770.1502025930694950.924898703465252
280.05130446305238680.1026089261047740.948695536947613
290.03165858298983340.06331716597966680.968341417010167
300.02931792420064780.05863584840129570.970682075799352
310.02861323641955160.05722647283910320.971386763580448
320.03871931972951140.07743863945902280.961280680270489
330.1750036586717920.3500073173435830.824996341328208
340.6214169109598260.7571661780803470.378583089040174
350.828237557142980.3435248857140410.171762442857020
360.8637026642146640.2725946715706710.136297335785336
370.8646653744587130.2706692510825750.135334625541287
380.891080453113560.2178390937728810.108919546886441
390.8777557289863240.2444885420273520.122244271013676
400.8771359076606460.2457281846787080.122864092339354
410.9418839635555560.1162320728888880.058116036444444
420.8967378123942960.2065243752114080.103262187605704
430.8421788529259890.3156422941480220.157821147074011







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

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

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



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')
}