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:05:34 -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/t125881620082otl7sfmlihxdy.htm/, Retrieved Sat, 27 Apr 2024 19:56:54 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58564, Retrieved Sat, 27 Apr 2024 19:56:54 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact179
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:05:34] [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=58564&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=58564&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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] = + 381414.27936713 + 37.4491518775223bouw[t] + 4992.94074910514M1[t] + 10048.7439533093M2[t] -28068.8928462940M3[t] -8865.01535250223M4[t] -24939.2677870364M5[t] -48445.9927756869M6[t] + 45513.448838068M7[t] + 48135.1523482365M8[t] + 33732.7592273591M9[t] + 5862.19165214424M10[t] + 14849.0793547867M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloos[t] =  +  381414.27936713 +  37.4491518775223bouw[t] +  4992.94074910514M1[t] +  10048.7439533093M2[t] -28068.8928462940M3[t] -8865.01535250223M4[t] -24939.2677870364M5[t] -48445.9927756869M6[t] +  45513.448838068M7[t] +  48135.1523482365M8[t] +  33732.7592273591M9[t] +  5862.19165214424M10[t] +  14849.0793547867M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58564&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloos[t] =  +  381414.27936713 +  37.4491518775223bouw[t] +  4992.94074910514M1[t] +  10048.7439533093M2[t] -28068.8928462940M3[t] -8865.01535250223M4[t] -24939.2677870364M5[t] -48445.9927756869M6[t] +  45513.448838068M7[t] +  48135.1523482365M8[t] +  33732.7592273591M9[t] +  5862.19165214424M10[t] +  14849.0793547867M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58564&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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] = + 381414.27936713 + 37.4491518775223bouw[t] + 4992.94074910514M1[t] + 10048.7439533093M2[t] -28068.8928462940M3[t] -8865.01535250223M4[t] -24939.2677870364M5[t] -48445.9927756869M6[t] + 45513.448838068M7[t] + 48135.1523482365M8[t] + 33732.7592273591M9[t] + 5862.19165214424M10[t] + 14849.0793547867M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)381414.2793671347610.1433768.011200
bouw37.44915187752239.6132213.89560.0003090.000154
M14992.9407491051422950.2160240.21760.8287170.414359
M210048.743953309322986.837660.43720.6640030.332002
M3-28068.892846294023556.424575-1.19160.2394160.119708
M4-8865.0153525022322971.13704-0.38590.7012980.350649
M5-24939.267787036422927.571402-1.08770.2822560.141128
M6-48445.992775686923811.563426-2.03460.0475590.02378
M745513.44883806823373.704541.94720.0574990.028749
M848135.152348236523098.3539782.08390.042630.021315
M933732.759227359122967.9846041.46870.148580.07429
M105862.1916521442423000.2525470.25490.7999320.399966
M1114849.079354786723350.8076960.63590.5279180.263959

