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 computationSun, 19 Dec 2010 15:42:29 +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/19/t1292773304pskov1ajctzm9th.htm/, Retrieved Sat, 04 May 2024 20:57:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112518, Retrieved Sat, 04 May 2024 20:57:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact142
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Paper: Multiple R...] [2010-12-19 15:42:29] [6f3869f9d1e39c73f93153f1f7803f84] [Current]
Feedback Forum

Post a new message
Dataseries X:
695	0	641	696	729	839	627	608
638	0	695	641	696	729	696	651
762	0	638	695	641	696	825	691
635	0	762	638	695	641	677	627
721	0	635	762	638	695	656	634
854	0	721	635	762	638	785	731
418	0	854	721	635	762	412	475
367	0	418	854	721	635	352	337
824	0	367	418	854	721	839	803
687	0	824	367	418	854	729	722
601	0	687	824	367	418	696	590
676	0	601	687	824	367	641	724
740	0	676	601	687	824	695	627
691	0	740	676	601	687	638	696
683	0	691	740	676	601	762	825
594	0	683	691	740	676	635	677
729	0	594	683	691	740	721	656
731	0	729	594	683	691	854	785
386	0	731	729	594	683	418	412
331	0	386	731	729	594	367	352
706	0	331	386	731	729	824	839
715	0	706	331	386	731	687	729
657	0	715	706	331	386	601	696
653	0	657	715	706	331	676	641
642	0	653	657	715	706	740	695
643	0	642	653	657	715	691	638
718	0	643	642	653	657	683	762
654	0	718	643	642	653	594	635
632	0	654	718	643	642	729	721
731	0	632	654	718	643	731	854
392	1	731	632	654	718	386	418
344	1	392	731	632	654	331	367
792	1	344	392	731	632	706	824
852	1	792	344	392	731	715	687
649	1	852	792	344	392	657	601
629	1	649	852	792	344	653	676
685	1	629	649	852	792	642	740
617	1	685	629	649	852	643	691
715	1	617	685	629	649	718	683
715	1	715	617	685	629	654	594
629	1	715	715	617	685	632	729
916	1	629	715	715	617	731	731
531	1	916	629	715	715	392	386
357	1	531	916	629	715	344	331
917	1	357	531	916	629	792	706
828	1	917	357	531	916	852	715
708	1	828	917	357	531	649	657
858	1	708	828	917	357	629	653
775	1	858	708	828	917	685	642
785	1	775	858	708	828	617	643
1006	1	785	775	858	708	715	718
789	1	1006	785	775	858	715	654
734	1	789	1006	785	775	629	632
906	1	734	789	1006	785	916	731
532	1	906	734	789	1006	531	392
387	1	532	906	734	789	357	344
991	1	387	532	906	734	917	792
841	1	991	387	532	906	828	852
892	1	841	991	387	532	708	649
782	1	892	841	991	387	858	629




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=112518&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=112518&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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
faillissement[t] = -122.703425274455 + 78.463476286789crisis[t] + 0.0523803521122521`t-1`[t] + 0.0444563774906133`t-2`[t] + 0.063446088726049`t-3`[t] -0.00750219719536323`t-4`[t] + 0.668851325427979`t-12`[t] + 0.345558412581939`t-24`[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
faillissement[t] =  -122.703425274455 +  78.463476286789crisis[t] +  0.0523803521122521`t-1`[t] +  0.0444563774906133`t-2`[t] +  0.063446088726049`t-3`[t] -0.00750219719536323`t-4`[t] +  0.668851325427979`t-12`[t] +  0.345558412581939`t-24`[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112518&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]faillissement[t] =  -122.703425274455 +  78.463476286789crisis[t] +  0.0523803521122521`t-1`[t] +  0.0444563774906133`t-2`[t] +  0.063446088726049`t-3`[t] -0.00750219719536323`t-4`[t] +  0.668851325427979`t-12`[t] +  0.345558412581939`t-24`[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112518&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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
faillissement[t] = -122.703425274455 + 78.463476286789crisis[t] + 0.0523803521122521`t-1`[t] + 0.0444563774906133`t-2`[t] + 0.063446088726049`t-3`[t] -0.00750219719536323`t-4`[t] + 0.668851325427979`t-12`[t] + 0.345558412581939`t-24`[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-122.703425274455118.622544-1.03440.3057350.152867
crisis78.46347628678920.4765743.83190.0003440.000172
`t-1`0.05238035211225210.0724020.72350.4726330.236317
`t-2`0.04445637749061330.0821720.5410.5908070.295404
`t-3`0.0634460887260490.0729690.86950.3885720.194286
`t-4`-0.007502197195363230.075037-0.10.9207450.460372
`t-12`0.6688513254279790.1432014.67072.2e-051.1e-05
`t-24`0.3455584125819390.1540232.24360.0291460.014573

\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) & -122.703425274455 & 118.622544 & -1.0344 & 0.305735 & 0.152867 \tabularnewline
crisis & 78.463476286789 & 20.476574 & 3.8319 & 0.000344 & 0.000172 \tabularnewline
`t-1` & 0.0523803521122521 & 0.072402 & 0.7235 & 0.472633 & 0.236317 \tabularnewline
`t-2` & 0.0444563774906133 & 0.082172 & 0.541 & 0.590807 & 0.295404 \tabularnewline
`t-3` & 0.063446088726049 & 0.072969 & 0.8695 & 0.388572 & 0.194286 \tabularnewline
`t-4` & -0.00750219719536323 & 0.075037 & -0.1 & 0.920745 & 0.460372 \tabularnewline
`t-12` & 0.668851325427979 & 0.143201 & 4.6707 & 2.2e-05 & 1.1e-05 \tabularnewline
`t-24` & 0.345558412581939 & 0.154023 & 2.2436 & 0.029146 & 0.014573 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112518&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]-122.703425274455[/C][C]118.622544[/C][C]-1.0344[/C][C]0.305735[/C][C]0.152867[/C][/ROW]
[ROW][C]crisis[/C][C]78.463476286789[/C][C]20.476574[/C][C]3.8319[/C][C]0.000344[/C][C]0.000172[/C][/ROW]
[ROW][C]`t-1`[/C][C]0.0523803521122521[/C][C]0.072402[/C][C]0.7235[/C][C]0.472633[/C][C]0.236317[/C][/ROW]
[ROW][C]`t-2`[/C][C]0.0444563774906133[/C][C]0.082172[/C][C]0.541[/C][C]0.590807[/C][C]0.295404[/C][/ROW]
[ROW][C]`t-3`[/C][C]0.063446088726049[/C][C]0.072969[/C][C]0.8695[/C][C]0.388572[/C][C]0.194286[/C][/ROW]
[ROW][C]`t-4`[/C][C]-0.00750219719536323[/C][C]0.075037[/C][C]-0.1[/C][C]0.920745[/C][C]0.460372[/C][/ROW]
[ROW][C]`t-12`[/C][C]0.668851325427979[/C][C]0.143201[/C][C]4.6707[/C][C]2.2e-05[/C][C]1.1e-05[/C][/ROW]
[ROW][C]`t-24`[/C][C]0.345558412581939[/C][C]0.154023[/C][C]2.2436[/C][C]0.029146[/C][C]0.014573[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112518&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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)-122.703425274455118.622544-1.03440.3057350.152867
crisis78.46347628678920.4765743.83190.0003440.000172
`t-1`0.05238035211225210.0724020.72350.4726330.236317
`t-2`0.04445637749061330.0821720.5410.5908070.295404
`t-3`0.0634460887260490.0729690.86950.3885720.194286
`t-4`-0.007502197195363230.075037-0.10.9207450.460372
`t-12`0.6688513254279790.1432014.67072.2e-051.1e-05
`t-24`0.3455584125819390.1540232.24360.0291460.014573







Multiple Linear Regression - Regression Statistics
Multiple R0.899985961342426
R-squared0.80997473061345
Adjusted R-squared0.784394405888338
F-TEST (value)31.6639737500396
F-TEST (DF numerator)7
F-TEST (DF denominator)52
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation73.883945471156
Sum Squared Residuals283859.544716007

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.899985961342426 \tabularnewline
R-squared & 0.80997473061345 \tabularnewline
Adjusted R-squared & 0.784394405888338 \tabularnewline
F-TEST (value) & 31.6639737500396 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 52 \tabularnewline
p-value & 1.11022302462516e-16 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 73.883945471156 \tabularnewline
Sum Squared Residuals & 283859.544716007 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112518&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.899985961342426[/C][/ROW]
[ROW][C]R-squared[/C][C]0.80997473061345[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.784394405888338[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]31.6639737500396[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]52[/C][/ROW]
[ROW][C]p-value[/C][C]1.11022302462516e-16[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]73.883945471156[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]283859.544716007[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112518&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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.899985961342426
R-squared0.80997473061345
Adjusted R-squared0.784394405888338
F-TEST (value)31.6639737500396
F-TEST (DF numerator)7
F-TEST (DF denominator)52
p-value1.11022302462516e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation73.883945471156
Sum Squared Residuals283859.544716007







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1695611.24117029050683.7588297094942
2638671.365882501669-33.3658825016687
3762767.643041926765-5.64304192676461
4635654.337167140086-19.3371671400856
5721637.54893857881783.4510614211828
6854764.50361616198689.4963838380138
7418428.361027731063-10.3610277310628
8367330.02689462863736.9731053713627
9824802.52647267337821.4735273266224
10687693.9728542089-6.97285420890017
11601639.462713734943-38.4627137349425
12676667.7629587292848.23704127071627
13740658.34642395242381.653576047577
14691646.32343710348744.6765628965134
15683779.52025319878-96.52025319878
16594644.333969382177-50.3339693821765
17729685.99195537876743.0080446212331
18731822.500985775012-91.5009857750121
19386402.508207341752-16.5082073417520
20331338.913893794667-7.91389379466694
21706793.7616223983-87.7616223983001
22715659.41119170588755.5888082941131
23657606.72783798433550.2721620156654
24653659.452925792345-6.45292579234464
25642715.889264446529-73.8892644465287
26643658.917317679321-15.9173176793208
27718696.160453518221.8395464818002
28654596.05185175590857.9481482440921
29632716.192660205219-84.1926602052187
30731764.243010280862-33.243010280862
31392460.873711495473-68.8737114954731
32344392.191978229303-48.1919782293028
33792789.7926620662122.20733793378826
34852747.552371497606104.447628502394
35649701.598081973644-52.598081973644
36629745.657682000875-116.657682000875
37685750.789585133611-65.7895851336115
38617723.240558567889-106.240558567889
39715769.82165812631-54.8216581263104
40715702.07374032933212.9262596706678
41629733.631664786247-104.631664786247
42916802.762218651564113.237781348436
43531467.27866425758963.7213357424113
44357403.304269091188-46.3042690911879
45917825.15839742290991.8416025770912
46828863.417215406721-35.4172154067214
47708719.680454953725-11.6804549537245
48858731.514126943283126.485873056717
49775757.84301382079117.1569861792091
50785708.08173440580776.9182655941932
511006806.797146403147199.202853596853
52789790.31067464605-1.31067464604990
53734724.9026418539839.09735814601649
54906952.491865452292-46.4918654522917
55532568.978336264838-36.9783362648382
56387422.206088986301-35.2060889863012
57991938.67651193153852.3234880684625
58841900.05459156188-59.0545915618802
59892762.24481282967129.755187170330
60782891.073540910223-109.073540910223

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 695 & 611.241170290506 & 83.7588297094942 \tabularnewline
2 & 638 & 671.365882501669 & -33.3658825016687 \tabularnewline
3 & 762 & 767.643041926765 & -5.64304192676461 \tabularnewline
4 & 635 & 654.337167140086 & -19.3371671400856 \tabularnewline
5 & 721 & 637.548938578817 & 83.4510614211828 \tabularnewline
6 & 854 & 764.503616161986 & 89.4963838380138 \tabularnewline
7 & 418 & 428.361027731063 & -10.3610277310628 \tabularnewline
8 & 367 & 330.026894628637 & 36.9731053713627 \tabularnewline
9 & 824 & 802.526472673378 & 21.4735273266224 \tabularnewline
10 & 687 & 693.9728542089 & -6.97285420890017 \tabularnewline
11 & 601 & 639.462713734943 & -38.4627137349425 \tabularnewline
12 & 676 & 667.762958729284 & 8.23704127071627 \tabularnewline
13 & 740 & 658.346423952423 & 81.653576047577 \tabularnewline
14 & 691 & 646.323437103487 & 44.6765628965134 \tabularnewline
15 & 683 & 779.52025319878 & -96.52025319878 \tabularnewline
16 & 594 & 644.333969382177 & -50.3339693821765 \tabularnewline
17 & 729 & 685.991955378767 & 43.0080446212331 \tabularnewline
18 & 731 & 822.500985775012 & -91.5009857750121 \tabularnewline
19 & 386 & 402.508207341752 & -16.5082073417520 \tabularnewline
20 & 331 & 338.913893794667 & -7.91389379466694 \tabularnewline
21 & 706 & 793.7616223983 & -87.7616223983001 \tabularnewline
22 & 715 & 659.411191705887 & 55.5888082941131 \tabularnewline
23 & 657 & 606.727837984335 & 50.2721620156654 \tabularnewline
24 & 653 & 659.452925792345 & -6.45292579234464 \tabularnewline
25 & 642 & 715.889264446529 & -73.8892644465287 \tabularnewline
26 & 643 & 658.917317679321 & -15.9173176793208 \tabularnewline
27 & 718 & 696.1604535182 & 21.8395464818002 \tabularnewline
28 & 654 & 596.051851755908 & 57.9481482440921 \tabularnewline
29 & 632 & 716.192660205219 & -84.1926602052187 \tabularnewline
30 & 731 & 764.243010280862 & -33.243010280862 \tabularnewline
31 & 392 & 460.873711495473 & -68.8737114954731 \tabularnewline
32 & 344 & 392.191978229303 & -48.1919782293028 \tabularnewline
33 & 792 & 789.792662066212 & 2.20733793378826 \tabularnewline
34 & 852 & 747.552371497606 & 104.447628502394 \tabularnewline
35 & 649 & 701.598081973644 & -52.598081973644 \tabularnewline
36 & 629 & 745.657682000875 & -116.657682000875 \tabularnewline
37 & 685 & 750.789585133611 & -65.7895851336115 \tabularnewline
38 & 617 & 723.240558567889 & -106.240558567889 \tabularnewline
39 & 715 & 769.82165812631 & -54.8216581263104 \tabularnewline
40 & 715 & 702.073740329332 & 12.9262596706678 \tabularnewline
41 & 629 & 733.631664786247 & -104.631664786247 \tabularnewline
42 & 916 & 802.762218651564 & 113.237781348436 \tabularnewline
43 & 531 & 467.278664257589 & 63.7213357424113 \tabularnewline
44 & 357 & 403.304269091188 & -46.3042690911879 \tabularnewline
45 & 917 & 825.158397422909 & 91.8416025770912 \tabularnewline
46 & 828 & 863.417215406721 & -35.4172154067214 \tabularnewline
47 & 708 & 719.680454953725 & -11.6804549537245 \tabularnewline
48 & 858 & 731.514126943283 & 126.485873056717 \tabularnewline
49 & 775 & 757.843013820791 & 17.1569861792091 \tabularnewline
50 & 785 & 708.081734405807 & 76.9182655941932 \tabularnewline
51 & 1006 & 806.797146403147 & 199.202853596853 \tabularnewline
52 & 789 & 790.31067464605 & -1.31067464604990 \tabularnewline
53 & 734 & 724.902641853983 & 9.09735814601649 \tabularnewline
54 & 906 & 952.491865452292 & -46.4918654522917 \tabularnewline
55 & 532 & 568.978336264838 & -36.9783362648382 \tabularnewline
56 & 387 & 422.206088986301 & -35.2060889863012 \tabularnewline
57 & 991 & 938.676511931538 & 52.3234880684625 \tabularnewline
58 & 841 & 900.05459156188 & -59.0545915618802 \tabularnewline
59 & 892 & 762.24481282967 & 129.755187170330 \tabularnewline
60 & 782 & 891.073540910223 & -109.073540910223 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112518&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]695[/C][C]611.241170290506[/C][C]83.7588297094942[/C][/ROW]
[ROW][C]2[/C][C]638[/C][C]671.365882501669[/C][C]-33.3658825016687[/C][/ROW]
[ROW][C]3[/C][C]762[/C][C]767.643041926765[/C][C]-5.64304192676461[/C][/ROW]
[ROW][C]4[/C][C]635[/C][C]654.337167140086[/C][C]-19.3371671400856[/C][/ROW]
[ROW][C]5[/C][C]721[/C][C]637.548938578817[/C][C]83.4510614211828[/C][/ROW]
[ROW][C]6[/C][C]854[/C][C]764.503616161986[/C][C]89.4963838380138[/C][/ROW]
[ROW][C]7[/C][C]418[/C][C]428.361027731063[/C][C]-10.3610277310628[/C][/ROW]
[ROW][C]8[/C][C]367[/C][C]330.026894628637[/C][C]36.9731053713627[/C][/ROW]
[ROW][C]9[/C][C]824[/C][C]802.526472673378[/C][C]21.4735273266224[/C][/ROW]
[ROW][C]10[/C][C]687[/C][C]693.9728542089[/C][C]-6.97285420890017[/C][/ROW]
[ROW][C]11[/C][C]601[/C][C]639.462713734943[/C][C]-38.4627137349425[/C][/ROW]
[ROW][C]12[/C][C]676[/C][C]667.762958729284[/C][C]8.23704127071627[/C][/ROW]
[ROW][C]13[/C][C]740[/C][C]658.346423952423[/C][C]81.653576047577[/C][/ROW]
[ROW][C]14[/C][C]691[/C][C]646.323437103487[/C][C]44.6765628965134[/C][/ROW]
[ROW][C]15[/C][C]683[/C][C]779.52025319878[/C][C]-96.52025319878[/C][/ROW]
[ROW][C]16[/C][C]594[/C][C]644.333969382177[/C][C]-50.3339693821765[/C][/ROW]
[ROW][C]17[/C][C]729[/C][C]685.991955378767[/C][C]43.0080446212331[/C][/ROW]
[ROW][C]18[/C][C]731[/C][C]822.500985775012[/C][C]-91.5009857750121[/C][/ROW]
[ROW][C]19[/C][C]386[/C][C]402.508207341752[/C][C]-16.5082073417520[/C][/ROW]
[ROW][C]20[/C][C]331[/C][C]338.913893794667[/C][C]-7.91389379466694[/C][/ROW]
[ROW][C]21[/C][C]706[/C][C]793.7616223983[/C][C]-87.7616223983001[/C][/ROW]
[ROW][C]22[/C][C]715[/C][C]659.411191705887[/C][C]55.5888082941131[/C][/ROW]
[ROW][C]23[/C][C]657[/C][C]606.727837984335[/C][C]50.2721620156654[/C][/ROW]
[ROW][C]24[/C][C]653[/C][C]659.452925792345[/C][C]-6.45292579234464[/C][/ROW]
[ROW][C]25[/C][C]642[/C][C]715.889264446529[/C][C]-73.8892644465287[/C][/ROW]
[ROW][C]26[/C][C]643[/C][C]658.917317679321[/C][C]-15.9173176793208[/C][/ROW]
[ROW][C]27[/C][C]718[/C][C]696.1604535182[/C][C]21.8395464818002[/C][/ROW]
[ROW][C]28[/C][C]654[/C][C]596.051851755908[/C][C]57.9481482440921[/C][/ROW]
[ROW][C]29[/C][C]632[/C][C]716.192660205219[/C][C]-84.1926602052187[/C][/ROW]
[ROW][C]30[/C][C]731[/C][C]764.243010280862[/C][C]-33.243010280862[/C][/ROW]
[ROW][C]31[/C][C]392[/C][C]460.873711495473[/C][C]-68.8737114954731[/C][/ROW]
[ROW][C]32[/C][C]344[/C][C]392.191978229303[/C][C]-48.1919782293028[/C][/ROW]
[ROW][C]33[/C][C]792[/C][C]789.792662066212[/C][C]2.20733793378826[/C][/ROW]
[ROW][C]34[/C][C]852[/C][C]747.552371497606[/C][C]104.447628502394[/C][/ROW]
[ROW][C]35[/C][C]649[/C][C]701.598081973644[/C][C]-52.598081973644[/C][/ROW]
[ROW][C]36[/C][C]629[/C][C]745.657682000875[/C][C]-116.657682000875[/C][/ROW]
[ROW][C]37[/C][C]685[/C][C]750.789585133611[/C][C]-65.7895851336115[/C][/ROW]
[ROW][C]38[/C][C]617[/C][C]723.240558567889[/C][C]-106.240558567889[/C][/ROW]
[ROW][C]39[/C][C]715[/C][C]769.82165812631[/C][C]-54.8216581263104[/C][/ROW]
[ROW][C]40[/C][C]715[/C][C]702.073740329332[/C][C]12.9262596706678[/C][/ROW]
[ROW][C]41[/C][C]629[/C][C]733.631664786247[/C][C]-104.631664786247[/C][/ROW]
[ROW][C]42[/C][C]916[/C][C]802.762218651564[/C][C]113.237781348436[/C][/ROW]
[ROW][C]43[/C][C]531[/C][C]467.278664257589[/C][C]63.7213357424113[/C][/ROW]
[ROW][C]44[/C][C]357[/C][C]403.304269091188[/C][C]-46.3042690911879[/C][/ROW]
[ROW][C]45[/C][C]917[/C][C]825.158397422909[/C][C]91.8416025770912[/C][/ROW]
[ROW][C]46[/C][C]828[/C][C]863.417215406721[/C][C]-35.4172154067214[/C][/ROW]
[ROW][C]47[/C][C]708[/C][C]719.680454953725[/C][C]-11.6804549537245[/C][/ROW]
[ROW][C]48[/C][C]858[/C][C]731.514126943283[/C][C]126.485873056717[/C][/ROW]
[ROW][C]49[/C][C]775[/C][C]757.843013820791[/C][C]17.1569861792091[/C][/ROW]
[ROW][C]50[/C][C]785[/C][C]708.081734405807[/C][C]76.9182655941932[/C][/ROW]
[ROW][C]51[/C][C]1006[/C][C]806.797146403147[/C][C]199.202853596853[/C][/ROW]
[ROW][C]52[/C][C]789[/C][C]790.31067464605[/C][C]-1.31067464604990[/C][/ROW]
[ROW][C]53[/C][C]734[/C][C]724.902641853983[/C][C]9.09735814601649[/C][/ROW]
[ROW][C]54[/C][C]906[/C][C]952.491865452292[/C][C]-46.4918654522917[/C][/ROW]
[ROW][C]55[/C][C]532[/C][C]568.978336264838[/C][C]-36.9783362648382[/C][/ROW]
[ROW][C]56[/C][C]387[/C][C]422.206088986301[/C][C]-35.2060889863012[/C][/ROW]
[ROW][C]57[/C][C]991[/C][C]938.676511931538[/C][C]52.3234880684625[/C][/ROW]
[ROW][C]58[/C][C]841[/C][C]900.05459156188[/C][C]-59.0545915618802[/C][/ROW]
[ROW][C]59[/C][C]892[/C][C]762.24481282967[/C][C]129.755187170330[/C][/ROW]
[ROW][C]60[/C][C]782[/C][C]891.073540910223[/C][C]-109.073540910223[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112518&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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
1695611.24117029050683.7588297094942
2638671.365882501669-33.3658825016687
3762767.643041926765-5.64304192676461
4635654.337167140086-19.3371671400856
5721637.54893857881783.4510614211828
6854764.50361616198689.4963838380138
7418428.361027731063-10.3610277310628
8367330.02689462863736.9731053713627
9824802.52647267337821.4735273266224
10687693.9728542089-6.97285420890017
11601639.462713734943-38.4627137349425
12676667.7629587292848.23704127071627
13740658.34642395242381.653576047577
14691646.32343710348744.6765628965134
15683779.52025319878-96.52025319878
16594644.333969382177-50.3339693821765
17729685.99195537876743.0080446212331
18731822.500985775012-91.5009857750121
19386402.508207341752-16.5082073417520
20331338.913893794667-7.91389379466694
21706793.7616223983-87.7616223983001
22715659.41119170588755.5888082941131
23657606.72783798433550.2721620156654
24653659.452925792345-6.45292579234464
25642715.889264446529-73.8892644465287
26643658.917317679321-15.9173176793208
27718696.160453518221.8395464818002
28654596.05185175590857.9481482440921
29632716.192660205219-84.1926602052187
30731764.243010280862-33.243010280862
31392460.873711495473-68.8737114954731
32344392.191978229303-48.1919782293028
33792789.7926620662122.20733793378826
34852747.552371497606104.447628502394
35649701.598081973644-52.598081973644
36629745.657682000875-116.657682000875
37685750.789585133611-65.7895851336115
38617723.240558567889-106.240558567889
39715769.82165812631-54.8216581263104
40715702.07374032933212.9262596706678
41629733.631664786247-104.631664786247
42916802.762218651564113.237781348436
43531467.27866425758963.7213357424113
44357403.304269091188-46.3042690911879
45917825.15839742290991.8416025770912
46828863.417215406721-35.4172154067214
47708719.680454953725-11.6804549537245
48858731.514126943283126.485873056717
49775757.84301382079117.1569861792091
50785708.08173440580776.9182655941932
511006806.797146403147199.202853596853
52789790.31067464605-1.31067464604990
53734724.9026418539839.09735814601649
54906952.491865452292-46.4918654522917
55532568.978336264838-36.9783362648382
56387422.206088986301-35.2060889863012
57991938.67651193153852.3234880684625
58841900.05459156188-59.0545915618802
59892762.24481282967129.755187170330
60782891.073540910223-109.073540910223







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.3662968285054510.7325936570109030.633703171494549
120.2355181187728810.4710362375457610.76448188122712
130.202495485987510.404990971975020.79750451401249
140.1182223529957010.2364447059914020.8817776470043
150.3062666167601270.6125332335202540.693733383239873
160.2703021535258880.5406043070517760.729697846474112
170.1934036789673600.3868073579347190.80659632103264
180.2389403303038970.4778806606077950.761059669696103
190.1808221168270930.3616442336541860.819177883172907
200.1405804689393630.2811609378787260.859419531060637
210.1369277409310190.2738554818620370.863072259068981
220.1634121498178330.3268242996356660.836587850182167
230.1631484435146370.3262968870292740.836851556485363
240.1129904131277580.2259808262555160.887009586872242
250.1063488456361830.2126976912723670.893651154363817
260.07175345961947580.1435069192389520.928246540380524
270.04872629924857580.09745259849715150.951273700751424
280.04593059364696110.09186118729392220.954069406353039
290.04173303842041420.08346607684082840.958266961579586
300.02585658423151590.05171316846303190.974143415768484
310.01633876022991680.03267752045983350.983661239770083
320.01003575952794630.02007151905589250.989964240472054
330.008437339157422360.01687467831484470.991562660842578
340.01629443101380860.03258886202761730.983705568986191
350.01024478077041180.02048956154082360.989755219229588
360.01733294803570470.03466589607140950.982667051964295
370.01568978674769440.03137957349538890.984310213252306
380.02334075035042100.04668150070084210.976659249649579
390.01890207076522040.03780414153044070.98109792923478
400.01198951300565010.02397902601130020.98801048699435
410.0765026319095360.1530052638190720.923497368090464
420.1351106082521030.2702212165042050.864889391747897
430.1298165860356550.2596331720713100.870183413964345
440.1019104142856840.2038208285713670.898089585714316
450.08266986776943230.1653397355388650.917330132230568
460.06395200813511080.1279040162702220.93604799186489
470.06346432279809830.1269286455961970.936535677201902
480.05213772616658260.1042754523331650.947862273833417
490.02453572626566580.04907145253133150.975464273734334

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.366296828505451 & 0.732593657010903 & 0.633703171494549 \tabularnewline
12 & 0.235518118772881 & 0.471036237545761 & 0.76448188122712 \tabularnewline
13 & 0.20249548598751 & 0.40499097197502 & 0.79750451401249 \tabularnewline
14 & 0.118222352995701 & 0.236444705991402 & 0.8817776470043 \tabularnewline
15 & 0.306266616760127 & 0.612533233520254 & 0.693733383239873 \tabularnewline
16 & 0.270302153525888 & 0.540604307051776 & 0.729697846474112 \tabularnewline
17 & 0.193403678967360 & 0.386807357934719 & 0.80659632103264 \tabularnewline
18 & 0.238940330303897 & 0.477880660607795 & 0.761059669696103 \tabularnewline
19 & 0.180822116827093 & 0.361644233654186 & 0.819177883172907 \tabularnewline
20 & 0.140580468939363 & 0.281160937878726 & 0.859419531060637 \tabularnewline
21 & 0.136927740931019 & 0.273855481862037 & 0.863072259068981 \tabularnewline
22 & 0.163412149817833 & 0.326824299635666 & 0.836587850182167 \tabularnewline
23 & 0.163148443514637 & 0.326296887029274 & 0.836851556485363 \tabularnewline
24 & 0.112990413127758 & 0.225980826255516 & 0.887009586872242 \tabularnewline
25 & 0.106348845636183 & 0.212697691272367 & 0.893651154363817 \tabularnewline
26 & 0.0717534596194758 & 0.143506919238952 & 0.928246540380524 \tabularnewline
27 & 0.0487262992485758 & 0.0974525984971515 & 0.951273700751424 \tabularnewline
28 & 0.0459305936469611 & 0.0918611872939222 & 0.954069406353039 \tabularnewline
29 & 0.0417330384204142 & 0.0834660768408284 & 0.958266961579586 \tabularnewline
30 & 0.0258565842315159 & 0.0517131684630319 & 0.974143415768484 \tabularnewline
31 & 0.0163387602299168 & 0.0326775204598335 & 0.983661239770083 \tabularnewline
32 & 0.0100357595279463 & 0.0200715190558925 & 0.989964240472054 \tabularnewline
33 & 0.00843733915742236 & 0.0168746783148447 & 0.991562660842578 \tabularnewline
34 & 0.0162944310138086 & 0.0325888620276173 & 0.983705568986191 \tabularnewline
35 & 0.0102447807704118 & 0.0204895615408236 & 0.989755219229588 \tabularnewline
36 & 0.0173329480357047 & 0.0346658960714095 & 0.982667051964295 \tabularnewline
37 & 0.0156897867476944 & 0.0313795734953889 & 0.984310213252306 \tabularnewline
38 & 0.0233407503504210 & 0.0466815007008421 & 0.976659249649579 \tabularnewline
39 & 0.0189020707652204 & 0.0378041415304407 & 0.98109792923478 \tabularnewline
40 & 0.0119895130056501 & 0.0239790260113002 & 0.98801048699435 \tabularnewline
41 & 0.076502631909536 & 0.153005263819072 & 0.923497368090464 \tabularnewline
42 & 0.135110608252103 & 0.270221216504205 & 0.864889391747897 \tabularnewline
43 & 0.129816586035655 & 0.259633172071310 & 0.870183413964345 \tabularnewline
44 & 0.101910414285684 & 0.203820828571367 & 0.898089585714316 \tabularnewline
45 & 0.0826698677694323 & 0.165339735538865 & 0.917330132230568 \tabularnewline
46 & 0.0639520081351108 & 0.127904016270222 & 0.93604799186489 \tabularnewline
47 & 0.0634643227980983 & 0.126928645596197 & 0.936535677201902 \tabularnewline
48 & 0.0521377261665826 & 0.104275452333165 & 0.947862273833417 \tabularnewline
49 & 0.0245357262656658 & 0.0490714525313315 & 0.975464273734334 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112518&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]11[/C][C]0.366296828505451[/C][C]0.732593657010903[/C][C]0.633703171494549[/C][/ROW]
[ROW][C]12[/C][C]0.235518118772881[/C][C]0.471036237545761[/C][C]0.76448188122712[/C][/ROW]
[ROW][C]13[/C][C]0.20249548598751[/C][C]0.40499097197502[/C][C]0.79750451401249[/C][/ROW]
[ROW][C]14[/C][C]0.118222352995701[/C][C]0.236444705991402[/C][C]0.8817776470043[/C][/ROW]
[ROW][C]15[/C][C]0.306266616760127[/C][C]0.612533233520254[/C][C]0.693733383239873[/C][/ROW]
[ROW][C]16[/C][C]0.270302153525888[/C][C]0.540604307051776[/C][C]0.729697846474112[/C][/ROW]
[ROW][C]17[/C][C]0.193403678967360[/C][C]0.386807357934719[/C][C]0.80659632103264[/C][/ROW]
[ROW][C]18[/C][C]0.238940330303897[/C][C]0.477880660607795[/C][C]0.761059669696103[/C][/ROW]
[ROW][C]19[/C][C]0.180822116827093[/C][C]0.361644233654186[/C][C]0.819177883172907[/C][/ROW]
[ROW][C]20[/C][C]0.140580468939363[/C][C]0.281160937878726[/C][C]0.859419531060637[/C][/ROW]
[ROW][C]21[/C][C]0.136927740931019[/C][C]0.273855481862037[/C][C]0.863072259068981[/C][/ROW]
[ROW][C]22[/C][C]0.163412149817833[/C][C]0.326824299635666[/C][C]0.836587850182167[/C][/ROW]
[ROW][C]23[/C][C]0.163148443514637[/C][C]0.326296887029274[/C][C]0.836851556485363[/C][/ROW]
[ROW][C]24[/C][C]0.112990413127758[/C][C]0.225980826255516[/C][C]0.887009586872242[/C][/ROW]
[ROW][C]25[/C][C]0.106348845636183[/C][C]0.212697691272367[/C][C]0.893651154363817[/C][/ROW]
[ROW][C]26[/C][C]0.0717534596194758[/C][C]0.143506919238952[/C][C]0.928246540380524[/C][/ROW]
[ROW][C]27[/C][C]0.0487262992485758[/C][C]0.0974525984971515[/C][C]0.951273700751424[/C][/ROW]
[ROW][C]28[/C][C]0.0459305936469611[/C][C]0.0918611872939222[/C][C]0.954069406353039[/C][/ROW]
[ROW][C]29[/C][C]0.0417330384204142[/C][C]0.0834660768408284[/C][C]0.958266961579586[/C][/ROW]
[ROW][C]30[/C][C]0.0258565842315159[/C][C]0.0517131684630319[/C][C]0.974143415768484[/C][/ROW]
[ROW][C]31[/C][C]0.0163387602299168[/C][C]0.0326775204598335[/C][C]0.983661239770083[/C][/ROW]
[ROW][C]32[/C][C]0.0100357595279463[/C][C]0.0200715190558925[/C][C]0.989964240472054[/C][/ROW]
[ROW][C]33[/C][C]0.00843733915742236[/C][C]0.0168746783148447[/C][C]0.991562660842578[/C][/ROW]
[ROW][C]34[/C][C]0.0162944310138086[/C][C]0.0325888620276173[/C][C]0.983705568986191[/C][/ROW]
[ROW][C]35[/C][C]0.0102447807704118[/C][C]0.0204895615408236[/C][C]0.989755219229588[/C][/ROW]
[ROW][C]36[/C][C]0.0173329480357047[/C][C]0.0346658960714095[/C][C]0.982667051964295[/C][/ROW]
[ROW][C]37[/C][C]0.0156897867476944[/C][C]0.0313795734953889[/C][C]0.984310213252306[/C][/ROW]
[ROW][C]38[/C][C]0.0233407503504210[/C][C]0.0466815007008421[/C][C]0.976659249649579[/C][/ROW]
[ROW][C]39[/C][C]0.0189020707652204[/C][C]0.0378041415304407[/C][C]0.98109792923478[/C][/ROW]
[ROW][C]40[/C][C]0.0119895130056501[/C][C]0.0239790260113002[/C][C]0.98801048699435[/C][/ROW]
[ROW][C]41[/C][C]0.076502631909536[/C][C]0.153005263819072[/C][C]0.923497368090464[/C][/ROW]
[ROW][C]42[/C][C]0.135110608252103[/C][C]0.270221216504205[/C][C]0.864889391747897[/C][/ROW]
[ROW][C]43[/C][C]0.129816586035655[/C][C]0.259633172071310[/C][C]0.870183413964345[/C][/ROW]
[ROW][C]44[/C][C]0.101910414285684[/C][C]0.203820828571367[/C][C]0.898089585714316[/C][/ROW]
[ROW][C]45[/C][C]0.0826698677694323[/C][C]0.165339735538865[/C][C]0.917330132230568[/C][/ROW]
[ROW][C]46[/C][C]0.0639520081351108[/C][C]0.127904016270222[/C][C]0.93604799186489[/C][/ROW]
[ROW][C]47[/C][C]0.0634643227980983[/C][C]0.126928645596197[/C][C]0.936535677201902[/C][/ROW]
[ROW][C]48[/C][C]0.0521377261665826[/C][C]0.104275452333165[/C][C]0.947862273833417[/C][/ROW]
[ROW][C]49[/C][C]0.0245357262656658[/C][C]0.0490714525313315[/C][C]0.975464273734334[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112518&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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
110.3662968285054510.7325936570109030.633703171494549
120.2355181187728810.4710362375457610.76448188122712
130.202495485987510.404990971975020.79750451401249
140.1182223529957010.2364447059914020.8817776470043
150.3062666167601270.6125332335202540.693733383239873
160.2703021535258880.5406043070517760.729697846474112
170.1934036789673600.3868073579347190.80659632103264
180.2389403303038970.4778806606077950.761059669696103
190.1808221168270930.3616442336541860.819177883172907
200.1405804689393630.2811609378787260.859419531060637
210.1369277409310190.2738554818620370.863072259068981
220.1634121498178330.3268242996356660.836587850182167
230.1631484435146370.3262968870292740.836851556485363
240.1129904131277580.2259808262555160.887009586872242
250.1063488456361830.2126976912723670.893651154363817
260.07175345961947580.1435069192389520.928246540380524
270.04872629924857580.09745259849715150.951273700751424
280.04593059364696110.09186118729392220.954069406353039
290.04173303842041420.08346607684082840.958266961579586
300.02585658423151590.05171316846303190.974143415768484
310.01633876022991680.03267752045983350.983661239770083
320.01003575952794630.02007151905589250.989964240472054
330.008437339157422360.01687467831484470.991562660842578
340.01629443101380860.03258886202761730.983705568986191
350.01024478077041180.02048956154082360.989755219229588
360.01733294803570470.03466589607140950.982667051964295
370.01568978674769440.03137957349538890.984310213252306
380.02334075035042100.04668150070084210.976659249649579
390.01890207076522040.03780414153044070.98109792923478
400.01198951300565010.02397902601130020.98801048699435
410.0765026319095360.1530052638190720.923497368090464
420.1351106082521030.2702212165042050.864889391747897
430.1298165860356550.2596331720713100.870183413964345
440.1019104142856840.2038208285713670.898089585714316
450.08266986776943230.1653397355388650.917330132230568
460.06395200813511080.1279040162702220.93604799186489
470.06346432279809830.1269286455961970.936535677201902
480.05213772616658260.1042754523331650.947862273833417
490.02453572626566580.04907145253133150.975464273734334







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112518&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 level110.282051282051282NOK
10% type I error level150.384615384615385NOK



Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
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')
}