Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 18 Dec 2010 15:54:00 +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/18/t1292687556ciehabvu7uabmn2.htm/, Retrieved Tue, 30 Apr 2024 00:05:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=112063, Retrieved Tue, 30 Apr 2024 00:05:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
- R  D    [Multiple Regression] [Paper TSA Multipl...] [2010-12-18 12:51:38] [945bcebba5e7ac34a41d6888338a1ba9]
-   P       [Multiple Regression] [Paper TSA Multipl...] [2010-12-18 13:26:55] [945bcebba5e7ac34a41d6888338a1ba9]
-    D          [Multiple Regression] [Paper TSA Multipl...] [2010-12-18 15:54:00] [514029464b0621595fe21c9fa38c7009] [Current]
-    D            [Multiple Regression] [Paper TSA Multipl...] [2010-12-18 17:15:14] [945bcebba5e7ac34a41d6888338a1ba9]
- RMPD            [(Partial) Autocorrelation Function] [Paper TSA ACF] [2010-12-18 17:47:34] [945bcebba5e7ac34a41d6888338a1ba9]
Feedback Forum

Post a new message
Dataseries X:
153452	0	169422	174000	80900	35600	36700
173570	0	153452	169422	174000	80900	35600
193036	0	173570	153452	169422	174000	80900
174652	0	193036	173570	153452	169422	174000
105367	0	174652	193036	173570	153452	169422
95963	0	105367	174652	193036	173570	153452
82896	0	95963	105367	174652	193036	173570
121747	0	82896	95963	105367	174652	193036
120196	0	121747	82896	95963	105367	174652
103983	0	120196	121747	82896	95963	105367
81103	0	103983	120196	121747	82896	95963
70944	0	81103	103983	120196	121747	82896
57248	0	70944	81103	103983	120196	121747
47830	0	57248	70944	81103	103983	120196
60095	0	47830	57248	70944	81103	103983
60931	0	60095	47830	57248	70944	81103
82955	0	60931	60095	47830	57248	70944
99559	0	82955	60931	60095	47830	57248
77911	0	99559	82955	60931	60095	47830
70753	0	77911	99559	82955	60931	60095
69287	0	70753	77911	99559	82955	60931
88426	0	69287	70753	77911	99559	82955
91756	1	88426	69287	70753	77911	99559
96933	1	91756	88426	69287	70753	77911
174484	1	96933	91756	88426	69287	70753
232595	1	174484	96933	91756	88426	69287
266197	1	232595	174484	96933	91756	88426
290435	1	266197	232595	174484	96933	91756
304296	1	290435	266197	232595	174484	96933
322310	1	304296	290435	266197	232595	174484
415555	1	322310	304296	290435	266197	232595
490042	1	415555	322310	304296	290435	266197
545109	1	490042	415555	322310	304296	290435
545720	1	545109	490042	415555	322310	304296
505944	1	545720	545109	490042	415555	322310
477930	1	505944	545720	545109	490042	415555
466106	1	477930	505944	545720	545109	490042
424476	1	466106	477930	505944	545720	545109
383018	1	424476	466106	477930	505944	545720
364696	1	383018	424476	466106	477930	505944
391116	1	364696	383018	424476	466106	477930
435721	1	391116	364696	383018	424476	466106
511435	1	435721	391116	364696	383018	424476
553997	1	511435	435721	391116	364696	383018
555252	1	553997	511435	435721	391116	364696
544897	1	555252	553997	511435	435721	391116
540562	1	544897	555252	553997	511435	435721
505282	1	540562	544897	555252	553997	511435
507626	1	505282	540562	544897	555252	553997
474427	1	507626	505282	540562	544897	555252
469740	1	474427	507626	505282	540562	544897
491480	1	469740	474427	507626	505282	540562
538974	1	491480	469740	474427	507626	505282
576612	1	538974	491480	469740	474427	507626




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Multiple Linear Regression - Estimated Regression Equation
Werklozen[t] = + 2988.51888045487 + 23912.3934582369Oliecrisis[t] + 1.49881158651298Y1[t] -0.673512088804689Y2[t] -0.0221308982632136Y3[t] + 0.167146102902263Y4[t] -0.0811341558046364Y5[t] + 659.547249299965t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werklozen[t] =  +  2988.51888045487 +  23912.3934582369Oliecrisis[t] +  1.49881158651298Y1[t] -0.673512088804689Y2[t] -0.0221308982632136Y3[t] +  0.167146102902263Y4[t] -0.0811341558046364Y5[t] +  659.547249299965t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werklozen[t] =  +  2988.51888045487 +  23912.3934582369Oliecrisis[t] +  1.49881158651298Y1[t] -0.673512088804689Y2[t] -0.0221308982632136Y3[t] +  0.167146102902263Y4[t] -0.0811341558046364Y5[t] +  659.547249299965t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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
Werklozen[t] = + 2988.51888045487 + 23912.3934582369Oliecrisis[t] + 1.49881158651298Y1[t] -0.673512088804689Y2[t] -0.0221308982632136Y3[t] + 0.167146102902263Y4[t] -0.0811341558046364Y5[t] + 659.547249299965t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2988.518880454877674.1708460.38940.6987580.349379
Oliecrisis23912.393458236915252.5988611.56780.1237920.061896
Y11.498811586512980.14360610.436900
Y2-0.6735120888046890.244562-2.75390.0084040.004202
Y3-0.02213089826321360.254812-0.08690.9311660.465583
Y40.1671461029022630.2355550.70960.4815430.240772
Y5-0.08113415580463640.128221-0.63280.530020.26501
t659.547249299965617.2248191.06860.290840.14542

