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 computationFri, 24 Dec 2010 17:05:07 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/24/t12932101778z4icofjcxxmgfq.htm/, Retrieved Tue, 30 Apr 2024 04:23:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115211, Retrieved Tue, 30 Apr 2024 04:23:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact149
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [paperMR] [2010-12-19 15:04:21] [7e261c986c934df955dd3ac53e9d45c6]
-   PD  [Multiple Regression] [paperMR2(werk)] [2010-12-21 13:32:08] [7e261c986c934df955dd3ac53e9d45c6]
-   P     [Multiple Regression] [MR2_werkloos] [2010-12-24 10:21:43] [8441f95c4a5787a301bc621ebc7904ca]
-   P       [Multiple Regression] [] [2010-12-24 10:43:38] [8441f95c4a5787a301bc621ebc7904ca]
-               [Multiple Regression] [paperMR3] [2010-12-24 17:05:07] [13dfa60174f50d862e8699db2153bfc5] [Current]
Feedback Forum

Post a new message
Dataseries X:
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	0
566	0
557	0
561	0
549	0
532	0
526	0
511	0
499	0
555	0
565	0
542	0
527	0
510	0
514	0
517	0
508	0
493	0
490	0
469	0
478	0
528	0
534	0
518	0
506	0
502	1
516	1
528	1
533	1
536	1
537	1
524	1
536	1
587	1
597	1
581	1
564	1
558	1
575	1
580	1
575	1
563	1
552	1
537	1
545	1
601	1
604	1
586	1
564	1
549	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 5 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&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]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115211&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 time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
werkloosheid[t] = + 602.685897435897 + 84.275641025641X[t] -23.5881410256410M1[t] -22.0544871794872M2[t] -15.6490384615385M3[t] -18.0435897435897M4[t] -25.838141025641M5[t] -28.4326923076923M6[t] -39.0272435897436M7[t] -33.2217948717949M8[t] + 21.1836538461539M9[t] + 30.5891025641026M10[t] + 17.1945512820513M11[t] -2.40544871794872t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloosheid[t] =  +  602.685897435897 +  84.275641025641X[t] -23.5881410256410M1[t] -22.0544871794872M2[t] -15.6490384615385M3[t] -18.0435897435897M4[t] -25.838141025641M5[t] -28.4326923076923M6[t] -39.0272435897436M7[t] -33.2217948717949M8[t] +  21.1836538461539M9[t] +  30.5891025641026M10[t] +  17.1945512820513M11[t] -2.40544871794872t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloosheid[t] =  +  602.685897435897 +  84.275641025641X[t] -23.5881410256410M1[t] -22.0544871794872M2[t] -15.6490384615385M3[t] -18.0435897435897M4[t] -25.838141025641M5[t] -28.4326923076923M6[t] -39.0272435897436M7[t] -33.2217948717949M8[t] +  21.1836538461539M9[t] +  30.5891025641026M10[t] +  17.1945512820513M11[t] -2.40544871794872t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115211&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
werkloosheid[t] = + 602.685897435897 + 84.275641025641X[t] -23.5881410256410M1[t] -22.0544871794872M2[t] -15.6490384615385M3[t] -18.0435897435897M4[t] -25.838141025641M5[t] -28.4326923076923M6[t] -39.0272435897436M7[t] -33.2217948717949M8[t] + 21.1836538461539M9[t] + 30.5891025641026M10[t] + 17.1945512820513M11[t] -2.40544871794872t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)602.68589743589715.291139.414200
X84.27564102564113.8106576.102200
M1-23.588141025641016.343373-1.44330.1555730.077786
M2-22.054487179487217.184701-1.28340.2056510.102826
M3-15.649038461538517.100071-0.91510.3647870.182394
M4-18.043589743589717.023993-1.05990.294610.147305
M5-25.83814102564116.956581-1.52380.1342640.067132
M6-28.432692307692316.89794-1.68260.0990830.049541
M7-39.027243589743616.848162-2.31640.0249450.012473
M8-33.221794871794916.807324-1.97660.0539680.026984
M921.183653846153916.7754931.26280.21290.10645
M1030.589102564102616.7527191.82590.0742190.03711
M1117.194551282051316.739041.02720.3095780.154789
t-2.405448717948720.390784-6.155400

