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:51:23 -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/t1258815210flisvhs15u1w6uo.htm/, Retrieved Sun, 28 Apr 2024 11:42:35 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58557, Retrieved Sun, 28 Apr 2024 11:42:35 +0000
QR Codes:

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

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

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

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

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







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)488516.20140474141966.85669711.640500
bouw15.33707218035318.9624991.71120.0923790.046189

\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) & 488516.201404741 & 41966.856697 & 11.6405 & 0 & 0 \tabularnewline
bouw & 15.3370721803531 & 8.962499 & 1.7112 & 0.092379 & 0.046189 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58557&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]488516.201404741[/C][C]41966.856697[/C][C]11.6405[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bouw[/C][C]15.3370721803531[/C][C]8.962499[/C][C]1.7112[/C][C]0.092379[/C][C]0.046189[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58557&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58557&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)488516.20140474141966.85669711.640500
bouw15.33707218035318.9624991.71120.0923790.046189







Multiple Linear Regression - Regression Statistics
Multiple R0.219231804110551
R-squared0.048062583933567
Adjusted R-squared0.0316498698634563
F-TEST (value)2.92837514430922
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.092378639331489
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41300.4629313393
Sum Squared Residuals98932237823.8902

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.219231804110551 \tabularnewline
R-squared & 0.048062583933567 \tabularnewline
Adjusted R-squared & 0.0316498698634563 \tabularnewline
F-TEST (value) & 2.92837514430922 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.092378639331489 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 41300.4629313393 \tabularnewline
Sum Squared Residuals & 98932237823.8902 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58557&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.219231804110551[/C][/ROW]
[ROW][C]R-squared[/C][C]0.048062583933567[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0316498698634563[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.92837514430922[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]0.092378639331489[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]41300.4629313393[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]98932237823.8902[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58557&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58557&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.219231804110551
R-squared0.048062583933567
Adjusted R-squared0.0316498698634563
F-TEST (value)2.92837514430922
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.092378639331489
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41300.4629313393
Sum Squared Residuals98932237823.8902







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1562000562348.866880961-348.866880960755
2561000548453.47948556112546.5205144391
3555000569035.830351595-14035.8303515948
4544000548898.254578791-4898.25457879115
5537000549925.838414875-12925.8384148748
6543000573790.322727504-30790.3227275043
7594000548668.19849608645331.8015039141
8611000546168.25573068864831.7442693117
9613000551981.00608704261018.9939129579
10611000559588.19388849751411.8061115027
11594000549803.14183743244196.858162568
12595000554588.30835770240411.6916422978
13591000552057.69144794438942.3085520561
14589000556444.09409152532555.9059084751
15584000568560.38111400415439.6188859962
16573000564112.6301817018887.36981829856
17567000576781.051802673-9781.05180267312
18569000574281.109037276-5281.10903727556
19621000552364.43289155168635.567108449
20629000564618.75356365364381.2464363469
21628000568391.6733200259608.32667998
22612000561443.9796223250556.02037768
23595000557394.99256670737605.0074332932
24597000576428.29914252520571.700857475
25593000576412.96207034516587.0379296554
26590000565815.04519372124184.9548062794
27580000582103.015849256-2103.01584925565
28574000563729.20337719310270.7966228074
29573000570860.9419410572139.05805894318
30573000574066.390026751-1066.39002675061
31620000559358.13780579260641.862194208
32626000561075.88988999164924.1101100085
33620000565370.2701004954629.7298995096
34588000569787.34688843218212.6531115679
35566000552103.70266448513896.2973355150
36557000559450.160238874-2450.16023887410
37561000561152.575250893-152.575250893292
38549000553223.308933651-4223.30893365073
39532000566980.662679428-34980.6626794275
40526000553008.589923126-27008.5899231258
41511000551720.275859976-40720.2758599761
42499000566781.280741083-67781.2807410829
43555000554465.611780259534.388219740667
44565000558729.3178463986270.6821536025
45542000546935.109339706-4935.10933970595
46527000573268.862273372-46268.8622733723
47510000553652.746954701-43652.7469547006
48514000547257.187855493-33257.1878554934
49517000555907.296565213-38907.2965652125
50508000562532.911747125-54532.9117471251
51493000556137.352647918-63137.3526479178
52490000558591.284196774-68591.2841967743
53469000551490.219777271-82490.2197772708
54478000562042.125437354-84042.1254373538
55528000548545.501918643-20545.5019186430
56534000546689.71618482-12689.7161848203
57518000556076.004359196-38076.0043591964
58506000550201.905714121-44201.9057141212
59502000551398.197344189-49398.1973441887
60516000561950.103004272-45950.1030042717

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 562000 & 562348.866880961 & -348.866880960755 \tabularnewline
2 & 561000 & 548453.479485561 & 12546.5205144391 \tabularnewline
3 & 555000 & 569035.830351595 & -14035.8303515948 \tabularnewline
4 & 544000 & 548898.254578791 & -4898.25457879115 \tabularnewline
5 & 537000 & 549925.838414875 & -12925.8384148748 \tabularnewline
6 & 543000 & 573790.322727504 & -30790.3227275043 \tabularnewline
7 & 594000 & 548668.198496086 & 45331.8015039141 \tabularnewline
8 & 611000 & 546168.255730688 & 64831.7442693117 \tabularnewline
9 & 613000 & 551981.006087042 & 61018.9939129579 \tabularnewline
10 & 611000 & 559588.193888497 & 51411.8061115027 \tabularnewline
11 & 594000 & 549803.141837432 & 44196.858162568 \tabularnewline
12 & 595000 & 554588.308357702 & 40411.6916422978 \tabularnewline
13 & 591000 & 552057.691447944 & 38942.3085520561 \tabularnewline
14 & 589000 & 556444.094091525 & 32555.9059084751 \tabularnewline
15 & 584000 & 568560.381114004 & 15439.6188859962 \tabularnewline
16 & 573000 & 564112.630181701 & 8887.36981829856 \tabularnewline
17 & 567000 & 576781.051802673 & -9781.05180267312 \tabularnewline
18 & 569000 & 574281.109037276 & -5281.10903727556 \tabularnewline
19 & 621000 & 552364.432891551 & 68635.567108449 \tabularnewline
20 & 629000 & 564618.753563653 & 64381.2464363469 \tabularnewline
21 & 628000 & 568391.67332002 & 59608.32667998 \tabularnewline
22 & 612000 & 561443.97962232 & 50556.02037768 \tabularnewline
23 & 595000 & 557394.992566707 & 37605.0074332932 \tabularnewline
24 & 597000 & 576428.299142525 & 20571.700857475 \tabularnewline
25 & 593000 & 576412.962070345 & 16587.0379296554 \tabularnewline
26 & 590000 & 565815.045193721 & 24184.9548062794 \tabularnewline
27 & 580000 & 582103.015849256 & -2103.01584925565 \tabularnewline
28 & 574000 & 563729.203377193 & 10270.7966228074 \tabularnewline
29 & 573000 & 570860.941941057 & 2139.05805894318 \tabularnewline
30 & 573000 & 574066.390026751 & -1066.39002675061 \tabularnewline
31 & 620000 & 559358.137805792 & 60641.862194208 \tabularnewline
32 & 626000 & 561075.889889991 & 64924.1101100085 \tabularnewline
33 & 620000 & 565370.27010049 & 54629.7298995096 \tabularnewline
34 & 588000 & 569787.346888432 & 18212.6531115679 \tabularnewline
35 & 566000 & 552103.702664485 & 13896.2973355150 \tabularnewline
36 & 557000 & 559450.160238874 & -2450.16023887410 \tabularnewline
37 & 561000 & 561152.575250893 & -152.575250893292 \tabularnewline
38 & 549000 & 553223.308933651 & -4223.30893365073 \tabularnewline
39 & 532000 & 566980.662679428 & -34980.6626794275 \tabularnewline
40 & 526000 & 553008.589923126 & -27008.5899231258 \tabularnewline
41 & 511000 & 551720.275859976 & -40720.2758599761 \tabularnewline
42 & 499000 & 566781.280741083 & -67781.2807410829 \tabularnewline
43 & 555000 & 554465.611780259 & 534.388219740667 \tabularnewline
44 & 565000 & 558729.317846398 & 6270.6821536025 \tabularnewline
45 & 542000 & 546935.109339706 & -4935.10933970595 \tabularnewline
46 & 527000 & 573268.862273372 & -46268.8622733723 \tabularnewline
47 & 510000 & 553652.746954701 & -43652.7469547006 \tabularnewline
48 & 514000 & 547257.187855493 & -33257.1878554934 \tabularnewline
49 & 517000 & 555907.296565213 & -38907.2965652125 \tabularnewline
50 & 508000 & 562532.911747125 & -54532.9117471251 \tabularnewline
51 & 493000 & 556137.352647918 & -63137.3526479178 \tabularnewline
52 & 490000 & 558591.284196774 & -68591.2841967743 \tabularnewline
53 & 469000 & 551490.219777271 & -82490.2197772708 \tabularnewline
54 & 478000 & 562042.125437354 & -84042.1254373538 \tabularnewline
55 & 528000 & 548545.501918643 & -20545.5019186430 \tabularnewline
56 & 534000 & 546689.71618482 & -12689.7161848203 \tabularnewline
57 & 518000 & 556076.004359196 & -38076.0043591964 \tabularnewline
58 & 506000 & 550201.905714121 & -44201.9057141212 \tabularnewline
59 & 502000 & 551398.197344189 & -49398.1973441887 \tabularnewline
60 & 516000 & 561950.103004272 & -45950.1030042717 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58557&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]562348.866880961[/C][C]-348.866880960755[/C][/ROW]
[ROW][C]2[/C][C]561000[/C][C]548453.479485561[/C][C]12546.5205144391[/C][/ROW]
[ROW][C]3[/C][C]555000[/C][C]569035.830351595[/C][C]-14035.8303515948[/C][/ROW]
[ROW][C]4[/C][C]544000[/C][C]548898.254578791[/C][C]-4898.25457879115[/C][/ROW]
[ROW][C]5[/C][C]537000[/C][C]549925.838414875[/C][C]-12925.8384148748[/C][/ROW]
[ROW][C]6[/C][C]543000[/C][C]573790.322727504[/C][C]-30790.3227275043[/C][/ROW]
[ROW][C]7[/C][C]594000[/C][C]548668.198496086[/C][C]45331.8015039141[/C][/ROW]
[ROW][C]8[/C][C]611000[/C][C]546168.255730688[/C][C]64831.7442693117[/C][/ROW]
[ROW][C]9[/C][C]613000[/C][C]551981.006087042[/C][C]61018.9939129579[/C][/ROW]
[ROW][C]10[/C][C]611000[/C][C]559588.193888497[/C][C]51411.8061115027[/C][/ROW]
[ROW][C]11[/C][C]594000[/C][C]549803.141837432[/C][C]44196.858162568[/C][/ROW]
[ROW][C]12[/C][C]595000[/C][C]554588.308357702[/C][C]40411.6916422978[/C][/ROW]
[ROW][C]13[/C][C]591000[/C][C]552057.691447944[/C][C]38942.3085520561[/C][/ROW]
[ROW][C]14[/C][C]589000[/C][C]556444.094091525[/C][C]32555.9059084751[/C][/ROW]
[ROW][C]15[/C][C]584000[/C][C]568560.381114004[/C][C]15439.6188859962[/C][/ROW]
[ROW][C]16[/C][C]573000[/C][C]564112.630181701[/C][C]8887.36981829856[/C][/ROW]
[ROW][C]17[/C][C]567000[/C][C]576781.051802673[/C][C]-9781.05180267312[/C][/ROW]
[ROW][C]18[/C][C]569000[/C][C]574281.109037276[/C][C]-5281.10903727556[/C][/ROW]
[ROW][C]19[/C][C]621000[/C][C]552364.432891551[/C][C]68635.567108449[/C][/ROW]
[ROW][C]20[/C][C]629000[/C][C]564618.753563653[/C][C]64381.2464363469[/C][/ROW]
[ROW][C]21[/C][C]628000[/C][C]568391.67332002[/C][C]59608.32667998[/C][/ROW]
[ROW][C]22[/C][C]612000[/C][C]561443.97962232[/C][C]50556.02037768[/C][/ROW]
[ROW][C]23[/C][C]595000[/C][C]557394.992566707[/C][C]37605.0074332932[/C][/ROW]
[ROW][C]24[/C][C]597000[/C][C]576428.299142525[/C][C]20571.700857475[/C][/ROW]
[ROW][C]25[/C][C]593000[/C][C]576412.962070345[/C][C]16587.0379296554[/C][/ROW]
[ROW][C]26[/C][C]590000[/C][C]565815.045193721[/C][C]24184.9548062794[/C][/ROW]
[ROW][C]27[/C][C]580000[/C][C]582103.015849256[/C][C]-2103.01584925565[/C][/ROW]
[ROW][C]28[/C][C]574000[/C][C]563729.203377193[/C][C]10270.7966228074[/C][/ROW]
[ROW][C]29[/C][C]573000[/C][C]570860.941941057[/C][C]2139.05805894318[/C][/ROW]
[ROW][C]30[/C][C]573000[/C][C]574066.390026751[/C][C]-1066.39002675061[/C][/ROW]
[ROW][C]31[/C][C]620000[/C][C]559358.137805792[/C][C]60641.862194208[/C][/ROW]
[ROW][C]32[/C][C]626000[/C][C]561075.889889991[/C][C]64924.1101100085[/C][/ROW]
[ROW][C]33[/C][C]620000[/C][C]565370.27010049[/C][C]54629.7298995096[/C][/ROW]
[ROW][C]34[/C][C]588000[/C][C]569787.346888432[/C][C]18212.6531115679[/C][/ROW]
[ROW][C]35[/C][C]566000[/C][C]552103.702664485[/C][C]13896.2973355150[/C][/ROW]
[ROW][C]36[/C][C]557000[/C][C]559450.160238874[/C][C]-2450.16023887410[/C][/ROW]
[ROW][C]37[/C][C]561000[/C][C]561152.575250893[/C][C]-152.575250893292[/C][/ROW]
[ROW][C]38[/C][C]549000[/C][C]553223.308933651[/C][C]-4223.30893365073[/C][/ROW]
[ROW][C]39[/C][C]532000[/C][C]566980.662679428[/C][C]-34980.6626794275[/C][/ROW]
[ROW][C]40[/C][C]526000[/C][C]553008.589923126[/C][C]-27008.5899231258[/C][/ROW]
[ROW][C]41[/C][C]511000[/C][C]551720.275859976[/C][C]-40720.2758599761[/C][/ROW]
[ROW][C]42[/C][C]499000[/C][C]566781.280741083[/C][C]-67781.2807410829[/C][/ROW]
[ROW][C]43[/C][C]555000[/C][C]554465.611780259[/C][C]534.388219740667[/C][/ROW]
[ROW][C]44[/C][C]565000[/C][C]558729.317846398[/C][C]6270.6821536025[/C][/ROW]
[ROW][C]45[/C][C]542000[/C][C]546935.109339706[/C][C]-4935.10933970595[/C][/ROW]
[ROW][C]46[/C][C]527000[/C][C]573268.862273372[/C][C]-46268.8622733723[/C][/ROW]
[ROW][C]47[/C][C]510000[/C][C]553652.746954701[/C][C]-43652.7469547006[/C][/ROW]
[ROW][C]48[/C][C]514000[/C][C]547257.187855493[/C][C]-33257.1878554934[/C][/ROW]
[ROW][C]49[/C][C]517000[/C][C]555907.296565213[/C][C]-38907.2965652125[/C][/ROW]
[ROW][C]50[/C][C]508000[/C][C]562532.911747125[/C][C]-54532.9117471251[/C][/ROW]
[ROW][C]51[/C][C]493000[/C][C]556137.352647918[/C][C]-63137.3526479178[/C][/ROW]
[ROW][C]52[/C][C]490000[/C][C]558591.284196774[/C][C]-68591.2841967743[/C][/ROW]
[ROW][C]53[/C][C]469000[/C][C]551490.219777271[/C][C]-82490.2197772708[/C][/ROW]
[ROW][C]54[/C][C]478000[/C][C]562042.125437354[/C][C]-84042.1254373538[/C][/ROW]
[ROW][C]55[/C][C]528000[/C][C]548545.501918643[/C][C]-20545.5019186430[/C][/ROW]
[ROW][C]56[/C][C]534000[/C][C]546689.71618482[/C][C]-12689.7161848203[/C][/ROW]
[ROW][C]57[/C][C]518000[/C][C]556076.004359196[/C][C]-38076.0043591964[/C][/ROW]
[ROW][C]58[/C][C]506000[/C][C]550201.905714121[/C][C]-44201.9057141212[/C][/ROW]
[ROW][C]59[/C][C]502000[/C][C]551398.197344189[/C][C]-49398.1973441887[/C][/ROW]
[ROW][C]60[/C][C]516000[/C][C]561950.103004272[/C][C]-45950.1030042717[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58557&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58557&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
1562000562348.866880961-348.866880960755
2561000548453.47948556112546.5205144391
3555000569035.830351595-14035.8303515948
4544000548898.254578791-4898.25457879115
5537000549925.838414875-12925.8384148748
6543000573790.322727504-30790.3227275043
7594000548668.19849608645331.8015039141
8611000546168.25573068864831.7442693117
9613000551981.00608704261018.9939129579
10611000559588.19388849751411.8061115027
11594000549803.14183743244196.858162568
12595000554588.30835770240411.6916422978
13591000552057.69144794438942.3085520561
14589000556444.09409152532555.9059084751
15584000568560.38111400415439.6188859962
16573000564112.6301817018887.36981829856
17567000576781.051802673-9781.05180267312
18569000574281.109037276-5281.10903727556
19621000552364.43289155168635.567108449
20629000564618.75356365364381.2464363469
21628000568391.6733200259608.32667998
22612000561443.9796223250556.02037768
23595000557394.99256670737605.0074332932
24597000576428.29914252520571.700857475
25593000576412.96207034516587.0379296554
26590000565815.04519372124184.9548062794
27580000582103.015849256-2103.01584925565
28574000563729.20337719310270.7966228074
29573000570860.9419410572139.05805894318
30573000574066.390026751-1066.39002675061
31620000559358.13780579260641.862194208
32626000561075.88988999164924.1101100085
33620000565370.2701004954629.7298995096
34588000569787.34688843218212.6531115679
35566000552103.70266448513896.2973355150
36557000559450.160238874-2450.16023887410
37561000561152.575250893-152.575250893292
38549000553223.308933651-4223.30893365073
39532000566980.662679428-34980.6626794275
40526000553008.589923126-27008.5899231258
41511000551720.275859976-40720.2758599761
42499000566781.280741083-67781.2807410829
43555000554465.611780259534.388219740667
44565000558729.3178463986270.6821536025
45542000546935.109339706-4935.10933970595
46527000573268.862273372-46268.8622733723
47510000553652.746954701-43652.7469547006
48514000547257.187855493-33257.1878554934
49517000555907.296565213-38907.2965652125
50508000562532.911747125-54532.9117471251
51493000556137.352647918-63137.3526479178
52490000558591.284196774-68591.2841967743
53469000551490.219777271-82490.2197772708
54478000562042.125437354-84042.1254373538
55528000548545.501918643-20545.5019186430
56534000546689.71618482-12689.7161848203
57518000556076.004359196-38076.0043591964
58506000550201.905714121-44201.9057141212
59502000551398.197344189-49398.1973441887
60516000561950.103004272-45950.1030042717







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.02386120801852900.04772241603705790.976138791981471
60.009727994583092020.01945598916618400.990272005416908
70.04649658336023710.09299316672047430.953503416639763
80.0982125209646490.1964250419292980.901787479035351
90.1448849279178280.2897698558356560.855115072082172
100.191852430275120.383704860550240.80814756972488
110.1438482686357120.2876965372714250.856151731364288
120.1114387890852680.2228775781705360.888561210914732
130.08039945797073720.1607989159414740.919600542029263
140.05664188020307060.1132837604061410.94335811979693
150.03931408353977380.07862816707954750.960685916460226
160.02270524584609620.04541049169219240.977294754153904
170.01296734422630090.02593468845260170.9870326557737
180.007015183058677210.01403036611735440.992984816941323
190.01495726429861730.02991452859723460.985042735701383
200.04346243064714770.08692486129429530.956537569352852
210.08484398503562290.1696879700712460.915156014964377
220.09851471873965070.1970294374793010.90148528126035
230.09160694239343360.1832138847868670.908393057606566
240.07053498373826870.1410699674765370.929465016261731
250.05060451607524310.1012090321504860.949395483924757
260.03916669015895560.07833338031791120.960833309841044
270.02509531338604270.05019062677208540.974904686613957
280.01807476715769250.03614953431538490.981925232842308
290.01183896640327600.02367793280655200.988161033596724
300.007394545942641010.01478909188528200.99260545405736
310.02086478439833680.04172956879667360.979135215601663
320.08547960963878010.1709592192775600.91452039036122
330.2651822062992760.5303644125985520.734817793700724
340.3826066706011380.7652133412022760.617393329398862
350.4594185228841190.9188370457682390.540581477115881
360.5247498394134540.9505003211730910.475250160586546
370.6242910026458960.7514179947082090.375708997354104
380.6874874926932470.6250250146135070.312512507306753
390.736128546678530.5277429066429410.263871453321471
400.7660800479139820.4678399041720360.233919952086018
410.8055424540166740.3889150919666520.194457545983326
420.8537302202863360.2925395594273280.146269779713664
430.8905344002845930.2189311994308140.109465599715407
440.9683091750902450.0633816498195110.0316908249097555
450.977123587485010.04575282502998210.0228764125149911
460.9869858383831880.02602832323362430.0130141616168122
470.9820041631282450.03599167374350940.0179958368717547
480.9718998321117980.05620033577640310.0281001678882015
490.9616523661752170.07669526764956560.0383476338247828
500.9515383507895330.09692329842093480.0484616492104674
510.9300937600110850.1398124799778300.0699062399889152
520.896831332904270.2063373341914610.103168667095730
530.974674385657550.05065122868490170.0253256143424509
540.9819603173512180.03607936529756490.0180396826487824
550.949377848287640.1012443034247220.050622151712361

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0238612080185290 & 0.0477224160370579 & 0.976138791981471 \tabularnewline
6 & 0.00972799458309202 & 0.0194559891661840 & 0.990272005416908 \tabularnewline
7 & 0.0464965833602371 & 0.0929931667204743 & 0.953503416639763 \tabularnewline
8 & 0.098212520964649 & 0.196425041929298 & 0.901787479035351 \tabularnewline
9 & 0.144884927917828 & 0.289769855835656 & 0.855115072082172 \tabularnewline
10 & 0.19185243027512 & 0.38370486055024 & 0.80814756972488 \tabularnewline
11 & 0.143848268635712 & 0.287696537271425 & 0.856151731364288 \tabularnewline
12 & 0.111438789085268 & 0.222877578170536 & 0.888561210914732 \tabularnewline
13 & 0.0803994579707372 & 0.160798915941474 & 0.919600542029263 \tabularnewline
14 & 0.0566418802030706 & 0.113283760406141 & 0.94335811979693 \tabularnewline
15 & 0.0393140835397738 & 0.0786281670795475 & 0.960685916460226 \tabularnewline
16 & 0.0227052458460962 & 0.0454104916921924 & 0.977294754153904 \tabularnewline
17 & 0.0129673442263009 & 0.0259346884526017 & 0.9870326557737 \tabularnewline
18 & 0.00701518305867721 & 0.0140303661173544 & 0.992984816941323 \tabularnewline
19 & 0.0149572642986173 & 0.0299145285972346 & 0.985042735701383 \tabularnewline
20 & 0.0434624306471477 & 0.0869248612942953 & 0.956537569352852 \tabularnewline
21 & 0.0848439850356229 & 0.169687970071246 & 0.915156014964377 \tabularnewline
22 & 0.0985147187396507 & 0.197029437479301 & 0.90148528126035 \tabularnewline
23 & 0.0916069423934336 & 0.183213884786867 & 0.908393057606566 \tabularnewline
24 & 0.0705349837382687 & 0.141069967476537 & 0.929465016261731 \tabularnewline
25 & 0.0506045160752431 & 0.101209032150486 & 0.949395483924757 \tabularnewline
26 & 0.0391666901589556 & 0.0783333803179112 & 0.960833309841044 \tabularnewline
27 & 0.0250953133860427 & 0.0501906267720854 & 0.974904686613957 \tabularnewline
28 & 0.0180747671576925 & 0.0361495343153849 & 0.981925232842308 \tabularnewline
29 & 0.0118389664032760 & 0.0236779328065520 & 0.988161033596724 \tabularnewline
30 & 0.00739454594264101 & 0.0147890918852820 & 0.99260545405736 \tabularnewline
31 & 0.0208647843983368 & 0.0417295687966736 & 0.979135215601663 \tabularnewline
32 & 0.0854796096387801 & 0.170959219277560 & 0.91452039036122 \tabularnewline
33 & 0.265182206299276 & 0.530364412598552 & 0.734817793700724 \tabularnewline
34 & 0.382606670601138 & 0.765213341202276 & 0.617393329398862 \tabularnewline
35 & 0.459418522884119 & 0.918837045768239 & 0.540581477115881 \tabularnewline
36 & 0.524749839413454 & 0.950500321173091 & 0.475250160586546 \tabularnewline
37 & 0.624291002645896 & 0.751417994708209 & 0.375708997354104 \tabularnewline
38 & 0.687487492693247 & 0.625025014613507 & 0.312512507306753 \tabularnewline
39 & 0.73612854667853 & 0.527742906642941 & 0.263871453321471 \tabularnewline
40 & 0.766080047913982 & 0.467839904172036 & 0.233919952086018 \tabularnewline
41 & 0.805542454016674 & 0.388915091966652 & 0.194457545983326 \tabularnewline
42 & 0.853730220286336 & 0.292539559427328 & 0.146269779713664 \tabularnewline
43 & 0.890534400284593 & 0.218931199430814 & 0.109465599715407 \tabularnewline
44 & 0.968309175090245 & 0.063381649819511 & 0.0316908249097555 \tabularnewline
45 & 0.97712358748501 & 0.0457528250299821 & 0.0228764125149911 \tabularnewline
46 & 0.986985838383188 & 0.0260283232336243 & 0.0130141616168122 \tabularnewline
47 & 0.982004163128245 & 0.0359916737435094 & 0.0179958368717547 \tabularnewline
48 & 0.971899832111798 & 0.0562003357764031 & 0.0281001678882015 \tabularnewline
49 & 0.961652366175217 & 0.0766952676495656 & 0.0383476338247828 \tabularnewline
50 & 0.951538350789533 & 0.0969232984209348 & 0.0484616492104674 \tabularnewline
51 & 0.930093760011085 & 0.139812479977830 & 0.0699062399889152 \tabularnewline
52 & 0.89683133290427 & 0.206337334191461 & 0.103168667095730 \tabularnewline
53 & 0.97467438565755 & 0.0506512286849017 & 0.0253256143424509 \tabularnewline
54 & 0.981960317351218 & 0.0360793652975649 & 0.0180396826487824 \tabularnewline
55 & 0.94937784828764 & 0.101244303424722 & 0.050622151712361 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58557&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]5[/C][C]0.0238612080185290[/C][C]0.0477224160370579[/C][C]0.976138791981471[/C][/ROW]
[ROW][C]6[/C][C]0.00972799458309202[/C][C]0.0194559891661840[/C][C]0.990272005416908[/C][/ROW]
[ROW][C]7[/C][C]0.0464965833602371[/C][C]0.0929931667204743[/C][C]0.953503416639763[/C][/ROW]
[ROW][C]8[/C][C]0.098212520964649[/C][C]0.196425041929298[/C][C]0.901787479035351[/C][/ROW]
[ROW][C]9[/C][C]0.144884927917828[/C][C]0.289769855835656[/C][C]0.855115072082172[/C][/ROW]
[ROW][C]10[/C][C]0.19185243027512[/C][C]0.38370486055024[/C][C]0.80814756972488[/C][/ROW]
[ROW][C]11[/C][C]0.143848268635712[/C][C]0.287696537271425[/C][C]0.856151731364288[/C][/ROW]
[ROW][C]12[/C][C]0.111438789085268[/C][C]0.222877578170536[/C][C]0.888561210914732[/C][/ROW]
[ROW][C]13[/C][C]0.0803994579707372[/C][C]0.160798915941474[/C][C]0.919600542029263[/C][/ROW]
[ROW][C]14[/C][C]0.0566418802030706[/C][C]0.113283760406141[/C][C]0.94335811979693[/C][/ROW]
[ROW][C]15[/C][C]0.0393140835397738[/C][C]0.0786281670795475[/C][C]0.960685916460226[/C][/ROW]
[ROW][C]16[/C][C]0.0227052458460962[/C][C]0.0454104916921924[/C][C]0.977294754153904[/C][/ROW]
[ROW][C]17[/C][C]0.0129673442263009[/C][C]0.0259346884526017[/C][C]0.9870326557737[/C][/ROW]
[ROW][C]18[/C][C]0.00701518305867721[/C][C]0.0140303661173544[/C][C]0.992984816941323[/C][/ROW]
[ROW][C]19[/C][C]0.0149572642986173[/C][C]0.0299145285972346[/C][C]0.985042735701383[/C][/ROW]
[ROW][C]20[/C][C]0.0434624306471477[/C][C]0.0869248612942953[/C][C]0.956537569352852[/C][/ROW]
[ROW][C]21[/C][C]0.0848439850356229[/C][C]0.169687970071246[/C][C]0.915156014964377[/C][/ROW]
[ROW][C]22[/C][C]0.0985147187396507[/C][C]0.197029437479301[/C][C]0.90148528126035[/C][/ROW]
[ROW][C]23[/C][C]0.0916069423934336[/C][C]0.183213884786867[/C][C]0.908393057606566[/C][/ROW]
[ROW][C]24[/C][C]0.0705349837382687[/C][C]0.141069967476537[/C][C]0.929465016261731[/C][/ROW]
[ROW][C]25[/C][C]0.0506045160752431[/C][C]0.101209032150486[/C][C]0.949395483924757[/C][/ROW]
[ROW][C]26[/C][C]0.0391666901589556[/C][C]0.0783333803179112[/C][C]0.960833309841044[/C][/ROW]
[ROW][C]27[/C][C]0.0250953133860427[/C][C]0.0501906267720854[/C][C]0.974904686613957[/C][/ROW]
[ROW][C]28[/C][C]0.0180747671576925[/C][C]0.0361495343153849[/C][C]0.981925232842308[/C][/ROW]
[ROW][C]29[/C][C]0.0118389664032760[/C][C]0.0236779328065520[/C][C]0.988161033596724[/C][/ROW]
[ROW][C]30[/C][C]0.00739454594264101[/C][C]0.0147890918852820[/C][C]0.99260545405736[/C][/ROW]
[ROW][C]31[/C][C]0.0208647843983368[/C][C]0.0417295687966736[/C][C]0.979135215601663[/C][/ROW]
[ROW][C]32[/C][C]0.0854796096387801[/C][C]0.170959219277560[/C][C]0.91452039036122[/C][/ROW]
[ROW][C]33[/C][C]0.265182206299276[/C][C]0.530364412598552[/C][C]0.734817793700724[/C][/ROW]
[ROW][C]34[/C][C]0.382606670601138[/C][C]0.765213341202276[/C][C]0.617393329398862[/C][/ROW]
[ROW][C]35[/C][C]0.459418522884119[/C][C]0.918837045768239[/C][C]0.540581477115881[/C][/ROW]
[ROW][C]36[/C][C]0.524749839413454[/C][C]0.950500321173091[/C][C]0.475250160586546[/C][/ROW]
[ROW][C]37[/C][C]0.624291002645896[/C][C]0.751417994708209[/C][C]0.375708997354104[/C][/ROW]
[ROW][C]38[/C][C]0.687487492693247[/C][C]0.625025014613507[/C][C]0.312512507306753[/C][/ROW]
[ROW][C]39[/C][C]0.73612854667853[/C][C]0.527742906642941[/C][C]0.263871453321471[/C][/ROW]
[ROW][C]40[/C][C]0.766080047913982[/C][C]0.467839904172036[/C][C]0.233919952086018[/C][/ROW]
[ROW][C]41[/C][C]0.805542454016674[/C][C]0.388915091966652[/C][C]0.194457545983326[/C][/ROW]
[ROW][C]42[/C][C]0.853730220286336[/C][C]0.292539559427328[/C][C]0.146269779713664[/C][/ROW]
[ROW][C]43[/C][C]0.890534400284593[/C][C]0.218931199430814[/C][C]0.109465599715407[/C][/ROW]
[ROW][C]44[/C][C]0.968309175090245[/C][C]0.063381649819511[/C][C]0.0316908249097555[/C][/ROW]
[ROW][C]45[/C][C]0.97712358748501[/C][C]0.0457528250299821[/C][C]0.0228764125149911[/C][/ROW]
[ROW][C]46[/C][C]0.986985838383188[/C][C]0.0260283232336243[/C][C]0.0130141616168122[/C][/ROW]
[ROW][C]47[/C][C]0.982004163128245[/C][C]0.0359916737435094[/C][C]0.0179958368717547[/C][/ROW]
[ROW][C]48[/C][C]0.971899832111798[/C][C]0.0562003357764031[/C][C]0.0281001678882015[/C][/ROW]
[ROW][C]49[/C][C]0.961652366175217[/C][C]0.0766952676495656[/C][C]0.0383476338247828[/C][/ROW]
[ROW][C]50[/C][C]0.951538350789533[/C][C]0.0969232984209348[/C][C]0.0484616492104674[/C][/ROW]
[ROW][C]51[/C][C]0.930093760011085[/C][C]0.139812479977830[/C][C]0.0699062399889152[/C][/ROW]
[ROW][C]52[/C][C]0.89683133290427[/C][C]0.206337334191461[/C][C]0.103168667095730[/C][/ROW]
[ROW][C]53[/C][C]0.97467438565755[/C][C]0.0506512286849017[/C][C]0.0253256143424509[/C][/ROW]
[ROW][C]54[/C][C]0.981960317351218[/C][C]0.0360793652975649[/C][C]0.0180396826487824[/C][/ROW]
[ROW][C]55[/C][C]0.94937784828764[/C][C]0.101244303424722[/C][C]0.050622151712361[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58557&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58557&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
50.02386120801852900.04772241603705790.976138791981471
60.009727994583092020.01945598916618400.990272005416908
70.04649658336023710.09299316672047430.953503416639763
80.0982125209646490.1964250419292980.901787479035351
90.1448849279178280.2897698558356560.855115072082172
100.191852430275120.383704860550240.80814756972488
110.1438482686357120.2876965372714250.856151731364288
120.1114387890852680.2228775781705360.888561210914732
130.08039945797073720.1607989159414740.919600542029263
140.05664188020307060.1132837604061410.94335811979693
150.03931408353977380.07862816707954750.960685916460226
160.02270524584609620.04541049169219240.977294754153904
170.01296734422630090.02593468845260170.9870326557737
180.007015183058677210.01403036611735440.992984816941323
190.01495726429861730.02991452859723460.985042735701383
200.04346243064714770.08692486129429530.956537569352852
210.08484398503562290.1696879700712460.915156014964377
220.09851471873965070.1970294374793010.90148528126035
230.09160694239343360.1832138847868670.908393057606566
240.07053498373826870.1410699674765370.929465016261731
250.05060451607524310.1012090321504860.949395483924757
260.03916669015895560.07833338031791120.960833309841044
270.02509531338604270.05019062677208540.974904686613957
280.01807476715769250.03614953431538490.981925232842308
290.01183896640327600.02367793280655200.988161033596724
300.007394545942641010.01478909188528200.99260545405736
310.02086478439833680.04172956879667360.979135215601663
320.08547960963878010.1709592192775600.91452039036122
330.2651822062992760.5303644125985520.734817793700724
340.3826066706011380.7652133412022760.617393329398862
350.4594185228841190.9188370457682390.540581477115881
360.5247498394134540.9505003211730910.475250160586546
370.6242910026458960.7514179947082090.375708997354104
380.6874874926932470.6250250146135070.312512507306753
390.736128546678530.5277429066429410.263871453321471
400.7660800479139820.4678399041720360.233919952086018
410.8055424540166740.3889150919666520.194457545983326
420.8537302202863360.2925395594273280.146269779713664
430.8905344002845930.2189311994308140.109465599715407
440.9683091750902450.0633816498195110.0316908249097555
450.977123587485010.04575282502998210.0228764125149911
460.9869858383831880.02602832323362430.0130141616168122
470.9820041631282450.03599167374350940.0179958368717547
480.9718998321117980.05620033577640310.0281001678882015
490.9616523661752170.07669526764956560.0383476338247828
500.9515383507895330.09692329842093480.0484616492104674
510.9300937600110850.1398124799778300.0699062399889152
520.896831332904270.2063373341914610.103168667095730
530.974674385657550.05065122868490170.0253256143424509
540.9819603173512180.03607936529756490.0180396826487824
550.949377848287640.1012443034247220.050622151712361







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}