\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) & 2988.51888045487 & 7674.170846 & 0.3894 & 0.698758 & 0.349379 \tabularnewline
Oliecrisis & 23912.3934582369 & 15252.598861 & 1.5678 & 0.123792 & 0.061896 \tabularnewline
Y1 & 1.49881158651298 & 0.143606 & 10.4369 & 0 & 0 \tabularnewline
Y2 & -0.673512088804689 & 0.244562 & -2.7539 & 0.008404 & 0.004202 \tabularnewline
Y3 & -0.0221308982632136 & 0.254812 & -0.0869 & 0.931166 & 0.465583 \tabularnewline
Y4 & 0.167146102902263 & 0.235555 & 0.7096 & 0.481543 & 0.240772 \tabularnewline
Y5 & -0.0811341558046364 & 0.128221 & -0.6328 & 0.53002 & 0.26501 \tabularnewline
t & 659.547249299965 & 617.224819 & 1.0686 & 0.29084 & 0.14542 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&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]2988.51888045487[/C][C]7674.170846[/C][C]0.3894[/C][C]0.698758[/C][C]0.349379[/C][/ROW]
[ROW][C]Oliecrisis[/C][C]23912.3934582369[/C][C]15252.598861[/C][C]1.5678[/C][C]0.123792[/C][C]0.061896[/C][/ROW]
[ROW][C]Y1[/C][C]1.49881158651298[/C][C]0.143606[/C][C]10.4369[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.673512088804689[/C][C]0.244562[/C][C]-2.7539[/C][C]0.008404[/C][C]0.004202[/C][/ROW]
[ROW][C]Y3[/C][C]-0.0221308982632136[/C][C]0.254812[/C][C]-0.0869[/C][C]0.931166[/C][C]0.465583[/C][/ROW]
[ROW][C]Y4[/C][C]0.167146102902263[/C][C]0.235555[/C][C]0.7096[/C][C]0.481543[/C][C]0.240772[/C][/ROW]
[ROW][C]Y5[/C][C]-0.0811341558046364[/C][C]0.128221[/C][C]-0.6328[/C][C]0.53002[/C][C]0.26501[/C][/ROW]
[ROW][C]t[/C][C]659.547249299965[/C][C]617.224819[/C][C]1.0686[/C][C]0.29084[/C][C]0.14542[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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)2988.518880454877674.1708460.38940.6987580.349379
Oliecrisis23912.393458236915252.5988611.56780.1237920.061896
Y11.498811586512980.14360610.436900
Y2-0.6735120888046890.244562-2.75390.0084040.004202
Y3-0.02213089826321360.254812-0.08690.9311660.465583
Y40.1671461029022630.2355550.70960.4815430.240772
Y5-0.08113415580463640.128221-0.63280.530020.26501
t659.547249299965617.2248191.06860.290840.14542







Multiple Linear Regression - Regression Statistics
Multiple R0.992063845653612
R-squared0.984190673853034
Adjusted R-squared0.98178490683067
F-TEST (value)409.096419023047
F-TEST (DF numerator)7
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25902.3589711847
Sum Squared Residuals30862881212.5171

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.992063845653612 \tabularnewline
R-squared & 0.984190673853034 \tabularnewline
Adjusted R-squared & 0.98178490683067 \tabularnewline
F-TEST (value) & 409.096419023047 \tabularnewline
F-TEST (DF numerator) & 7 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 25902.3589711847 \tabularnewline
Sum Squared Residuals & 30862881212.5171 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.992063845653612[/C][/ROW]
[ROW][C]R-squared[/C][C]0.984190673853034[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.98178490683067[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]409.096419023047[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]7[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]25902.3589711847[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]30862881212.5171[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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.992063845653612
R-squared0.984190673853034
Adjusted R-squared0.98178490683067
F-TEST (value)409.096419023047
F-TEST (DF numerator)7
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation25902.3589711847
Sum Squared Residuals30862881212.5171







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1153452141571.00736373711880.9926362627
2173570126978.45132352546591.5486764748
3193036180534.31830300412501.6816969958
4174652188854.661373558-14202.6613735581
5105367146106.349586397-40739.3495863966
69596359530.140005526236432.8599944738
78289694787.4116943797-11891.4116943797
812174779076.863479352442670.1365206476
9120196136886.493688675-16690.4936886754
10103983113393.488485979-9410.48848597948
118110388516.5006790194-7413.5006790194
127094473391.188605654-2447.1886056541
135724871181.6871001941-13933.6871001941
144783056077.9744323401-8247.9744323401
156009549562.088757242610532.9112427574
166093175409.1139755258-14478.1139755258
178295567804.47960527415150.520394726
1899559100176.393063264-617.393063263529
1977911113684.444651707-35773.4446517068
207075369371.93677139411381.06322860586
216928777129.1165641825-7842.1165641825
228842681879.89049006836546.10950993169
2391756131317.837485225-39561.8374852245
2496933124670.483747118-27737.483747118
25174484130758.74216261143725.2578373888
26232595247410.110718477-14815.1107184768
27266197281824.760327151-15627.7603271509
28290435292587.778858616-2152.77885861583
29304296318200.435406401-13904.4354064014
30322310325987.773873417-3677.77387341729
31415555344676.60968889570878.3903111049
32490042473978.45751284116063.5424871586
33545109523429.96514876221679.0348512377
34545720556279.448829298-10559.4488292975
35505944533242.003227274-27298.0032272739
36477930477539.480159391390.519840608818
37466106466148.209074672-42.2090746720397
38424476464468.166101314-39992.166101314
39383018404617.792567814-21599.792567814
40364696369984.354316044-5288.35431604354
41391116372323.0058696118792.9941303902
42435721419839.78450027115881.2154997287
43511435466413.18726976645021.8127302336
44553997550228.2588610363768.7411389639
45555252568601.321888043-13349.3218880429
46544897546112.224847208-1215.2248472075
47540562538500.6961703132061.30382968706
48505282540580.419553465-35298.4195534653
49507626488267.27080685719358.7291931434
50474427514464.855090856-40037.8550908557
51469740464682.9880613555057.01193864499
52491480475080.46047038816399.5395296122
53538974515469.84994413823504.1500558616
54576612567036.2674613739575.7325386268

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 153452 & 141571.007363737 & 11880.9926362627 \tabularnewline
2 & 173570 & 126978.451323525 & 46591.5486764748 \tabularnewline
3 & 193036 & 180534.318303004 & 12501.6816969958 \tabularnewline
4 & 174652 & 188854.661373558 & -14202.6613735581 \tabularnewline
5 & 105367 & 146106.349586397 & -40739.3495863966 \tabularnewline
6 & 95963 & 59530.1400055262 & 36432.8599944738 \tabularnewline
7 & 82896 & 94787.4116943797 & -11891.4116943797 \tabularnewline
8 & 121747 & 79076.8634793524 & 42670.1365206476 \tabularnewline
9 & 120196 & 136886.493688675 & -16690.4936886754 \tabularnewline
10 & 103983 & 113393.488485979 & -9410.48848597948 \tabularnewline
11 & 81103 & 88516.5006790194 & -7413.5006790194 \tabularnewline
12 & 70944 & 73391.188605654 & -2447.1886056541 \tabularnewline
13 & 57248 & 71181.6871001941 & -13933.6871001941 \tabularnewline
14 & 47830 & 56077.9744323401 & -8247.9744323401 \tabularnewline
15 & 60095 & 49562.0887572426 & 10532.9112427574 \tabularnewline
16 & 60931 & 75409.1139755258 & -14478.1139755258 \tabularnewline
17 & 82955 & 67804.479605274 & 15150.520394726 \tabularnewline
18 & 99559 & 100176.393063264 & -617.393063263529 \tabularnewline
19 & 77911 & 113684.444651707 & -35773.4446517068 \tabularnewline
20 & 70753 & 69371.9367713941 & 1381.06322860586 \tabularnewline
21 & 69287 & 77129.1165641825 & -7842.1165641825 \tabularnewline
22 & 88426 & 81879.8904900683 & 6546.10950993169 \tabularnewline
23 & 91756 & 131317.837485225 & -39561.8374852245 \tabularnewline
24 & 96933 & 124670.483747118 & -27737.483747118 \tabularnewline
25 & 174484 & 130758.742162611 & 43725.2578373888 \tabularnewline
26 & 232595 & 247410.110718477 & -14815.1107184768 \tabularnewline
27 & 266197 & 281824.760327151 & -15627.7603271509 \tabularnewline
28 & 290435 & 292587.778858616 & -2152.77885861583 \tabularnewline
29 & 304296 & 318200.435406401 & -13904.4354064014 \tabularnewline
30 & 322310 & 325987.773873417 & -3677.77387341729 \tabularnewline
31 & 415555 & 344676.609688895 & 70878.3903111049 \tabularnewline
32 & 490042 & 473978.457512841 & 16063.5424871586 \tabularnewline
33 & 545109 & 523429.965148762 & 21679.0348512377 \tabularnewline
34 & 545720 & 556279.448829298 & -10559.4488292975 \tabularnewline
35 & 505944 & 533242.003227274 & -27298.0032272739 \tabularnewline
36 & 477930 & 477539.480159391 & 390.519840608818 \tabularnewline
37 & 466106 & 466148.209074672 & -42.2090746720397 \tabularnewline
38 & 424476 & 464468.166101314 & -39992.166101314 \tabularnewline
39 & 383018 & 404617.792567814 & -21599.792567814 \tabularnewline
40 & 364696 & 369984.354316044 & -5288.35431604354 \tabularnewline
41 & 391116 & 372323.00586961 & 18792.9941303902 \tabularnewline
42 & 435721 & 419839.784500271 & 15881.2154997287 \tabularnewline
43 & 511435 & 466413.187269766 & 45021.8127302336 \tabularnewline
44 & 553997 & 550228.258861036 & 3768.7411389639 \tabularnewline
45 & 555252 & 568601.321888043 & -13349.3218880429 \tabularnewline
46 & 544897 & 546112.224847208 & -1215.2248472075 \tabularnewline
47 & 540562 & 538500.696170313 & 2061.30382968706 \tabularnewline
48 & 505282 & 540580.419553465 & -35298.4195534653 \tabularnewline
49 & 507626 & 488267.270806857 & 19358.7291931434 \tabularnewline
50 & 474427 & 514464.855090856 & -40037.8550908557 \tabularnewline
51 & 469740 & 464682.988061355 & 5057.01193864499 \tabularnewline
52 & 491480 & 475080.460470388 & 16399.5395296122 \tabularnewline
53 & 538974 & 515469.849944138 & 23504.1500558616 \tabularnewline
54 & 576612 & 567036.267461373 & 9575.7325386268 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&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]153452[/C][C]141571.007363737[/C][C]11880.9926362627[/C][/ROW]
[ROW][C]2[/C][C]173570[/C][C]126978.451323525[/C][C]46591.5486764748[/C][/ROW]
[ROW][C]3[/C][C]193036[/C][C]180534.318303004[/C][C]12501.6816969958[/C][/ROW]
[ROW][C]4[/C][C]174652[/C][C]188854.661373558[/C][C]-14202.6613735581[/C][/ROW]
[ROW][C]5[/C][C]105367[/C][C]146106.349586397[/C][C]-40739.3495863966[/C][/ROW]
[ROW][C]6[/C][C]95963[/C][C]59530.1400055262[/C][C]36432.8599944738[/C][/ROW]
[ROW][C]7[/C][C]82896[/C][C]94787.4116943797[/C][C]-11891.4116943797[/C][/ROW]
[ROW][C]8[/C][C]121747[/C][C]79076.8634793524[/C][C]42670.1365206476[/C][/ROW]
[ROW][C]9[/C][C]120196[/C][C]136886.493688675[/C][C]-16690.4936886754[/C][/ROW]
[ROW][C]10[/C][C]103983[/C][C]113393.488485979[/C][C]-9410.48848597948[/C][/ROW]
[ROW][C]11[/C][C]81103[/C][C]88516.5006790194[/C][C]-7413.5006790194[/C][/ROW]
[ROW][C]12[/C][C]70944[/C][C]73391.188605654[/C][C]-2447.1886056541[/C][/ROW]
[ROW][C]13[/C][C]57248[/C][C]71181.6871001941[/C][C]-13933.6871001941[/C][/ROW]
[ROW][C]14[/C][C]47830[/C][C]56077.9744323401[/C][C]-8247.9744323401[/C][/ROW]
[ROW][C]15[/C][C]60095[/C][C]49562.0887572426[/C][C]10532.9112427574[/C][/ROW]
[ROW][C]16[/C][C]60931[/C][C]75409.1139755258[/C][C]-14478.1139755258[/C][/ROW]
[ROW][C]17[/C][C]82955[/C][C]67804.479605274[/C][C]15150.520394726[/C][/ROW]
[ROW][C]18[/C][C]99559[/C][C]100176.393063264[/C][C]-617.393063263529[/C][/ROW]
[ROW][C]19[/C][C]77911[/C][C]113684.444651707[/C][C]-35773.4446517068[/C][/ROW]
[ROW][C]20[/C][C]70753[/C][C]69371.9367713941[/C][C]1381.06322860586[/C][/ROW]
[ROW][C]21[/C][C]69287[/C][C]77129.1165641825[/C][C]-7842.1165641825[/C][/ROW]
[ROW][C]22[/C][C]88426[/C][C]81879.8904900683[/C][C]6546.10950993169[/C][/ROW]
[ROW][C]23[/C][C]91756[/C][C]131317.837485225[/C][C]-39561.8374852245[/C][/ROW]
[ROW][C]24[/C][C]96933[/C][C]124670.483747118[/C][C]-27737.483747118[/C][/ROW]
[ROW][C]25[/C][C]174484[/C][C]130758.742162611[/C][C]43725.2578373888[/C][/ROW]
[ROW][C]26[/C][C]232595[/C][C]247410.110718477[/C][C]-14815.1107184768[/C][/ROW]
[ROW][C]27[/C][C]266197[/C][C]281824.760327151[/C][C]-15627.7603271509[/C][/ROW]
[ROW][C]28[/C][C]290435[/C][C]292587.778858616[/C][C]-2152.77885861583[/C][/ROW]
[ROW][C]29[/C][C]304296[/C][C]318200.435406401[/C][C]-13904.4354064014[/C][/ROW]
[ROW][C]30[/C][C]322310[/C][C]325987.773873417[/C][C]-3677.77387341729[/C][/ROW]
[ROW][C]31[/C][C]415555[/C][C]344676.609688895[/C][C]70878.3903111049[/C][/ROW]
[ROW][C]32[/C][C]490042[/C][C]473978.457512841[/C][C]16063.5424871586[/C][/ROW]
[ROW][C]33[/C][C]545109[/C][C]523429.965148762[/C][C]21679.0348512377[/C][/ROW]
[ROW][C]34[/C][C]545720[/C][C]556279.448829298[/C][C]-10559.4488292975[/C][/ROW]
[ROW][C]35[/C][C]505944[/C][C]533242.003227274[/C][C]-27298.0032272739[/C][/ROW]
[ROW][C]36[/C][C]477930[/C][C]477539.480159391[/C][C]390.519840608818[/C][/ROW]
[ROW][C]37[/C][C]466106[/C][C]466148.209074672[/C][C]-42.2090746720397[/C][/ROW]
[ROW][C]38[/C][C]424476[/C][C]464468.166101314[/C][C]-39992.166101314[/C][/ROW]
[ROW][C]39[/C][C]383018[/C][C]404617.792567814[/C][C]-21599.792567814[/C][/ROW]
[ROW][C]40[/C][C]364696[/C][C]369984.354316044[/C][C]-5288.35431604354[/C][/ROW]
[ROW][C]41[/C][C]391116[/C][C]372323.00586961[/C][C]18792.9941303902[/C][/ROW]
[ROW][C]42[/C][C]435721[/C][C]419839.784500271[/C][C]15881.2154997287[/C][/ROW]
[ROW][C]43[/C][C]511435[/C][C]466413.187269766[/C][C]45021.8127302336[/C][/ROW]
[ROW][C]44[/C][C]553997[/C][C]550228.258861036[/C][C]3768.7411389639[/C][/ROW]
[ROW][C]45[/C][C]555252[/C][C]568601.321888043[/C][C]-13349.3218880429[/C][/ROW]
[ROW][C]46[/C][C]544897[/C][C]546112.224847208[/C][C]-1215.2248472075[/C][/ROW]
[ROW][C]47[/C][C]540562[/C][C]538500.696170313[/C][C]2061.30382968706[/C][/ROW]
[ROW][C]48[/C][C]505282[/C][C]540580.419553465[/C][C]-35298.4195534653[/C][/ROW]
[ROW][C]49[/C][C]507626[/C][C]488267.270806857[/C][C]19358.7291931434[/C][/ROW]
[ROW][C]50[/C][C]474427[/C][C]514464.855090856[/C][C]-40037.8550908557[/C][/ROW]
[ROW][C]51[/C][C]469740[/C][C]464682.988061355[/C][C]5057.01193864499[/C][/ROW]
[ROW][C]52[/C][C]491480[/C][C]475080.460470388[/C][C]16399.5395296122[/C][/ROW]
[ROW][C]53[/C][C]538974[/C][C]515469.849944138[/C][C]23504.1500558616[/C][/ROW]
[ROW][C]54[/C][C]576612[/C][C]567036.267461373[/C][C]9575.7325386268[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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
1153452141571.00736373711880.9926362627
2173570126978.45132352546591.5486764748
3193036180534.31830300412501.6816969958
4174652188854.661373558-14202.6613735581
5105367146106.349586397-40739.3495863966
69596359530.140005526236432.8599944738
78289694787.4116943797-11891.4116943797
812174779076.863479352442670.1365206476
9120196136886.493688675-16690.4936886754
10103983113393.488485979-9410.48848597948
118110388516.5006790194-7413.5006790194
127094473391.188605654-2447.1886056541
135724871181.6871001941-13933.6871001941
144783056077.9744323401-8247.9744323401
156009549562.088757242610532.9112427574
166093175409.1139755258-14478.1139755258
178295567804.47960527415150.520394726
1899559100176.393063264-617.393063263529
1977911113684.444651707-35773.4446517068
207075369371.93677139411381.06322860586
216928777129.1165641825-7842.1165641825
228842681879.89049006836546.10950993169
2391756131317.837485225-39561.8374852245
2496933124670.483747118-27737.483747118
25174484130758.74216261143725.2578373888
26232595247410.110718477-14815.1107184768
27266197281824.760327151-15627.7603271509
28290435292587.778858616-2152.77885861583
29304296318200.435406401-13904.4354064014
30322310325987.773873417-3677.77387341729
31415555344676.60968889570878.3903111049
32490042473978.45751284116063.5424871586
33545109523429.96514876221679.0348512377
34545720556279.448829298-10559.4488292975
35505944533242.003227274-27298.0032272739
36477930477539.480159391390.519840608818
37466106466148.209074672-42.2090746720397
38424476464468.166101314-39992.166101314
39383018404617.792567814-21599.792567814
40364696369984.354316044-5288.35431604354
41391116372323.0058696118792.9941303902
42435721419839.78450027115881.2154997287
43511435466413.18726976645021.8127302336
44553997550228.2588610363768.7411389639
45555252568601.321888043-13349.3218880429
46544897546112.224847208-1215.2248472075
47540562538500.6961703132061.30382968706
48505282540580.419553465-35298.4195534653
49507626488267.27080685719358.7291931434
50474427514464.855090856-40037.8550908557
51469740464682.9880613555057.01193864499
52491480475080.46047038816399.5395296122
53538974515469.84994413823504.1500558616
54576612567036.2674613739575.7325386268







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.743353116111130.5132937677777380.256646883888869
120.6178258598082650.764348280383470.382174140191735
130.4874480420172970.9748960840345940.512551957982703
140.35341222237760.70682444475520.6465877776224
150.2790155784591930.5580311569183860.720984421540807
160.1849477097128470.3698954194256940.815052290287153
170.2343727473049650.4687454946099290.765627252695035
180.22742667012220.45485334024440.7725733298778
190.1772970331766910.3545940663533810.82270296682331
200.1593420170125470.3186840340250950.840657982987453
210.1123689631258650.224737926251730.887631036874135
220.1044749345292750.2089498690585510.895525065470725
230.09597969245514150.1919593849102830.904020307544859
240.09072071014657610.1814414202931520.909279289853424
250.3621957787101590.7243915574203190.637804221289841
260.3684265339488620.7368530678977240.631573466051138
270.4180439876791060.8360879753582130.581956012320894
280.3946360514179040.7892721028358080.605363948582096
290.4962728947066780.9925457894133570.503727105293322
300.8404422353541370.3191155292917260.159557764645863
310.928231000118180.143537999763640.0717689998818199
320.8971168950047290.2057662099905430.102883104995271
330.8592047477310820.2815905045378360.140795252268918
340.8332683556492970.3334632887014050.166731644350703
350.8637659091276560.2724681817446880.136234090872344
360.8323005173402660.3353989653194680.167699482659734
370.9069853951931570.1860292096136860.093014604806843
380.8781028289937640.2437943420124730.121897171006236
390.8004054261312090.3991891477375820.199594573868791
400.7236104616841440.5527790766317130.276389538315856
410.6346426566685840.7307146866628330.365357343331417
420.5466852504526250.906629499094750.453314749547375
430.4791541876439110.9583083752878230.520845812356089

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
11 & 0.74335311611113 & 0.513293767777738 & 0.256646883888869 \tabularnewline
12 & 0.617825859808265 & 0.76434828038347 & 0.382174140191735 \tabularnewline
13 & 0.487448042017297 & 0.974896084034594 & 0.512551957982703 \tabularnewline
14 & 0.3534122223776 & 0.7068244447552 & 0.6465877776224 \tabularnewline
15 & 0.279015578459193 & 0.558031156918386 & 0.720984421540807 \tabularnewline
16 & 0.184947709712847 & 0.369895419425694 & 0.815052290287153 \tabularnewline
17 & 0.234372747304965 & 0.468745494609929 & 0.765627252695035 \tabularnewline
18 & 0.2274266701222 & 0.4548533402444 & 0.7725733298778 \tabularnewline
19 & 0.177297033176691 & 0.354594066353381 & 0.82270296682331 \tabularnewline
20 & 0.159342017012547 & 0.318684034025095 & 0.840657982987453 \tabularnewline
21 & 0.112368963125865 & 0.22473792625173 & 0.887631036874135 \tabularnewline
22 & 0.104474934529275 & 0.208949869058551 & 0.895525065470725 \tabularnewline
23 & 0.0959796924551415 & 0.191959384910283 & 0.904020307544859 \tabularnewline
24 & 0.0907207101465761 & 0.181441420293152 & 0.909279289853424 \tabularnewline
25 & 0.362195778710159 & 0.724391557420319 & 0.637804221289841 \tabularnewline
26 & 0.368426533948862 & 0.736853067897724 & 0.631573466051138 \tabularnewline
27 & 0.418043987679106 & 0.836087975358213 & 0.581956012320894 \tabularnewline
28 & 0.394636051417904 & 0.789272102835808 & 0.605363948582096 \tabularnewline
29 & 0.496272894706678 & 0.992545789413357 & 0.503727105293322 \tabularnewline
30 & 0.840442235354137 & 0.319115529291726 & 0.159557764645863 \tabularnewline
31 & 0.92823100011818 & 0.14353799976364 & 0.0717689998818199 \tabularnewline
32 & 0.897116895004729 & 0.205766209990543 & 0.102883104995271 \tabularnewline
33 & 0.859204747731082 & 0.281590504537836 & 0.140795252268918 \tabularnewline
34 & 0.833268355649297 & 0.333463288701405 & 0.166731644350703 \tabularnewline
35 & 0.863765909127656 & 0.272468181744688 & 0.136234090872344 \tabularnewline
36 & 0.832300517340266 & 0.335398965319468 & 0.167699482659734 \tabularnewline
37 & 0.906985395193157 & 0.186029209613686 & 0.093014604806843 \tabularnewline
38 & 0.878102828993764 & 0.243794342012473 & 0.121897171006236 \tabularnewline
39 & 0.800405426131209 & 0.399189147737582 & 0.199594573868791 \tabularnewline
40 & 0.723610461684144 & 0.552779076631713 & 0.276389538315856 \tabularnewline
41 & 0.634642656668584 & 0.730714686662833 & 0.365357343331417 \tabularnewline
42 & 0.546685250452625 & 0.90662949909475 & 0.453314749547375 \tabularnewline
43 & 0.479154187643911 & 0.958308375287823 & 0.520845812356089 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&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.74335311611113[/C][C]0.513293767777738[/C][C]0.256646883888869[/C][/ROW]
[ROW][C]12[/C][C]0.617825859808265[/C][C]0.76434828038347[/C][C]0.382174140191735[/C][/ROW]
[ROW][C]13[/C][C]0.487448042017297[/C][C]0.974896084034594[/C][C]0.512551957982703[/C][/ROW]
[ROW][C]14[/C][C]0.3534122223776[/C][C]0.7068244447552[/C][C]0.6465877776224[/C][/ROW]
[ROW][C]15[/C][C]0.279015578459193[/C][C]0.558031156918386[/C][C]0.720984421540807[/C][/ROW]
[ROW][C]16[/C][C]0.184947709712847[/C][C]0.369895419425694[/C][C]0.815052290287153[/C][/ROW]
[ROW][C]17[/C][C]0.234372747304965[/C][C]0.468745494609929[/C][C]0.765627252695035[/C][/ROW]
[ROW][C]18[/C][C]0.2274266701222[/C][C]0.4548533402444[/C][C]0.7725733298778[/C][/ROW]
[ROW][C]19[/C][C]0.177297033176691[/C][C]0.354594066353381[/C][C]0.82270296682331[/C][/ROW]
[ROW][C]20[/C][C]0.159342017012547[/C][C]0.318684034025095[/C][C]0.840657982987453[/C][/ROW]
[ROW][C]21[/C][C]0.112368963125865[/C][C]0.22473792625173[/C][C]0.887631036874135[/C][/ROW]
[ROW][C]22[/C][C]0.104474934529275[/C][C]0.208949869058551[/C][C]0.895525065470725[/C][/ROW]
[ROW][C]23[/C][C]0.0959796924551415[/C][C]0.191959384910283[/C][C]0.904020307544859[/C][/ROW]
[ROW][C]24[/C][C]0.0907207101465761[/C][C]0.181441420293152[/C][C]0.909279289853424[/C][/ROW]
[ROW][C]25[/C][C]0.362195778710159[/C][C]0.724391557420319[/C][C]0.637804221289841[/C][/ROW]
[ROW][C]26[/C][C]0.368426533948862[/C][C]0.736853067897724[/C][C]0.631573466051138[/C][/ROW]
[ROW][C]27[/C][C]0.418043987679106[/C][C]0.836087975358213[/C][C]0.581956012320894[/C][/ROW]
[ROW][C]28[/C][C]0.394636051417904[/C][C]0.789272102835808[/C][C]0.605363948582096[/C][/ROW]
[ROW][C]29[/C][C]0.496272894706678[/C][C]0.992545789413357[/C][C]0.503727105293322[/C][/ROW]
[ROW][C]30[/C][C]0.840442235354137[/C][C]0.319115529291726[/C][C]0.159557764645863[/C][/ROW]
[ROW][C]31[/C][C]0.92823100011818[/C][C]0.14353799976364[/C][C]0.0717689998818199[/C][/ROW]
[ROW][C]32[/C][C]0.897116895004729[/C][C]0.205766209990543[/C][C]0.102883104995271[/C][/ROW]
[ROW][C]33[/C][C]0.859204747731082[/C][C]0.281590504537836[/C][C]0.140795252268918[/C][/ROW]
[ROW][C]34[/C][C]0.833268355649297[/C][C]0.333463288701405[/C][C]0.166731644350703[/C][/ROW]
[ROW][C]35[/C][C]0.863765909127656[/C][C]0.272468181744688[/C][C]0.136234090872344[/C][/ROW]
[ROW][C]36[/C][C]0.832300517340266[/C][C]0.335398965319468[/C][C]0.167699482659734[/C][/ROW]
[ROW][C]37[/C][C]0.906985395193157[/C][C]0.186029209613686[/C][C]0.093014604806843[/C][/ROW]
[ROW][C]38[/C][C]0.878102828993764[/C][C]0.243794342012473[/C][C]0.121897171006236[/C][/ROW]
[ROW][C]39[/C][C]0.800405426131209[/C][C]0.399189147737582[/C][C]0.199594573868791[/C][/ROW]
[ROW][C]40[/C][C]0.723610461684144[/C][C]0.552779076631713[/C][C]0.276389538315856[/C][/ROW]
[ROW][C]41[/C][C]0.634642656668584[/C][C]0.730714686662833[/C][C]0.365357343331417[/C][/ROW]
[ROW][C]42[/C][C]0.546685250452625[/C][C]0.90662949909475[/C][C]0.453314749547375[/C][/ROW]
[ROW][C]43[/C][C]0.479154187643911[/C][C]0.958308375287823[/C][C]0.520845812356089[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=112063&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.743353116111130.5132937677777380.256646883888869
120.6178258598082650.764348280383470.382174140191735
130.4874480420172970.9748960840345940.512551957982703
140.35341222237760.70682444475520.6465877776224
150.2790155784591930.5580311569183860.720984421540807
160.1849477097128470.3698954194256940.815052290287153
170.2343727473049650.4687454946099290.765627252695035
180.22742667012220.45485334024440.7725733298778
190.1772970331766910.3545940663533810.82270296682331
200.1593420170125470.3186840340250950.840657982987453
210.1123689631258650.224737926251730.887631036874135
220.1044749345292750.2089498690585510.895525065470725
230.09597969245514150.1919593849102830.904020307544859
240.09072071014657610.1814414202931520.909279289853424
250.3621957787101590.7243915574203190.637804221289841
260.3684265339488620.7368530678977240.631573466051138
270.4180439876791060.8360879753582130.581956012320894
280.3946360514179040.7892721028358080.605363948582096
290.4962728947066780.9925457894133570.503727105293322
300.8404422353541370.3191155292917260.159557764645863
310.928231000118180.143537999763640.0717689998818199
320.8971168950047290.2057662099905430.102883104995271
330.8592047477310820.2815905045378360.140795252268918
340.8332683556492970.3334632887014050.166731644350703
350.8637659091276560.2724681817446880.136234090872344
360.8323005173402660.3353989653194680.167699482659734
370.9069853951931570.1860292096136860.093014604806843
380.8781028289937640.2437943420124730.121897171006236
390.8004054261312090.3991891477375820.199594573868791
400.7236104616841440.5527790766317130.276389538315856
410.6346426566685840.7307146866628330.365357343331417
420.5466852504526250.906629499094750.453314749547375
430.4791541876439110.9583083752878230.520845812356089







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 level00OK

\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 & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=112063&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]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=112063&T=6

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



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