\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) & 602.685897435897 & 15.2911 & 39.4142 & 0 & 0 \tabularnewline
X & 84.275641025641 & 13.810657 & 6.1022 & 0 & 0 \tabularnewline
M1 & -23.5881410256410 & 16.343373 & -1.4433 & 0.155573 & 0.077786 \tabularnewline
M2 & -22.0544871794872 & 17.184701 & -1.2834 & 0.205651 & 0.102826 \tabularnewline
M3 & -15.6490384615385 & 17.100071 & -0.9151 & 0.364787 & 0.182394 \tabularnewline
M4 & -18.0435897435897 & 17.023993 & -1.0599 & 0.29461 & 0.147305 \tabularnewline
M5 & -25.838141025641 & 16.956581 & -1.5238 & 0.134264 & 0.067132 \tabularnewline
M6 & -28.4326923076923 & 16.89794 & -1.6826 & 0.099083 & 0.049541 \tabularnewline
M7 & -39.0272435897436 & 16.848162 & -2.3164 & 0.024945 & 0.012473 \tabularnewline
M8 & -33.2217948717949 & 16.807324 & -1.9766 & 0.053968 & 0.026984 \tabularnewline
M9 & 21.1836538461539 & 16.775493 & 1.2628 & 0.2129 & 0.10645 \tabularnewline
M10 & 30.5891025641026 & 16.752719 & 1.8259 & 0.074219 & 0.03711 \tabularnewline
M11 & 17.1945512820513 & 16.73904 & 1.0272 & 0.309578 & 0.154789 \tabularnewline
t & -2.40544871794872 & 0.390784 & -6.1554 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&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]602.685897435897[/C][C]15.2911[/C][C]39.4142[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]84.275641025641[/C][C]13.810657[/C][C]6.1022[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-23.5881410256410[/C][C]16.343373[/C][C]-1.4433[/C][C]0.155573[/C][C]0.077786[/C][/ROW]
[ROW][C]M2[/C][C]-22.0544871794872[/C][C]17.184701[/C][C]-1.2834[/C][C]0.205651[/C][C]0.102826[/C][/ROW]
[ROW][C]M3[/C][C]-15.6490384615385[/C][C]17.100071[/C][C]-0.9151[/C][C]0.364787[/C][C]0.182394[/C][/ROW]
[ROW][C]M4[/C][C]-18.0435897435897[/C][C]17.023993[/C][C]-1.0599[/C][C]0.29461[/C][C]0.147305[/C][/ROW]
[ROW][C]M5[/C][C]-25.838141025641[/C][C]16.956581[/C][C]-1.5238[/C][C]0.134264[/C][C]0.067132[/C][/ROW]
[ROW][C]M6[/C][C]-28.4326923076923[/C][C]16.89794[/C][C]-1.6826[/C][C]0.099083[/C][C]0.049541[/C][/ROW]
[ROW][C]M7[/C][C]-39.0272435897436[/C][C]16.848162[/C][C]-2.3164[/C][C]0.024945[/C][C]0.012473[/C][/ROW]
[ROW][C]M8[/C][C]-33.2217948717949[/C][C]16.807324[/C][C]-1.9766[/C][C]0.053968[/C][C]0.026984[/C][/ROW]
[ROW][C]M9[/C][C]21.1836538461539[/C][C]16.775493[/C][C]1.2628[/C][C]0.2129[/C][C]0.10645[/C][/ROW]
[ROW][C]M10[/C][C]30.5891025641026[/C][C]16.752719[/C][C]1.8259[/C][C]0.074219[/C][C]0.03711[/C][/ROW]
[ROW][C]M11[/C][C]17.1945512820513[/C][C]16.73904[/C][C]1.0272[/C][C]0.309578[/C][C]0.154789[/C][/ROW]
[ROW][C]t[/C][C]-2.40544871794872[/C][C]0.390784[/C][C]-6.1554[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115211&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)602.68589743589715.291139.414200
X84.27564102564113.8106576.102200
M1-23.588141025641016.343373-1.44330.1555730.077786
M2-22.054487179487217.184701-1.28340.2056510.102826
M3-15.649038461538517.100071-0.91510.3647870.182394
M4-18.043589743589717.023993-1.05990.294610.147305
M5-25.83814102564116.956581-1.52380.1342640.067132
M6-28.432692307692316.89794-1.68260.0990830.049541
M7-39.027243589743616.848162-2.31640.0249450.012473
M8-33.221794871794916.807324-1.97660.0539680.026984
M921.183653846153916.7754931.26280.21290.10645
M1030.589102564102616.7527191.82590.0742190.03711
M1117.194551282051316.739041.02720.3095780.154789
t-2.405448717948720.390784-6.155400







Multiple Linear Regression - Regression Statistics
Multiple R0.771536397422824
R-squared0.59526841254819
Adjusted R-squared0.483321377721094
F-TEST (value)5.31741116205168
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value9.67196184298302e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.4595327618816
Sum Squared Residuals32905.0230769231

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.771536397422824 \tabularnewline
R-squared & 0.59526841254819 \tabularnewline
Adjusted R-squared & 0.483321377721094 \tabularnewline
F-TEST (value) & 5.31741116205168 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 9.67196184298302e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.4595327618816 \tabularnewline
Sum Squared Residuals & 32905.0230769231 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.771536397422824[/C][/ROW]
[ROW][C]R-squared[/C][C]0.59526841254819[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.483321377721094[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.31741116205168[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]9.67196184298302e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.4595327618816[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]32905.0230769231[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115211&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.771536397422824
R-squared0.59526841254819
Adjusted R-squared0.483321377721094
F-TEST (value)5.31741116205168
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value9.67196184298302e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.4595327618816
Sum Squared Residuals32905.0230769231







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1595576.69230769230818.3076923076922
2597575.82051282051321.1794871794872
3593579.82051282051313.1794871794872
4590575.02051282051314.9794871794872
5580564.82051282051315.1794871794872
6574559.82051282051314.1794871794872
7573546.82051282051326.1794871794872
8573550.22051282051322.7794871794872
9620602.22051282051317.7794871794872
10626609.22051282051316.7794871794872
11620593.42051282051326.5794871794872
12588573.82051282051314.1794871794872
13566547.82692307692318.1730769230769
14557546.95512820512810.0448717948718
15561550.95512820512810.0448717948718
16549546.1551282051282.8448717948718
17532535.955128205128-3.95512820512821
18526530.955128205128-4.95512820512821
19511517.955128205128-6.95512820512821
20499521.355128205128-22.3551282051282
21555573.355128205128-18.3551282051282
22565580.355128205128-15.3551282051282
23542564.555128205128-22.5551282051282
24527544.955128205128-17.9551282051282
25510518.961538461538-8.96153846153846
26514518.089743589744-4.08974358974359
27517522.089743589744-5.08974358974359
28508517.289743589744-9.28974358974358
29493507.089743589744-14.0897435897436
30490502.089743589744-12.0897435897436
31469489.089743589744-20.0897435897436
32478492.489743589744-14.4897435897436
33528544.489743589744-16.4897435897436
34534551.489743589744-17.4897435897436
35518535.689743589744-17.6897435897436
36506516.089743589744-10.0897435897436
37502574.371794871795-72.3717948717948
38516573.5-57.5
39528577.5-49.5
40533572.7-39.7
41536562.5-26.5
42537557.5-20.5
43524544.5-20.5
44536547.9-11.9
45587599.9-12.9
46597606.9-9.9
47581591.1-10.1
48564571.5-7.5
49558545.5064102564112.4935897435898
50575544.63461538461530.3653846153846
51580548.63461538461531.3653846153846
52575543.83461538461531.1653846153846
53563533.63461538461529.3653846153846
54552528.63461538461523.3653846153846
55537515.63461538461521.3653846153846
56545519.03461538461525.9653846153846
57601571.03461538461529.9653846153846
58604578.03461538461525.9653846153846
59586562.23461538461523.7653846153846
60564542.63461538461521.3653846153846
61549516.64102564102632.3589743589744

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 595 & 576.692307692308 & 18.3076923076922 \tabularnewline
2 & 597 & 575.820512820513 & 21.1794871794872 \tabularnewline
3 & 593 & 579.820512820513 & 13.1794871794872 \tabularnewline
4 & 590 & 575.020512820513 & 14.9794871794872 \tabularnewline
5 & 580 & 564.820512820513 & 15.1794871794872 \tabularnewline
6 & 574 & 559.820512820513 & 14.1794871794872 \tabularnewline
7 & 573 & 546.820512820513 & 26.1794871794872 \tabularnewline
8 & 573 & 550.220512820513 & 22.7794871794872 \tabularnewline
9 & 620 & 602.220512820513 & 17.7794871794872 \tabularnewline
10 & 626 & 609.220512820513 & 16.7794871794872 \tabularnewline
11 & 620 & 593.420512820513 & 26.5794871794872 \tabularnewline
12 & 588 & 573.820512820513 & 14.1794871794872 \tabularnewline
13 & 566 & 547.826923076923 & 18.1730769230769 \tabularnewline
14 & 557 & 546.955128205128 & 10.0448717948718 \tabularnewline
15 & 561 & 550.955128205128 & 10.0448717948718 \tabularnewline
16 & 549 & 546.155128205128 & 2.8448717948718 \tabularnewline
17 & 532 & 535.955128205128 & -3.95512820512821 \tabularnewline
18 & 526 & 530.955128205128 & -4.95512820512821 \tabularnewline
19 & 511 & 517.955128205128 & -6.95512820512821 \tabularnewline
20 & 499 & 521.355128205128 & -22.3551282051282 \tabularnewline
21 & 555 & 573.355128205128 & -18.3551282051282 \tabularnewline
22 & 565 & 580.355128205128 & -15.3551282051282 \tabularnewline
23 & 542 & 564.555128205128 & -22.5551282051282 \tabularnewline
24 & 527 & 544.955128205128 & -17.9551282051282 \tabularnewline
25 & 510 & 518.961538461538 & -8.96153846153846 \tabularnewline
26 & 514 & 518.089743589744 & -4.08974358974359 \tabularnewline
27 & 517 & 522.089743589744 & -5.08974358974359 \tabularnewline
28 & 508 & 517.289743589744 & -9.28974358974358 \tabularnewline
29 & 493 & 507.089743589744 & -14.0897435897436 \tabularnewline
30 & 490 & 502.089743589744 & -12.0897435897436 \tabularnewline
31 & 469 & 489.089743589744 & -20.0897435897436 \tabularnewline
32 & 478 & 492.489743589744 & -14.4897435897436 \tabularnewline
33 & 528 & 544.489743589744 & -16.4897435897436 \tabularnewline
34 & 534 & 551.489743589744 & -17.4897435897436 \tabularnewline
35 & 518 & 535.689743589744 & -17.6897435897436 \tabularnewline
36 & 506 & 516.089743589744 & -10.0897435897436 \tabularnewline
37 & 502 & 574.371794871795 & -72.3717948717948 \tabularnewline
38 & 516 & 573.5 & -57.5 \tabularnewline
39 & 528 & 577.5 & -49.5 \tabularnewline
40 & 533 & 572.7 & -39.7 \tabularnewline
41 & 536 & 562.5 & -26.5 \tabularnewline
42 & 537 & 557.5 & -20.5 \tabularnewline
43 & 524 & 544.5 & -20.5 \tabularnewline
44 & 536 & 547.9 & -11.9 \tabularnewline
45 & 587 & 599.9 & -12.9 \tabularnewline
46 & 597 & 606.9 & -9.9 \tabularnewline
47 & 581 & 591.1 & -10.1 \tabularnewline
48 & 564 & 571.5 & -7.5 \tabularnewline
49 & 558 & 545.50641025641 & 12.4935897435898 \tabularnewline
50 & 575 & 544.634615384615 & 30.3653846153846 \tabularnewline
51 & 580 & 548.634615384615 & 31.3653846153846 \tabularnewline
52 & 575 & 543.834615384615 & 31.1653846153846 \tabularnewline
53 & 563 & 533.634615384615 & 29.3653846153846 \tabularnewline
54 & 552 & 528.634615384615 & 23.3653846153846 \tabularnewline
55 & 537 & 515.634615384615 & 21.3653846153846 \tabularnewline
56 & 545 & 519.034615384615 & 25.9653846153846 \tabularnewline
57 & 601 & 571.034615384615 & 29.9653846153846 \tabularnewline
58 & 604 & 578.034615384615 & 25.9653846153846 \tabularnewline
59 & 586 & 562.234615384615 & 23.7653846153846 \tabularnewline
60 & 564 & 542.634615384615 & 21.3653846153846 \tabularnewline
61 & 549 & 516.641025641026 & 32.3589743589744 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&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]595[/C][C]576.692307692308[/C][C]18.3076923076922[/C][/ROW]
[ROW][C]2[/C][C]597[/C][C]575.820512820513[/C][C]21.1794871794872[/C][/ROW]
[ROW][C]3[/C][C]593[/C][C]579.820512820513[/C][C]13.1794871794872[/C][/ROW]
[ROW][C]4[/C][C]590[/C][C]575.020512820513[/C][C]14.9794871794872[/C][/ROW]
[ROW][C]5[/C][C]580[/C][C]564.820512820513[/C][C]15.1794871794872[/C][/ROW]
[ROW][C]6[/C][C]574[/C][C]559.820512820513[/C][C]14.1794871794872[/C][/ROW]
[ROW][C]7[/C][C]573[/C][C]546.820512820513[/C][C]26.1794871794872[/C][/ROW]
[ROW][C]8[/C][C]573[/C][C]550.220512820513[/C][C]22.7794871794872[/C][/ROW]
[ROW][C]9[/C][C]620[/C][C]602.220512820513[/C][C]17.7794871794872[/C][/ROW]
[ROW][C]10[/C][C]626[/C][C]609.220512820513[/C][C]16.7794871794872[/C][/ROW]
[ROW][C]11[/C][C]620[/C][C]593.420512820513[/C][C]26.5794871794872[/C][/ROW]
[ROW][C]12[/C][C]588[/C][C]573.820512820513[/C][C]14.1794871794872[/C][/ROW]
[ROW][C]13[/C][C]566[/C][C]547.826923076923[/C][C]18.1730769230769[/C][/ROW]
[ROW][C]14[/C][C]557[/C][C]546.955128205128[/C][C]10.0448717948718[/C][/ROW]
[ROW][C]15[/C][C]561[/C][C]550.955128205128[/C][C]10.0448717948718[/C][/ROW]
[ROW][C]16[/C][C]549[/C][C]546.155128205128[/C][C]2.8448717948718[/C][/ROW]
[ROW][C]17[/C][C]532[/C][C]535.955128205128[/C][C]-3.95512820512821[/C][/ROW]
[ROW][C]18[/C][C]526[/C][C]530.955128205128[/C][C]-4.95512820512821[/C][/ROW]
[ROW][C]19[/C][C]511[/C][C]517.955128205128[/C][C]-6.95512820512821[/C][/ROW]
[ROW][C]20[/C][C]499[/C][C]521.355128205128[/C][C]-22.3551282051282[/C][/ROW]
[ROW][C]21[/C][C]555[/C][C]573.355128205128[/C][C]-18.3551282051282[/C][/ROW]
[ROW][C]22[/C][C]565[/C][C]580.355128205128[/C][C]-15.3551282051282[/C][/ROW]
[ROW][C]23[/C][C]542[/C][C]564.555128205128[/C][C]-22.5551282051282[/C][/ROW]
[ROW][C]24[/C][C]527[/C][C]544.955128205128[/C][C]-17.9551282051282[/C][/ROW]
[ROW][C]25[/C][C]510[/C][C]518.961538461538[/C][C]-8.96153846153846[/C][/ROW]
[ROW][C]26[/C][C]514[/C][C]518.089743589744[/C][C]-4.08974358974359[/C][/ROW]
[ROW][C]27[/C][C]517[/C][C]522.089743589744[/C][C]-5.08974358974359[/C][/ROW]
[ROW][C]28[/C][C]508[/C][C]517.289743589744[/C][C]-9.28974358974358[/C][/ROW]
[ROW][C]29[/C][C]493[/C][C]507.089743589744[/C][C]-14.0897435897436[/C][/ROW]
[ROW][C]30[/C][C]490[/C][C]502.089743589744[/C][C]-12.0897435897436[/C][/ROW]
[ROW][C]31[/C][C]469[/C][C]489.089743589744[/C][C]-20.0897435897436[/C][/ROW]
[ROW][C]32[/C][C]478[/C][C]492.489743589744[/C][C]-14.4897435897436[/C][/ROW]
[ROW][C]33[/C][C]528[/C][C]544.489743589744[/C][C]-16.4897435897436[/C][/ROW]
[ROW][C]34[/C][C]534[/C][C]551.489743589744[/C][C]-17.4897435897436[/C][/ROW]
[ROW][C]35[/C][C]518[/C][C]535.689743589744[/C][C]-17.6897435897436[/C][/ROW]
[ROW][C]36[/C][C]506[/C][C]516.089743589744[/C][C]-10.0897435897436[/C][/ROW]
[ROW][C]37[/C][C]502[/C][C]574.371794871795[/C][C]-72.3717948717948[/C][/ROW]
[ROW][C]38[/C][C]516[/C][C]573.5[/C][C]-57.5[/C][/ROW]
[ROW][C]39[/C][C]528[/C][C]577.5[/C][C]-49.5[/C][/ROW]
[ROW][C]40[/C][C]533[/C][C]572.7[/C][C]-39.7[/C][/ROW]
[ROW][C]41[/C][C]536[/C][C]562.5[/C][C]-26.5[/C][/ROW]
[ROW][C]42[/C][C]537[/C][C]557.5[/C][C]-20.5[/C][/ROW]
[ROW][C]43[/C][C]524[/C][C]544.5[/C][C]-20.5[/C][/ROW]
[ROW][C]44[/C][C]536[/C][C]547.9[/C][C]-11.9[/C][/ROW]
[ROW][C]45[/C][C]587[/C][C]599.9[/C][C]-12.9[/C][/ROW]
[ROW][C]46[/C][C]597[/C][C]606.9[/C][C]-9.9[/C][/ROW]
[ROW][C]47[/C][C]581[/C][C]591.1[/C][C]-10.1[/C][/ROW]
[ROW][C]48[/C][C]564[/C][C]571.5[/C][C]-7.5[/C][/ROW]
[ROW][C]49[/C][C]558[/C][C]545.50641025641[/C][C]12.4935897435898[/C][/ROW]
[ROW][C]50[/C][C]575[/C][C]544.634615384615[/C][C]30.3653846153846[/C][/ROW]
[ROW][C]51[/C][C]580[/C][C]548.634615384615[/C][C]31.3653846153846[/C][/ROW]
[ROW][C]52[/C][C]575[/C][C]543.834615384615[/C][C]31.1653846153846[/C][/ROW]
[ROW][C]53[/C][C]563[/C][C]533.634615384615[/C][C]29.3653846153846[/C][/ROW]
[ROW][C]54[/C][C]552[/C][C]528.634615384615[/C][C]23.3653846153846[/C][/ROW]
[ROW][C]55[/C][C]537[/C][C]515.634615384615[/C][C]21.3653846153846[/C][/ROW]
[ROW][C]56[/C][C]545[/C][C]519.034615384615[/C][C]25.9653846153846[/C][/ROW]
[ROW][C]57[/C][C]601[/C][C]571.034615384615[/C][C]29.9653846153846[/C][/ROW]
[ROW][C]58[/C][C]604[/C][C]578.034615384615[/C][C]25.9653846153846[/C][/ROW]
[ROW][C]59[/C][C]586[/C][C]562.234615384615[/C][C]23.7653846153846[/C][/ROW]
[ROW][C]60[/C][C]564[/C][C]542.634615384615[/C][C]21.3653846153846[/C][/ROW]
[ROW][C]61[/C][C]549[/C][C]516.641025641026[/C][C]32.3589743589744[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115211&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
1595576.69230769230818.3076923076922
2597575.82051282051321.1794871794872
3593579.82051282051313.1794871794872
4590575.02051282051314.9794871794872
5580564.82051282051315.1794871794872
6574559.82051282051314.1794871794872
7573546.82051282051326.1794871794872
8573550.22051282051322.7794871794872
9620602.22051282051317.7794871794872
10626609.22051282051316.7794871794872
11620593.42051282051326.5794871794872
12588573.82051282051314.1794871794872
13566547.82692307692318.1730769230769
14557546.95512820512810.0448717948718
15561550.95512820512810.0448717948718
16549546.1551282051282.8448717948718
17532535.955128205128-3.95512820512821
18526530.955128205128-4.95512820512821
19511517.955128205128-6.95512820512821
20499521.355128205128-22.3551282051282
21555573.355128205128-18.3551282051282
22565580.355128205128-15.3551282051282
23542564.555128205128-22.5551282051282
24527544.955128205128-17.9551282051282
25510518.961538461538-8.96153846153846
26514518.089743589744-4.08974358974359
27517522.089743589744-5.08974358974359
28508517.289743589744-9.28974358974358
29493507.089743589744-14.0897435897436
30490502.089743589744-12.0897435897436
31469489.089743589744-20.0897435897436
32478492.489743589744-14.4897435897436
33528544.489743589744-16.4897435897436
34534551.489743589744-17.4897435897436
35518535.689743589744-17.6897435897436
36506516.089743589744-10.0897435897436
37502574.371794871795-72.3717948717948
38516573.5-57.5
39528577.5-49.5
40533572.7-39.7
41536562.5-26.5
42537557.5-20.5
43524544.5-20.5
44536547.9-11.9
45587599.9-12.9
46597606.9-9.9
47581591.1-10.1
48564571.5-7.5
49558545.5064102564112.4935897435898
50575544.63461538461530.3653846153846
51580548.63461538461531.3653846153846
52575543.83461538461531.1653846153846
53563533.63461538461529.3653846153846
54552528.63461538461523.3653846153846
55537515.63461538461521.3653846153846
56545519.03461538461525.9653846153846
57601571.03461538461529.9653846153846
58604578.03461538461525.9653846153846
59586562.23461538461523.7653846153846
60564542.63461538461521.3653846153846
61549516.64102564102632.3589743589744







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.04922897578063470.09845795156126940.950771024219365
180.02776623920972520.05553247841945030.972233760790275
190.07016243816489250.1403248763297850.929837561835107
200.1759362540068160.3518725080136330.824063745993184
210.1693148940471610.3386297880943220.83068510595284
220.1553922682487010.3107845364974030.844607731751299
230.2498347545275210.4996695090550430.750165245472479
240.2660680008800310.5321360017600620.733931999119969
250.3470470311666530.6940940623333060.652952968833347
260.3856087380800200.7712174761600410.61439126191998
270.4190681923801370.8381363847602740.580931807619863
280.3903758062277090.7807516124554190.60962419377229
290.3185941131950910.6371882263901810.68140588680491
300.2676786803975890.5353573607951780.732321319602411
310.1936521707504320.3873043415008630.806347829249568
320.1523343857592810.3046687715185610.84766561424072
330.1108278012559780.2216556025119570.889172198744022
340.07472665618036820.1494533123607360.925273343819632
350.04747624734517810.09495249469035620.952523752654822
360.03738028813952130.07476057627904250.962619711860479
370.03270851508575230.06541703017150460.967291484914248
380.1120117322418950.2240234644837910.887988267758105
390.3827643021889420.7655286043778850.617235697811058
400.8012710366207730.3974579267584550.198728963379227
410.9393996104783720.1212007790432560.0606003895216282
420.939543622383390.1209127552332210.0604563776166104
430.9163715343678430.1672569312643150.0836284656321574
440.859944755792120.2801104884157590.140055244207880

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0492289757806347 & 0.0984579515612694 & 0.950771024219365 \tabularnewline
18 & 0.0277662392097252 & 0.0555324784194503 & 0.972233760790275 \tabularnewline
19 & 0.0701624381648925 & 0.140324876329785 & 0.929837561835107 \tabularnewline
20 & 0.175936254006816 & 0.351872508013633 & 0.824063745993184 \tabularnewline
21 & 0.169314894047161 & 0.338629788094322 & 0.83068510595284 \tabularnewline
22 & 0.155392268248701 & 0.310784536497403 & 0.844607731751299 \tabularnewline
23 & 0.249834754527521 & 0.499669509055043 & 0.750165245472479 \tabularnewline
24 & 0.266068000880031 & 0.532136001760062 & 0.733931999119969 \tabularnewline
25 & 0.347047031166653 & 0.694094062333306 & 0.652952968833347 \tabularnewline
26 & 0.385608738080020 & 0.771217476160041 & 0.61439126191998 \tabularnewline
27 & 0.419068192380137 & 0.838136384760274 & 0.580931807619863 \tabularnewline
28 & 0.390375806227709 & 0.780751612455419 & 0.60962419377229 \tabularnewline
29 & 0.318594113195091 & 0.637188226390181 & 0.68140588680491 \tabularnewline
30 & 0.267678680397589 & 0.535357360795178 & 0.732321319602411 \tabularnewline
31 & 0.193652170750432 & 0.387304341500863 & 0.806347829249568 \tabularnewline
32 & 0.152334385759281 & 0.304668771518561 & 0.84766561424072 \tabularnewline
33 & 0.110827801255978 & 0.221655602511957 & 0.889172198744022 \tabularnewline
34 & 0.0747266561803682 & 0.149453312360736 & 0.925273343819632 \tabularnewline
35 & 0.0474762473451781 & 0.0949524946903562 & 0.952523752654822 \tabularnewline
36 & 0.0373802881395213 & 0.0747605762790425 & 0.962619711860479 \tabularnewline
37 & 0.0327085150857523 & 0.0654170301715046 & 0.967291484914248 \tabularnewline
38 & 0.112011732241895 & 0.224023464483791 & 0.887988267758105 \tabularnewline
39 & 0.382764302188942 & 0.765528604377885 & 0.617235697811058 \tabularnewline
40 & 0.801271036620773 & 0.397457926758455 & 0.198728963379227 \tabularnewline
41 & 0.939399610478372 & 0.121200779043256 & 0.0606003895216282 \tabularnewline
42 & 0.93954362238339 & 0.120912755233221 & 0.0604563776166104 \tabularnewline
43 & 0.916371534367843 & 0.167256931264315 & 0.0836284656321574 \tabularnewline
44 & 0.85994475579212 & 0.280110488415759 & 0.140055244207880 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115211&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.0492289757806347[/C][C]0.0984579515612694[/C][C]0.950771024219365[/C][/ROW]
[ROW][C]18[/C][C]0.0277662392097252[/C][C]0.0555324784194503[/C][C]0.972233760790275[/C][/ROW]
[ROW][C]19[/C][C]0.0701624381648925[/C][C]0.140324876329785[/C][C]0.929837561835107[/C][/ROW]
[ROW][C]20[/C][C]0.175936254006816[/C][C]0.351872508013633[/C][C]0.824063745993184[/C][/ROW]
[ROW][C]21[/C][C]0.169314894047161[/C][C]0.338629788094322[/C][C]0.83068510595284[/C][/ROW]
[ROW][C]22[/C][C]0.155392268248701[/C][C]0.310784536497403[/C][C]0.844607731751299[/C][/ROW]
[ROW][C]23[/C][C]0.249834754527521[/C][C]0.499669509055043[/C][C]0.750165245472479[/C][/ROW]
[ROW][C]24[/C][C]0.266068000880031[/C][C]0.532136001760062[/C][C]0.733931999119969[/C][/ROW]
[ROW][C]25[/C][C]0.347047031166653[/C][C]0.694094062333306[/C][C]0.652952968833347[/C][/ROW]
[ROW][C]26[/C][C]0.385608738080020[/C][C]0.771217476160041[/C][C]0.61439126191998[/C][/ROW]
[ROW][C]27[/C][C]0.419068192380137[/C][C]0.838136384760274[/C][C]0.580931807619863[/C][/ROW]
[ROW][C]28[/C][C]0.390375806227709[/C][C]0.780751612455419[/C][C]0.60962419377229[/C][/ROW]
[ROW][C]29[/C][C]0.318594113195091[/C][C]0.637188226390181[/C][C]0.68140588680491[/C][/ROW]
[ROW][C]30[/C][C]0.267678680397589[/C][C]0.535357360795178[/C][C]0.732321319602411[/C][/ROW]
[ROW][C]31[/C][C]0.193652170750432[/C][C]0.387304341500863[/C][C]0.806347829249568[/C][/ROW]
[ROW][C]32[/C][C]0.152334385759281[/C][C]0.304668771518561[/C][C]0.84766561424072[/C][/ROW]
[ROW][C]33[/C][C]0.110827801255978[/C][C]0.221655602511957[/C][C]0.889172198744022[/C][/ROW]
[ROW][C]34[/C][C]0.0747266561803682[/C][C]0.149453312360736[/C][C]0.925273343819632[/C][/ROW]
[ROW][C]35[/C][C]0.0474762473451781[/C][C]0.0949524946903562[/C][C]0.952523752654822[/C][/ROW]
[ROW][C]36[/C][C]0.0373802881395213[/C][C]0.0747605762790425[/C][C]0.962619711860479[/C][/ROW]
[ROW][C]37[/C][C]0.0327085150857523[/C][C]0.0654170301715046[/C][C]0.967291484914248[/C][/ROW]
[ROW][C]38[/C][C]0.112011732241895[/C][C]0.224023464483791[/C][C]0.887988267758105[/C][/ROW]
[ROW][C]39[/C][C]0.382764302188942[/C][C]0.765528604377885[/C][C]0.617235697811058[/C][/ROW]
[ROW][C]40[/C][C]0.801271036620773[/C][C]0.397457926758455[/C][C]0.198728963379227[/C][/ROW]
[ROW][C]41[/C][C]0.939399610478372[/C][C]0.121200779043256[/C][C]0.0606003895216282[/C][/ROW]
[ROW][C]42[/C][C]0.93954362238339[/C][C]0.120912755233221[/C][C]0.0604563776166104[/C][/ROW]
[ROW][C]43[/C][C]0.916371534367843[/C][C]0.167256931264315[/C][C]0.0836284656321574[/C][/ROW]
[ROW][C]44[/C][C]0.85994475579212[/C][C]0.280110488415759[/C][C]0.140055244207880[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115211&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.04922897578063470.09845795156126940.950771024219365
180.02776623920972520.05553247841945030.972233760790275
190.07016243816489250.1403248763297850.929837561835107
200.1759362540068160.3518725080136330.824063745993184
210.1693148940471610.3386297880943220.83068510595284
220.1553922682487010.3107845364974030.844607731751299
230.2498347545275210.4996695090550430.750165245472479
240.2660680008800310.5321360017600620.733931999119969
250.3470470311666530.6940940623333060.652952968833347
260.3856087380800200.7712174761600410.61439126191998
270.4190681923801370.8381363847602740.580931807619863
280.3903758062277090.7807516124554190.60962419377229
290.3185941131950910.6371882263901810.68140588680491
300.2676786803975890.5353573607951780.732321319602411
310.1936521707504320.3873043415008630.806347829249568
320.1523343857592810.3046687715185610.84766561424072
330.1108278012559780.2216556025119570.889172198744022
340.07472665618036820.1494533123607360.925273343819632
350.04747624734517810.09495249469035620.952523752654822
360.03738028813952130.07476057627904250.962619711860479
370.03270851508575230.06541703017150460.967291484914248
380.1120117322418950.2240234644837910.887988267758105
390.3827643021889420.7655286043778850.617235697811058
400.8012710366207730.3974579267584550.198728963379227
410.9393996104783720.1212007790432560.0606003895216282
420.939543622383390.1209127552332210.0604563776166104
430.9163715343678430.1672569312643150.0836284656321574
440.859944755792120.2801104884157590.140055244207880







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

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

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

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ; par4 = ; par5 = ; par6 = ; par7 = ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
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')
}