\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) & 381414.27936713 & 47610.143376 & 8.0112 & 0 & 0 \tabularnewline
bouw & 37.4491518775223 & 9.613221 & 3.8956 & 0.000309 & 0.000154 \tabularnewline
M1 & 4992.94074910514 & 22950.216024 & 0.2176 & 0.828717 & 0.414359 \tabularnewline
M2 & 10048.7439533093 & 22986.83766 & 0.4372 & 0.664003 & 0.332002 \tabularnewline
M3 & -28068.8928462940 & 23556.424575 & -1.1916 & 0.239416 & 0.119708 \tabularnewline
M4 & -8865.01535250223 & 22971.13704 & -0.3859 & 0.701298 & 0.350649 \tabularnewline
M5 & -24939.2677870364 & 22927.571402 & -1.0877 & 0.282256 & 0.141128 \tabularnewline
M6 & -48445.9927756869 & 23811.563426 & -2.0346 & 0.047559 & 0.02378 \tabularnewline
M7 & 45513.448838068 & 23373.70454 & 1.9472 & 0.057499 & 0.028749 \tabularnewline
M8 & 48135.1523482365 & 23098.353978 & 2.0839 & 0.04263 & 0.021315 \tabularnewline
M9 & 33732.7592273591 & 22967.984604 & 1.4687 & 0.14858 & 0.07429 \tabularnewline
M10 & 5862.19165214424 & 23000.252547 & 0.2549 & 0.799932 & 0.399966 \tabularnewline
M11 & 14849.0793547867 & 23350.807696 & 0.6359 & 0.527918 & 0.263959 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58564&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]381414.27936713[/C][C]47610.143376[/C][C]8.0112[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bouw[/C][C]37.4491518775223[/C][C]9.613221[/C][C]3.8956[/C][C]0.000309[/C][C]0.000154[/C][/ROW]
[ROW][C]M1[/C][C]4992.94074910514[/C][C]22950.216024[/C][C]0.2176[/C][C]0.828717[/C][C]0.414359[/C][/ROW]
[ROW][C]M2[/C][C]10048.7439533093[/C][C]22986.83766[/C][C]0.4372[/C][C]0.664003[/C][C]0.332002[/C][/ROW]
[ROW][C]M3[/C][C]-28068.8928462940[/C][C]23556.424575[/C][C]-1.1916[/C][C]0.239416[/C][C]0.119708[/C][/ROW]
[ROW][C]M4[/C][C]-8865.01535250223[/C][C]22971.13704[/C][C]-0.3859[/C][C]0.701298[/C][C]0.350649[/C][/ROW]
[ROW][C]M5[/C][C]-24939.2677870364[/C][C]22927.571402[/C][C]-1.0877[/C][C]0.282256[/C][C]0.141128[/C][/ROW]
[ROW][C]M6[/C][C]-48445.9927756869[/C][C]23811.563426[/C][C]-2.0346[/C][C]0.047559[/C][C]0.02378[/C][/ROW]
[ROW][C]M7[/C][C]45513.448838068[/C][C]23373.70454[/C][C]1.9472[/C][C]0.057499[/C][C]0.028749[/C][/ROW]
[ROW][C]M8[/C][C]48135.1523482365[/C][C]23098.353978[/C][C]2.0839[/C][C]0.04263[/C][C]0.021315[/C][/ROW]
[ROW][C]M9[/C][C]33732.7592273591[/C][C]22967.984604[/C][C]1.4687[/C][C]0.14858[/C][C]0.07429[/C][/ROW]
[ROW][C]M10[/C][C]5862.19165214424[/C][C]23000.252547[/C][C]0.2549[/C][C]0.799932[/C][C]0.399966[/C][/ROW]
[ROW][C]M11[/C][C]14849.0793547867[/C][C]23350.807696[/C][C]0.6359[/C][C]0.527918[/C][C]0.263959[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58564&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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)381414.2793671347610.1433768.011200
bouw37.44915187752239.6132213.89560.0003090.000154
M14992.9407491051422950.2160240.21760.8287170.414359
M210048.743953309322986.837660.43720.6640030.332002
M3-28068.892846294023556.424575-1.19160.2394160.119708
M4-8865.0153525022322971.13704-0.38590.7012980.350649
M5-24939.267787036422927.571402-1.08770.2822560.141128
M6-48445.992775686923811.563426-2.03460.0475590.02378
M745513.44883806823373.704541.94720.0574990.028749
M848135.152348236523098.3539782.08390.042630.021315
M933732.759227359122967.9846041.46870.148580.07429
M105862.1916521442423000.2525470.25490.7999320.399966
M1114849.079354786723350.8076960.63590.5279180.263959







Multiple Linear Regression - Regression Statistics
Multiple R0.63694263876158
R-squared0.405695925072565
Adjusted R-squared0.253958714452794
F-TEST (value)2.67367459448806
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00801932413477702
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36251.012655262
Sum Squared Residuals61764388171.0023

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.63694263876158 \tabularnewline
R-squared & 0.405695925072565 \tabularnewline
Adjusted R-squared & 0.253958714452794 \tabularnewline
F-TEST (value) & 2.67367459448806 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00801932413477702 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 36251.012655262 \tabularnewline
Sum Squared Residuals & 61764388171.0023 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58564&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.63694263876158[/C][/ROW]
[ROW][C]R-squared[/C][C]0.405695925072565[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.253958714452794[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.67367459448806[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00801932413477702[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]36251.012655262[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]61764388171.0023[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58564&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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.63694263876158
R-squared0.405695925072565
Adjusted R-squared0.253958714452794
F-TEST (value)2.67367459448806
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00801932413477702
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation36251.012655262
Sum Squared Residuals61764388171.0023







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1562000566687.437254627-4687.43725462689
2561000537814.30885779623185.6911422039
3555000549953.4338778285046.56612217234
4544000519986.57495643324013.4250435672
5537000506421.41569769330578.5843023074
6543000541185.5710304671814.42896953326
7594000573803.3018688420196.6981311598
8611000570320.79362297340679.2063770275
9613000570111.62906367642888.3709363239
10611000560815.84081971250184.1591802878
11594000545910.16962449648089.8303755045
12595000542745.22565549652254.7743445042
13591000541559.0563448149440.9436551903
14589000557325.31698598531674.6830140147
15584000548792.51016962435207.4898303755
16573000557136.13361893515863.8663810652
17567000571994.880635234-4994.88063523412
18569000542383.94389054726616.0561094526
19621000582828.54747132338171.452528677
20629000615372.12333163213627.8766683682
21628000610182.22157262517817.7784273751
22612000565347.18819689346652.8118031075
23595000564447.49980386930552.5001961309
24597000596072.817929087927.182070912546
25593000601028.309526315-8028.30952631508
26590000580206.7487831519793.25121684864
27580000581860.111277477-1860.11127747666
28574000556199.90482199717800.0951780032
29573000557539.50801051115460.4919894895
30573000541859.65576426231140.3442357379
31620000599905.36072747320094.6392725268
32626000606721.36924792419278.6307520758
33620000602804.73865275317195.2613472469
34588000585719.5268182652280.47318173545
35566000551527.54240612414472.4575938761
36557000554616.606800672383.39319932969
37561000563766.40340818-2766.40340818043
38549000549460.995091706-460.995091705588
39532000544935.24752624-12935.2475262397
40526000530022.947659609-4022.94765960873
41511000510802.966467363197.033532637253
42499000524071.308622439-25071.3086224390
43555000587959.081278544-32959.0812785436
44565000600991.649010663-35991.6490106632
45542000557790.858095971-15790.8580959713
46527000594220.484294462-67220.4842944621
47510000555309.906745754-45309.9067457536
48514000524844.53105804-10844.5310580401
49517000550958.793466068-33958.7934660678
50508000572192.630281362-64192.6302813616
51493000518458.697148831-25458.6971488315
52490000543654.438943027-53654.4389430268
53469000510241.2291892-41241.2291891999
54478000512499.520692285-34499.5206922847
55528000573503.70865382-45503.70865382
56534000571594.064786808-37594.0647868083
57518000580110.552614975-62110.5526149746
58506000537896.959870669-31896.9598706686
59502000549804.881419758-47804.8814197578
60516000560720.818556706-44720.8185567064

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 562000 & 566687.437254627 & -4687.43725462689 \tabularnewline
2 & 561000 & 537814.308857796 & 23185.6911422039 \tabularnewline
3 & 555000 & 549953.433877828 & 5046.56612217234 \tabularnewline
4 & 544000 & 519986.574956433 & 24013.4250435672 \tabularnewline
5 & 537000 & 506421.415697693 & 30578.5843023074 \tabularnewline
6 & 543000 & 541185.571030467 & 1814.42896953326 \tabularnewline
7 & 594000 & 573803.30186884 & 20196.6981311598 \tabularnewline
8 & 611000 & 570320.793622973 & 40679.2063770275 \tabularnewline
9 & 613000 & 570111.629063676 & 42888.3709363239 \tabularnewline
10 & 611000 & 560815.840819712 & 50184.1591802878 \tabularnewline
11 & 594000 & 545910.169624496 & 48089.8303755045 \tabularnewline
12 & 595000 & 542745.225655496 & 52254.7743445042 \tabularnewline
13 & 591000 & 541559.05634481 & 49440.9436551903 \tabularnewline
14 & 589000 & 557325.316985985 & 31674.6830140147 \tabularnewline
15 & 584000 & 548792.510169624 & 35207.4898303755 \tabularnewline
16 & 573000 & 557136.133618935 & 15863.8663810652 \tabularnewline
17 & 567000 & 571994.880635234 & -4994.88063523412 \tabularnewline
18 & 569000 & 542383.943890547 & 26616.0561094526 \tabularnewline
19 & 621000 & 582828.547471323 & 38171.452528677 \tabularnewline
20 & 629000 & 615372.123331632 & 13627.8766683682 \tabularnewline
21 & 628000 & 610182.221572625 & 17817.7784273751 \tabularnewline
22 & 612000 & 565347.188196893 & 46652.8118031075 \tabularnewline
23 & 595000 & 564447.499803869 & 30552.5001961309 \tabularnewline
24 & 597000 & 596072.817929087 & 927.182070912546 \tabularnewline
25 & 593000 & 601028.309526315 & -8028.30952631508 \tabularnewline
26 & 590000 & 580206.748783151 & 9793.25121684864 \tabularnewline
27 & 580000 & 581860.111277477 & -1860.11127747666 \tabularnewline
28 & 574000 & 556199.904821997 & 17800.0951780032 \tabularnewline
29 & 573000 & 557539.508010511 & 15460.4919894895 \tabularnewline
30 & 573000 & 541859.655764262 & 31140.3442357379 \tabularnewline
31 & 620000 & 599905.360727473 & 20094.6392725268 \tabularnewline
32 & 626000 & 606721.369247924 & 19278.6307520758 \tabularnewline
33 & 620000 & 602804.738652753 & 17195.2613472469 \tabularnewline
34 & 588000 & 585719.526818265 & 2280.47318173545 \tabularnewline
35 & 566000 & 551527.542406124 & 14472.4575938761 \tabularnewline
36 & 557000 & 554616.60680067 & 2383.39319932969 \tabularnewline
37 & 561000 & 563766.40340818 & -2766.40340818043 \tabularnewline
38 & 549000 & 549460.995091706 & -460.995091705588 \tabularnewline
39 & 532000 & 544935.24752624 & -12935.2475262397 \tabularnewline
40 & 526000 & 530022.947659609 & -4022.94765960873 \tabularnewline
41 & 511000 & 510802.966467363 & 197.033532637253 \tabularnewline
42 & 499000 & 524071.308622439 & -25071.3086224390 \tabularnewline
43 & 555000 & 587959.081278544 & -32959.0812785436 \tabularnewline
44 & 565000 & 600991.649010663 & -35991.6490106632 \tabularnewline
45 & 542000 & 557790.858095971 & -15790.8580959713 \tabularnewline
46 & 527000 & 594220.484294462 & -67220.4842944621 \tabularnewline
47 & 510000 & 555309.906745754 & -45309.9067457536 \tabularnewline
48 & 514000 & 524844.53105804 & -10844.5310580401 \tabularnewline
49 & 517000 & 550958.793466068 & -33958.7934660678 \tabularnewline
50 & 508000 & 572192.630281362 & -64192.6302813616 \tabularnewline
51 & 493000 & 518458.697148831 & -25458.6971488315 \tabularnewline
52 & 490000 & 543654.438943027 & -53654.4389430268 \tabularnewline
53 & 469000 & 510241.2291892 & -41241.2291891999 \tabularnewline
54 & 478000 & 512499.520692285 & -34499.5206922847 \tabularnewline
55 & 528000 & 573503.70865382 & -45503.70865382 \tabularnewline
56 & 534000 & 571594.064786808 & -37594.0647868083 \tabularnewline
57 & 518000 & 580110.552614975 & -62110.5526149746 \tabularnewline
58 & 506000 & 537896.959870669 & -31896.9598706686 \tabularnewline
59 & 502000 & 549804.881419758 & -47804.8814197578 \tabularnewline
60 & 516000 & 560720.818556706 & -44720.8185567064 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58564&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]566687.437254627[/C][C]-4687.43725462689[/C][/ROW]
[ROW][C]2[/C][C]561000[/C][C]537814.308857796[/C][C]23185.6911422039[/C][/ROW]
[ROW][C]3[/C][C]555000[/C][C]549953.433877828[/C][C]5046.56612217234[/C][/ROW]
[ROW][C]4[/C][C]544000[/C][C]519986.574956433[/C][C]24013.4250435672[/C][/ROW]
[ROW][C]5[/C][C]537000[/C][C]506421.415697693[/C][C]30578.5843023074[/C][/ROW]
[ROW][C]6[/C][C]543000[/C][C]541185.571030467[/C][C]1814.42896953326[/C][/ROW]
[ROW][C]7[/C][C]594000[/C][C]573803.30186884[/C][C]20196.6981311598[/C][/ROW]
[ROW][C]8[/C][C]611000[/C][C]570320.793622973[/C][C]40679.2063770275[/C][/ROW]
[ROW][C]9[/C][C]613000[/C][C]570111.629063676[/C][C]42888.3709363239[/C][/ROW]
[ROW][C]10[/C][C]611000[/C][C]560815.840819712[/C][C]50184.1591802878[/C][/ROW]
[ROW][C]11[/C][C]594000[/C][C]545910.169624496[/C][C]48089.8303755045[/C][/ROW]
[ROW][C]12[/C][C]595000[/C][C]542745.225655496[/C][C]52254.7743445042[/C][/ROW]
[ROW][C]13[/C][C]591000[/C][C]541559.05634481[/C][C]49440.9436551903[/C][/ROW]
[ROW][C]14[/C][C]589000[/C][C]557325.316985985[/C][C]31674.6830140147[/C][/ROW]
[ROW][C]15[/C][C]584000[/C][C]548792.510169624[/C][C]35207.4898303755[/C][/ROW]
[ROW][C]16[/C][C]573000[/C][C]557136.133618935[/C][C]15863.8663810652[/C][/ROW]
[ROW][C]17[/C][C]567000[/C][C]571994.880635234[/C][C]-4994.88063523412[/C][/ROW]
[ROW][C]18[/C][C]569000[/C][C]542383.943890547[/C][C]26616.0561094526[/C][/ROW]
[ROW][C]19[/C][C]621000[/C][C]582828.547471323[/C][C]38171.452528677[/C][/ROW]
[ROW][C]20[/C][C]629000[/C][C]615372.123331632[/C][C]13627.8766683682[/C][/ROW]
[ROW][C]21[/C][C]628000[/C][C]610182.221572625[/C][C]17817.7784273751[/C][/ROW]
[ROW][C]22[/C][C]612000[/C][C]565347.188196893[/C][C]46652.8118031075[/C][/ROW]
[ROW][C]23[/C][C]595000[/C][C]564447.499803869[/C][C]30552.5001961309[/C][/ROW]
[ROW][C]24[/C][C]597000[/C][C]596072.817929087[/C][C]927.182070912546[/C][/ROW]
[ROW][C]25[/C][C]593000[/C][C]601028.309526315[/C][C]-8028.30952631508[/C][/ROW]
[ROW][C]26[/C][C]590000[/C][C]580206.748783151[/C][C]9793.25121684864[/C][/ROW]
[ROW][C]27[/C][C]580000[/C][C]581860.111277477[/C][C]-1860.11127747666[/C][/ROW]
[ROW][C]28[/C][C]574000[/C][C]556199.904821997[/C][C]17800.0951780032[/C][/ROW]
[ROW][C]29[/C][C]573000[/C][C]557539.508010511[/C][C]15460.4919894895[/C][/ROW]
[ROW][C]30[/C][C]573000[/C][C]541859.655764262[/C][C]31140.3442357379[/C][/ROW]
[ROW][C]31[/C][C]620000[/C][C]599905.360727473[/C][C]20094.6392725268[/C][/ROW]
[ROW][C]32[/C][C]626000[/C][C]606721.369247924[/C][C]19278.6307520758[/C][/ROW]
[ROW][C]33[/C][C]620000[/C][C]602804.738652753[/C][C]17195.2613472469[/C][/ROW]
[ROW][C]34[/C][C]588000[/C][C]585719.526818265[/C][C]2280.47318173545[/C][/ROW]
[ROW][C]35[/C][C]566000[/C][C]551527.542406124[/C][C]14472.4575938761[/C][/ROW]
[ROW][C]36[/C][C]557000[/C][C]554616.60680067[/C][C]2383.39319932969[/C][/ROW]
[ROW][C]37[/C][C]561000[/C][C]563766.40340818[/C][C]-2766.40340818043[/C][/ROW]
[ROW][C]38[/C][C]549000[/C][C]549460.995091706[/C][C]-460.995091705588[/C][/ROW]
[ROW][C]39[/C][C]532000[/C][C]544935.24752624[/C][C]-12935.2475262397[/C][/ROW]
[ROW][C]40[/C][C]526000[/C][C]530022.947659609[/C][C]-4022.94765960873[/C][/ROW]
[ROW][C]41[/C][C]511000[/C][C]510802.966467363[/C][C]197.033532637253[/C][/ROW]
[ROW][C]42[/C][C]499000[/C][C]524071.308622439[/C][C]-25071.3086224390[/C][/ROW]
[ROW][C]43[/C][C]555000[/C][C]587959.081278544[/C][C]-32959.0812785436[/C][/ROW]
[ROW][C]44[/C][C]565000[/C][C]600991.649010663[/C][C]-35991.6490106632[/C][/ROW]
[ROW][C]45[/C][C]542000[/C][C]557790.858095971[/C][C]-15790.8580959713[/C][/ROW]
[ROW][C]46[/C][C]527000[/C][C]594220.484294462[/C][C]-67220.4842944621[/C][/ROW]
[ROW][C]47[/C][C]510000[/C][C]555309.906745754[/C][C]-45309.9067457536[/C][/ROW]
[ROW][C]48[/C][C]514000[/C][C]524844.53105804[/C][C]-10844.5310580401[/C][/ROW]
[ROW][C]49[/C][C]517000[/C][C]550958.793466068[/C][C]-33958.7934660678[/C][/ROW]
[ROW][C]50[/C][C]508000[/C][C]572192.630281362[/C][C]-64192.6302813616[/C][/ROW]
[ROW][C]51[/C][C]493000[/C][C]518458.697148831[/C][C]-25458.6971488315[/C][/ROW]
[ROW][C]52[/C][C]490000[/C][C]543654.438943027[/C][C]-53654.4389430268[/C][/ROW]
[ROW][C]53[/C][C]469000[/C][C]510241.2291892[/C][C]-41241.2291891999[/C][/ROW]
[ROW][C]54[/C][C]478000[/C][C]512499.520692285[/C][C]-34499.5206922847[/C][/ROW]
[ROW][C]55[/C][C]528000[/C][C]573503.70865382[/C][C]-45503.70865382[/C][/ROW]
[ROW][C]56[/C][C]534000[/C][C]571594.064786808[/C][C]-37594.0647868083[/C][/ROW]
[ROW][C]57[/C][C]518000[/C][C]580110.552614975[/C][C]-62110.5526149746[/C][/ROW]
[ROW][C]58[/C][C]506000[/C][C]537896.959870669[/C][C]-31896.9598706686[/C][/ROW]
[ROW][C]59[/C][C]502000[/C][C]549804.881419758[/C][C]-47804.8814197578[/C][/ROW]
[ROW][C]60[/C][C]516000[/C][C]560720.818556706[/C][C]-44720.8185567064[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58564&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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
1562000566687.437254627-4687.43725462689
2561000537814.30885779623185.6911422039
3555000549953.4338778285046.56612217234
4544000519986.57495643324013.4250435672
5537000506421.41569769330578.5843023074
6543000541185.5710304671814.42896953326
7594000573803.3018688420196.6981311598
8611000570320.79362297340679.2063770275
9613000570111.62906367642888.3709363239
10611000560815.84081971250184.1591802878
11594000545910.16962449648089.8303755045
12595000542745.22565549652254.7743445042
13591000541559.0563448149440.9436551903
14589000557325.31698598531674.6830140147
15584000548792.51016962435207.4898303755
16573000557136.13361893515863.8663810652
17567000571994.880635234-4994.88063523412
18569000542383.94389054726616.0561094526
19621000582828.54747132338171.452528677
20629000615372.12333163213627.8766683682
21628000610182.22157262517817.7784273751
22612000565347.18819689346652.8118031075
23595000564447.49980386930552.5001961309
24597000596072.817929087927.182070912546
25593000601028.309526315-8028.30952631508
26590000580206.7487831519793.25121684864
27580000581860.111277477-1860.11127747666
28574000556199.90482199717800.0951780032
29573000557539.50801051115460.4919894895
30573000541859.65576426231140.3442357379
31620000599905.36072747320094.6392725268
32626000606721.36924792419278.6307520758
33620000602804.73865275317195.2613472469
34588000585719.5268182652280.47318173545
35566000551527.54240612414472.4575938761
36557000554616.606800672383.39319932969
37561000563766.40340818-2766.40340818043
38549000549460.995091706-460.995091705588
39532000544935.24752624-12935.2475262397
40526000530022.947659609-4022.94765960873
41511000510802.966467363197.033532637253
42499000524071.308622439-25071.3086224390
43555000587959.081278544-32959.0812785436
44565000600991.649010663-35991.6490106632
45542000557790.858095971-15790.8580959713
46527000594220.484294462-67220.4842944621
47510000555309.906745754-45309.9067457536
48514000524844.53105804-10844.5310580401
49517000550958.793466068-33958.7934660678
50508000572192.630281362-64192.6302813616
51493000518458.697148831-25458.6971488315
52490000543654.438943027-53654.4389430268
53469000510241.2291892-41241.2291891999
54478000512499.520692285-34499.5206922847
55528000573503.70865382-45503.70865382
56534000571594.064786808-37594.0647868083
57518000580110.552614975-62110.5526149746
58506000537896.959870669-31896.9598706686
59502000549804.881419758-47804.8814197578
60516000560720.818556706-44720.8185567064







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2880467932195820.5760935864391640.711953206780418
170.1504091405180050.3008182810360090.849590859481995
180.1056482847306440.2112965694612870.894351715269356
190.08184091630603420.1636818326120680.918159083693966
200.04036583895985660.08073167791971320.959634161040143
210.01892531165107830.03785062330215660.981074688348922
220.01551021525326170.03102043050652340.984489784746738
230.009597609176602320.01919521835320460.990402390823398
240.005579185413234860.01115837082646970.994420814586765
250.002337135831252210.004674271662504410.997662864168748
260.001094958769110360.002189917538220720.99890504123089
270.0004120904948668290.0008241809897336590.999587909505133
280.0002210300954811530.0004420601909623050.999778969904519
290.0001163080243243420.0002326160486486840.999883691975676
300.0001287847301841850.0002575694603683710.999871215269816
310.0001101768146185000.0002203536292370010.999889823185381
320.0001057631815719090.0002115263631438180.999894236818428
330.0001953655746657020.0003907311493314030.999804634425334
340.001927910560608570.003855821121217140.998072089439391
350.01330944325345730.02661888650691460.986690556746543
360.03751573408667980.07503146817335970.96248426591332
370.05523196451209680.1104639290241940.944768035487903
380.1456084046293870.2912168092587750.854391595370613
390.2174323698115540.4348647396231080.782567630188446
400.3827338956751010.7654677913502010.617266104324899
410.6492370616824820.7015258766350360.350762938317518
420.6955099289743830.6089801420512330.304490071025617
430.755518420950440.488963158099120.24448157904956
440.8019216237878210.3961567524243570.198078376212179

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.288046793219582 & 0.576093586439164 & 0.711953206780418 \tabularnewline
17 & 0.150409140518005 & 0.300818281036009 & 0.849590859481995 \tabularnewline
18 & 0.105648284730644 & 0.211296569461287 & 0.894351715269356 \tabularnewline
19 & 0.0818409163060342 & 0.163681832612068 & 0.918159083693966 \tabularnewline
20 & 0.0403658389598566 & 0.0807316779197132 & 0.959634161040143 \tabularnewline
21 & 0.0189253116510783 & 0.0378506233021566 & 0.981074688348922 \tabularnewline
22 & 0.0155102152532617 & 0.0310204305065234 & 0.984489784746738 \tabularnewline
23 & 0.00959760917660232 & 0.0191952183532046 & 0.990402390823398 \tabularnewline
24 & 0.00557918541323486 & 0.0111583708264697 & 0.994420814586765 \tabularnewline
25 & 0.00233713583125221 & 0.00467427166250441 & 0.997662864168748 \tabularnewline
26 & 0.00109495876911036 & 0.00218991753822072 & 0.99890504123089 \tabularnewline
27 & 0.000412090494866829 & 0.000824180989733659 & 0.999587909505133 \tabularnewline
28 & 0.000221030095481153 & 0.000442060190962305 & 0.999778969904519 \tabularnewline
29 & 0.000116308024324342 & 0.000232616048648684 & 0.999883691975676 \tabularnewline
30 & 0.000128784730184185 & 0.000257569460368371 & 0.999871215269816 \tabularnewline
31 & 0.000110176814618500 & 0.000220353629237001 & 0.999889823185381 \tabularnewline
32 & 0.000105763181571909 & 0.000211526363143818 & 0.999894236818428 \tabularnewline
33 & 0.000195365574665702 & 0.000390731149331403 & 0.999804634425334 \tabularnewline
34 & 0.00192791056060857 & 0.00385582112121714 & 0.998072089439391 \tabularnewline
35 & 0.0133094432534573 & 0.0266188865069146 & 0.986690556746543 \tabularnewline
36 & 0.0375157340866798 & 0.0750314681733597 & 0.96248426591332 \tabularnewline
37 & 0.0552319645120968 & 0.110463929024194 & 0.944768035487903 \tabularnewline
38 & 0.145608404629387 & 0.291216809258775 & 0.854391595370613 \tabularnewline
39 & 0.217432369811554 & 0.434864739623108 & 0.782567630188446 \tabularnewline
40 & 0.382733895675101 & 0.765467791350201 & 0.617266104324899 \tabularnewline
41 & 0.649237061682482 & 0.701525876635036 & 0.350762938317518 \tabularnewline
42 & 0.695509928974383 & 0.608980142051233 & 0.304490071025617 \tabularnewline
43 & 0.75551842095044 & 0.48896315809912 & 0.24448157904956 \tabularnewline
44 & 0.801921623787821 & 0.396156752424357 & 0.198078376212179 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58564&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.288046793219582[/C][C]0.576093586439164[/C][C]0.711953206780418[/C][/ROW]
[ROW][C]17[/C][C]0.150409140518005[/C][C]0.300818281036009[/C][C]0.849590859481995[/C][/ROW]
[ROW][C]18[/C][C]0.105648284730644[/C][C]0.211296569461287[/C][C]0.894351715269356[/C][/ROW]
[ROW][C]19[/C][C]0.0818409163060342[/C][C]0.163681832612068[/C][C]0.918159083693966[/C][/ROW]
[ROW][C]20[/C][C]0.0403658389598566[/C][C]0.0807316779197132[/C][C]0.959634161040143[/C][/ROW]
[ROW][C]21[/C][C]0.0189253116510783[/C][C]0.0378506233021566[/C][C]0.981074688348922[/C][/ROW]
[ROW][C]22[/C][C]0.0155102152532617[/C][C]0.0310204305065234[/C][C]0.984489784746738[/C][/ROW]
[ROW][C]23[/C][C]0.00959760917660232[/C][C]0.0191952183532046[/C][C]0.990402390823398[/C][/ROW]
[ROW][C]24[/C][C]0.00557918541323486[/C][C]0.0111583708264697[/C][C]0.994420814586765[/C][/ROW]
[ROW][C]25[/C][C]0.00233713583125221[/C][C]0.00467427166250441[/C][C]0.997662864168748[/C][/ROW]
[ROW][C]26[/C][C]0.00109495876911036[/C][C]0.00218991753822072[/C][C]0.99890504123089[/C][/ROW]
[ROW][C]27[/C][C]0.000412090494866829[/C][C]0.000824180989733659[/C][C]0.999587909505133[/C][/ROW]
[ROW][C]28[/C][C]0.000221030095481153[/C][C]0.000442060190962305[/C][C]0.999778969904519[/C][/ROW]
[ROW][C]29[/C][C]0.000116308024324342[/C][C]0.000232616048648684[/C][C]0.999883691975676[/C][/ROW]
[ROW][C]30[/C][C]0.000128784730184185[/C][C]0.000257569460368371[/C][C]0.999871215269816[/C][/ROW]
[ROW][C]31[/C][C]0.000110176814618500[/C][C]0.000220353629237001[/C][C]0.999889823185381[/C][/ROW]
[ROW][C]32[/C][C]0.000105763181571909[/C][C]0.000211526363143818[/C][C]0.999894236818428[/C][/ROW]
[ROW][C]33[/C][C]0.000195365574665702[/C][C]0.000390731149331403[/C][C]0.999804634425334[/C][/ROW]
[ROW][C]34[/C][C]0.00192791056060857[/C][C]0.00385582112121714[/C][C]0.998072089439391[/C][/ROW]
[ROW][C]35[/C][C]0.0133094432534573[/C][C]0.0266188865069146[/C][C]0.986690556746543[/C][/ROW]
[ROW][C]36[/C][C]0.0375157340866798[/C][C]0.0750314681733597[/C][C]0.96248426591332[/C][/ROW]
[ROW][C]37[/C][C]0.0552319645120968[/C][C]0.110463929024194[/C][C]0.944768035487903[/C][/ROW]
[ROW][C]38[/C][C]0.145608404629387[/C][C]0.291216809258775[/C][C]0.854391595370613[/C][/ROW]
[ROW][C]39[/C][C]0.217432369811554[/C][C]0.434864739623108[/C][C]0.782567630188446[/C][/ROW]
[ROW][C]40[/C][C]0.382733895675101[/C][C]0.765467791350201[/C][C]0.617266104324899[/C][/ROW]
[ROW][C]41[/C][C]0.649237061682482[/C][C]0.701525876635036[/C][C]0.350762938317518[/C][/ROW]
[ROW][C]42[/C][C]0.695509928974383[/C][C]0.608980142051233[/C][C]0.304490071025617[/C][/ROW]
[ROW][C]43[/C][C]0.75551842095044[/C][C]0.48896315809912[/C][C]0.24448157904956[/C][/ROW]
[ROW][C]44[/C][C]0.801921623787821[/C][C]0.396156752424357[/C][C]0.198078376212179[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58564&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.2880467932195820.5760935864391640.711953206780418
170.1504091405180050.3008182810360090.849590859481995
180.1056482847306440.2112965694612870.894351715269356
190.08184091630603420.1636818326120680.918159083693966
200.04036583895985660.08073167791971320.959634161040143
210.01892531165107830.03785062330215660.981074688348922
220.01551021525326170.03102043050652340.984489784746738
230.009597609176602320.01919521835320460.990402390823398
240.005579185413234860.01115837082646970.994420814586765
250.002337135831252210.004674271662504410.997662864168748
260.001094958769110360.002189917538220720.99890504123089
270.0004120904948668290.0008241809897336590.999587909505133
280.0002210300954811530.0004420601909623050.999778969904519
290.0001163080243243420.0002326160486486840.999883691975676
300.0001287847301841850.0002575694603683710.999871215269816
310.0001101768146185000.0002203536292370010.999889823185381
320.0001057631815719090.0002115263631438180.999894236818428
330.0001953655746657020.0003907311493314030.999804634425334
340.001927910560608570.003855821121217140.998072089439391
350.01330944325345730.02661888650691460.986690556746543
360.03751573408667980.07503146817335970.96248426591332
370.05523196451209680.1104639290241940.944768035487903
380.1456084046293870.2912168092587750.854391595370613
390.2174323698115540.4348647396231080.782567630188446
400.3827338956751010.7654677913502010.617266104324899
410.6492370616824820.7015258766350360.350762938317518
420.6955099289743830.6089801420512330.304490071025617
430.755518420950440.488963158099120.24448157904956
440.8019216237878210.3961567524243570.198078376212179







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.344827586206897NOK
5% type I error level150.517241379310345NOK
10% type I error level170.586206896551724NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58564&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 level100.344827586206897NOK
5% type I error level150.517241379310345NOK
10% type I error level170.586206896551724NOK



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