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 computationWed, 18 Nov 2009 09:09:15 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/18/t125856083378nicvble1y2642.htm/, Retrieved Sun, 05 May 2024 09:46:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57498, Retrieved Sun, 05 May 2024 09:46:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact136
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]
-   PD      [Multiple Regression] [WS 7 regressie an...] [2009-11-18 16:09:15] [51d49d3536f6a59f2486a67bf50b2759] [Current]
Feedback Forum

Post a new message
Dataseries X:
1901	10436
1395	9314
1639	9717
1643	8997
1751	9062
1797	8885
1373	9058
1558	9095
1555	9149
2061	9857
2010	9848
2119	10269
1985	10341
1963	9690
2017	10125
1975	9349
1589	9224
1679	9224
1392	9454
1511	9347
1449	9430
1767	9933
1899	10148
2179	10677
2217	10735
2049	9760
2343	10567
2175	9333
1607	9409
1702	9502
1764	9348
1766	9319
1615	9594
1953	10160
2091	10182
2411	10810
2550	11105
2351	9874
2786	10958
2525	9311
2474	9610
2332	9398
1978	9784
1789	9425
1904	9557
1997	10166
2207	10337
2453	10770
1948	11265
1384	10183
1989	10941
2140	9628
2100	9709
2045	9637
2083	9579
2022	9741
1950	9754
1422	10508
1859	10749
2147	11079




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
aanbod[t] = -1859.31715563635 + 0.384396712586172invoer[t] -162.895577877275M1[t] -65.6092253975502M2[t] -7.28749275514697M3[t] + 366.955966167917M4[t] + 149.111746531092M5[t] + 184.203344577435M6[t] -53.1560360550097M7[t] -19.1997506699084M8[t] -96.6215444520079M9[t] -192.622679956124M10[t] -68.6254591671542M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
aanbod[t] =  -1859.31715563635 +  0.384396712586172invoer[t] -162.895577877275M1[t] -65.6092253975502M2[t] -7.28749275514697M3[t] +  366.955966167917M4[t] +  149.111746531092M5[t] +  184.203344577435M6[t] -53.1560360550097M7[t] -19.1997506699084M8[t] -96.6215444520079M9[t] -192.622679956124M10[t] -68.6254591671542M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]aanbod[t] =  -1859.31715563635 +  0.384396712586172invoer[t] -162.895577877275M1[t] -65.6092253975502M2[t] -7.28749275514697M3[t] +  366.955966167917M4[t] +  149.111746531092M5[t] +  184.203344577435M6[t] -53.1560360550097M7[t] -19.1997506699084M8[t] -96.6215444520079M9[t] -192.622679956124M10[t] -68.6254591671542M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57498&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
aanbod[t] = -1859.31715563635 + 0.384396712586172invoer[t] -162.895577877275M1[t] -65.6092253975502M2[t] -7.28749275514697M3[t] + 366.955966167917M4[t] + 149.111746531092M5[t] + 184.203344577435M6[t] -53.1560360550097M7[t] -19.1997506699084M8[t] -96.6215444520079M9[t] -192.622679956124M10[t] -68.6254591671542M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-1859.317155636351360.024466-1.36710.1780910.089045
invoer0.3843967125861720.1263323.04280.003830.001915
M1-162.895577877275174.79961-0.93190.3561510.178076
M2-65.6092253975502212.406574-0.30890.7587740.379387
M3-7.28749275514697177.70714-0.0410.9674630.483731
M4366.955966167917248.3364521.47770.146170.073085
M5149.111746531092241.3264120.61790.5396340.269817
M6184.203344577435247.8340360.74330.4610280.230514
M7-53.1560360550097237.713129-0.22360.8240270.412013
M8-19.1997506699084242.848508-0.07910.937320.46866
M9-96.6215444520079233.290124-0.41420.6806340.340317
M10-192.622679956124190.207498-1.01270.316390.158195
M11-68.6254591671542184.403042-0.37210.7114540.355727

\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) & -1859.31715563635 & 1360.024466 & -1.3671 & 0.178091 & 0.089045 \tabularnewline
invoer & 0.384396712586172 & 0.126332 & 3.0428 & 0.00383 & 0.001915 \tabularnewline
M1 & -162.895577877275 & 174.79961 & -0.9319 & 0.356151 & 0.178076 \tabularnewline
M2 & -65.6092253975502 & 212.406574 & -0.3089 & 0.758774 & 0.379387 \tabularnewline
M3 & -7.28749275514697 & 177.70714 & -0.041 & 0.967463 & 0.483731 \tabularnewline
M4 & 366.955966167917 & 248.336452 & 1.4777 & 0.14617 & 0.073085 \tabularnewline
M5 & 149.111746531092 & 241.326412 & 0.6179 & 0.539634 & 0.269817 \tabularnewline
M6 & 184.203344577435 & 247.834036 & 0.7433 & 0.461028 & 0.230514 \tabularnewline
M7 & -53.1560360550097 & 237.713129 & -0.2236 & 0.824027 & 0.412013 \tabularnewline
M8 & -19.1997506699084 & 242.848508 & -0.0791 & 0.93732 & 0.46866 \tabularnewline
M9 & -96.6215444520079 & 233.290124 & -0.4142 & 0.680634 & 0.340317 \tabularnewline
M10 & -192.622679956124 & 190.207498 & -1.0127 & 0.31639 & 0.158195 \tabularnewline
M11 & -68.6254591671542 & 184.403042 & -0.3721 & 0.711454 & 0.355727 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&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]-1859.31715563635[/C][C]1360.024466[/C][C]-1.3671[/C][C]0.178091[/C][C]0.089045[/C][/ROW]
[ROW][C]invoer[/C][C]0.384396712586172[/C][C]0.126332[/C][C]3.0428[/C][C]0.00383[/C][C]0.001915[/C][/ROW]
[ROW][C]M1[/C][C]-162.895577877275[/C][C]174.79961[/C][C]-0.9319[/C][C]0.356151[/C][C]0.178076[/C][/ROW]
[ROW][C]M2[/C][C]-65.6092253975502[/C][C]212.406574[/C][C]-0.3089[/C][C]0.758774[/C][C]0.379387[/C][/ROW]
[ROW][C]M3[/C][C]-7.28749275514697[/C][C]177.70714[/C][C]-0.041[/C][C]0.967463[/C][C]0.483731[/C][/ROW]
[ROW][C]M4[/C][C]366.955966167917[/C][C]248.336452[/C][C]1.4777[/C][C]0.14617[/C][C]0.073085[/C][/ROW]
[ROW][C]M5[/C][C]149.111746531092[/C][C]241.326412[/C][C]0.6179[/C][C]0.539634[/C][C]0.269817[/C][/ROW]
[ROW][C]M6[/C][C]184.203344577435[/C][C]247.834036[/C][C]0.7433[/C][C]0.461028[/C][C]0.230514[/C][/ROW]
[ROW][C]M7[/C][C]-53.1560360550097[/C][C]237.713129[/C][C]-0.2236[/C][C]0.824027[/C][C]0.412013[/C][/ROW]
[ROW][C]M8[/C][C]-19.1997506699084[/C][C]242.848508[/C][C]-0.0791[/C][C]0.93732[/C][C]0.46866[/C][/ROW]
[ROW][C]M9[/C][C]-96.6215444520079[/C][C]233.290124[/C][C]-0.4142[/C][C]0.680634[/C][C]0.340317[/C][/ROW]
[ROW][C]M10[/C][C]-192.622679956124[/C][C]190.207498[/C][C]-1.0127[/C][C]0.31639[/C][C]0.158195[/C][/ROW]
[ROW][C]M11[/C][C]-68.6254591671542[/C][C]184.403042[/C][C]-0.3721[/C][C]0.711454[/C][C]0.355727[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57498&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)-1859.317155636351360.024466-1.36710.1780910.089045
invoer0.3843967125861720.1263323.04280.003830.001915
M1-162.895577877275174.79961-0.93190.3561510.178076
M2-65.6092253975502212.406574-0.30890.7587740.379387
M3-7.28749275514697177.70714-0.0410.9674630.483731
M4366.955966167917248.3364521.47770.146170.073085
M5149.111746531092241.3264120.61790.5396340.269817
M6184.203344577435247.8340360.74330.4610280.230514
M7-53.1560360550097237.713129-0.22360.8240270.412013
M8-19.1997506699084242.848508-0.07910.937320.46866
M9-96.6215444520079233.290124-0.41420.6806340.340317
M10-192.622679956124190.207498-1.01270.316390.158195
M11-68.6254591671542184.403042-0.37210.7114540.355727







Multiple Linear Regression - Regression Statistics
Multiple R0.652045551001417
R-squared0.425163400580741
Adjusted R-squared0.278396609239654
F-TEST (value)2.89686377071948
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00451362788080933
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation276.160826034476
Sum Squared Residuals3584445.68629409

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.652045551001417 \tabularnewline
R-squared & 0.425163400580741 \tabularnewline
Adjusted R-squared & 0.278396609239654 \tabularnewline
F-TEST (value) & 2.89686377071948 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0.00451362788080933 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 276.160826034476 \tabularnewline
Sum Squared Residuals & 3584445.68629409 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.652045551001417[/C][/ROW]
[ROW][C]R-squared[/C][C]0.425163400580741[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.278396609239654[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.89686377071948[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0.00451362788080933[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]276.160826034476[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]3584445.68629409[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57498&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.652045551001417
R-squared0.425163400580741
Adjusted R-squared0.278396609239654
F-TEST (value)2.89686377071948
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0.00451362788080933
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation276.160826034476
Sum Squared Residuals3584445.68629409







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
119011989.35135903567-88.3513590356689
213951655.34459999370-260.344599993704
316391868.57820780834-229.578207808336
416431966.05603366936-323.056033669356
517511773.19760035063-22.1976003506323
617971740.2509802692256.7490197307776
713731569.39223091419-196.392230914186
815581617.57119466498-59.5711946649756
915551560.90682336253-5.90682336252936
1020611737.05856036942323.941439630577
1120101857.59621074512152.403789254883
1221192088.0526859110530.9473140889499
1319851952.8336713399832.1663286600199
1419631799.87776392611163.122236073894
1520172025.41206654349-8.41206654349432
1619752101.36367649969-126.363676499689
1715891835.46986778959-246.469867789592
1816791870.56146583593-191.561465835935
1913921721.61332909831-329.61332909831
2015111714.43916623669-203.439166236691
2114491668.92229959924-219.922299599244
2217671766.272710525970.727289474027781
2318991972.91522452097-73.9152245209692
2421792244.88654464621-65.8865446462085
2522172104.28597609893112.714023901068
2620491826.78553380714222.214466192862
2723432195.31541350658147.684586493417
2821752095.2133290983179.78667090169
2916071906.58325961803-299.583259618034
3017021977.42375193489-275.423751934890
3117641680.8672775641883.1327224358243
3217661703.6760582842862.3239417157218
3316151731.96336046338-116.963360463376
3419531853.5307642830399.4692357169667
3520911985.9847127489105.015287251101
3624112296.01130742017114.988692579831
3725502246.51275975582303.487240244184
3823511870.60675904196480.393240958038
3927862345.61452812778440.385471872224
4025252086.75660142141438.243398578586
4124741983.84699884786490.153001152145
4223321937.44649382593394.553506174071
4319781848.46424425175129.535755748253
4417891744.4221098184144.5778901815875
4519041717.74068209769186.259317902312
4619971855.83714455855141.162855441450
4722072045.56620319976161.433796800244
4824532280.63543891672172.364561083277
4919482308.01623376960-360.016233769603
5013841989.38534323109-605.385343231089
5119892339.07978401381-350.079784013811
5221402208.61035931123-68.6103593112309
5321002021.9022733938978.097726606114
5420452029.3173081340215.6826918659762
5520831769.66291817158313.337081828418
5620221865.89147099564156.108529004357
5719501793.46683447716156.533165522837
5814221987.30082026302-565.300820263021
5918592203.93764878526-344.937648785259
6021472399.41402310585-252.41402310585

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1901 & 1989.35135903567 & -88.3513590356689 \tabularnewline
2 & 1395 & 1655.34459999370 & -260.344599993704 \tabularnewline
3 & 1639 & 1868.57820780834 & -229.578207808336 \tabularnewline
4 & 1643 & 1966.05603366936 & -323.056033669356 \tabularnewline
5 & 1751 & 1773.19760035063 & -22.1976003506323 \tabularnewline
6 & 1797 & 1740.25098026922 & 56.7490197307776 \tabularnewline
7 & 1373 & 1569.39223091419 & -196.392230914186 \tabularnewline
8 & 1558 & 1617.57119466498 & -59.5711946649756 \tabularnewline
9 & 1555 & 1560.90682336253 & -5.90682336252936 \tabularnewline
10 & 2061 & 1737.05856036942 & 323.941439630577 \tabularnewline
11 & 2010 & 1857.59621074512 & 152.403789254883 \tabularnewline
12 & 2119 & 2088.05268591105 & 30.9473140889499 \tabularnewline
13 & 1985 & 1952.83367133998 & 32.1663286600199 \tabularnewline
14 & 1963 & 1799.87776392611 & 163.122236073894 \tabularnewline
15 & 2017 & 2025.41206654349 & -8.41206654349432 \tabularnewline
16 & 1975 & 2101.36367649969 & -126.363676499689 \tabularnewline
17 & 1589 & 1835.46986778959 & -246.469867789592 \tabularnewline
18 & 1679 & 1870.56146583593 & -191.561465835935 \tabularnewline
19 & 1392 & 1721.61332909831 & -329.61332909831 \tabularnewline
20 & 1511 & 1714.43916623669 & -203.439166236691 \tabularnewline
21 & 1449 & 1668.92229959924 & -219.922299599244 \tabularnewline
22 & 1767 & 1766.27271052597 & 0.727289474027781 \tabularnewline
23 & 1899 & 1972.91522452097 & -73.9152245209692 \tabularnewline
24 & 2179 & 2244.88654464621 & -65.8865446462085 \tabularnewline
25 & 2217 & 2104.28597609893 & 112.714023901068 \tabularnewline
26 & 2049 & 1826.78553380714 & 222.214466192862 \tabularnewline
27 & 2343 & 2195.31541350658 & 147.684586493417 \tabularnewline
28 & 2175 & 2095.21332909831 & 79.78667090169 \tabularnewline
29 & 1607 & 1906.58325961803 & -299.583259618034 \tabularnewline
30 & 1702 & 1977.42375193489 & -275.423751934890 \tabularnewline
31 & 1764 & 1680.86727756418 & 83.1327224358243 \tabularnewline
32 & 1766 & 1703.67605828428 & 62.3239417157218 \tabularnewline
33 & 1615 & 1731.96336046338 & -116.963360463376 \tabularnewline
34 & 1953 & 1853.53076428303 & 99.4692357169667 \tabularnewline
35 & 2091 & 1985.9847127489 & 105.015287251101 \tabularnewline
36 & 2411 & 2296.01130742017 & 114.988692579831 \tabularnewline
37 & 2550 & 2246.51275975582 & 303.487240244184 \tabularnewline
38 & 2351 & 1870.60675904196 & 480.393240958038 \tabularnewline
39 & 2786 & 2345.61452812778 & 440.385471872224 \tabularnewline
40 & 2525 & 2086.75660142141 & 438.243398578586 \tabularnewline
41 & 2474 & 1983.84699884786 & 490.153001152145 \tabularnewline
42 & 2332 & 1937.44649382593 & 394.553506174071 \tabularnewline
43 & 1978 & 1848.46424425175 & 129.535755748253 \tabularnewline
44 & 1789 & 1744.42210981841 & 44.5778901815875 \tabularnewline
45 & 1904 & 1717.74068209769 & 186.259317902312 \tabularnewline
46 & 1997 & 1855.83714455855 & 141.162855441450 \tabularnewline
47 & 2207 & 2045.56620319976 & 161.433796800244 \tabularnewline
48 & 2453 & 2280.63543891672 & 172.364561083277 \tabularnewline
49 & 1948 & 2308.01623376960 & -360.016233769603 \tabularnewline
50 & 1384 & 1989.38534323109 & -605.385343231089 \tabularnewline
51 & 1989 & 2339.07978401381 & -350.079784013811 \tabularnewline
52 & 2140 & 2208.61035931123 & -68.6103593112309 \tabularnewline
53 & 2100 & 2021.90227339389 & 78.097726606114 \tabularnewline
54 & 2045 & 2029.31730813402 & 15.6826918659762 \tabularnewline
55 & 2083 & 1769.66291817158 & 313.337081828418 \tabularnewline
56 & 2022 & 1865.89147099564 & 156.108529004357 \tabularnewline
57 & 1950 & 1793.46683447716 & 156.533165522837 \tabularnewline
58 & 1422 & 1987.30082026302 & -565.300820263021 \tabularnewline
59 & 1859 & 2203.93764878526 & -344.937648785259 \tabularnewline
60 & 2147 & 2399.41402310585 & -252.41402310585 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&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]1901[/C][C]1989.35135903567[/C][C]-88.3513590356689[/C][/ROW]
[ROW][C]2[/C][C]1395[/C][C]1655.34459999370[/C][C]-260.344599993704[/C][/ROW]
[ROW][C]3[/C][C]1639[/C][C]1868.57820780834[/C][C]-229.578207808336[/C][/ROW]
[ROW][C]4[/C][C]1643[/C][C]1966.05603366936[/C][C]-323.056033669356[/C][/ROW]
[ROW][C]5[/C][C]1751[/C][C]1773.19760035063[/C][C]-22.1976003506323[/C][/ROW]
[ROW][C]6[/C][C]1797[/C][C]1740.25098026922[/C][C]56.7490197307776[/C][/ROW]
[ROW][C]7[/C][C]1373[/C][C]1569.39223091419[/C][C]-196.392230914186[/C][/ROW]
[ROW][C]8[/C][C]1558[/C][C]1617.57119466498[/C][C]-59.5711946649756[/C][/ROW]
[ROW][C]9[/C][C]1555[/C][C]1560.90682336253[/C][C]-5.90682336252936[/C][/ROW]
[ROW][C]10[/C][C]2061[/C][C]1737.05856036942[/C][C]323.941439630577[/C][/ROW]
[ROW][C]11[/C][C]2010[/C][C]1857.59621074512[/C][C]152.403789254883[/C][/ROW]
[ROW][C]12[/C][C]2119[/C][C]2088.05268591105[/C][C]30.9473140889499[/C][/ROW]
[ROW][C]13[/C][C]1985[/C][C]1952.83367133998[/C][C]32.1663286600199[/C][/ROW]
[ROW][C]14[/C][C]1963[/C][C]1799.87776392611[/C][C]163.122236073894[/C][/ROW]
[ROW][C]15[/C][C]2017[/C][C]2025.41206654349[/C][C]-8.41206654349432[/C][/ROW]
[ROW][C]16[/C][C]1975[/C][C]2101.36367649969[/C][C]-126.363676499689[/C][/ROW]
[ROW][C]17[/C][C]1589[/C][C]1835.46986778959[/C][C]-246.469867789592[/C][/ROW]
[ROW][C]18[/C][C]1679[/C][C]1870.56146583593[/C][C]-191.561465835935[/C][/ROW]
[ROW][C]19[/C][C]1392[/C][C]1721.61332909831[/C][C]-329.61332909831[/C][/ROW]
[ROW][C]20[/C][C]1511[/C][C]1714.43916623669[/C][C]-203.439166236691[/C][/ROW]
[ROW][C]21[/C][C]1449[/C][C]1668.92229959924[/C][C]-219.922299599244[/C][/ROW]
[ROW][C]22[/C][C]1767[/C][C]1766.27271052597[/C][C]0.727289474027781[/C][/ROW]
[ROW][C]23[/C][C]1899[/C][C]1972.91522452097[/C][C]-73.9152245209692[/C][/ROW]
[ROW][C]24[/C][C]2179[/C][C]2244.88654464621[/C][C]-65.8865446462085[/C][/ROW]
[ROW][C]25[/C][C]2217[/C][C]2104.28597609893[/C][C]112.714023901068[/C][/ROW]
[ROW][C]26[/C][C]2049[/C][C]1826.78553380714[/C][C]222.214466192862[/C][/ROW]
[ROW][C]27[/C][C]2343[/C][C]2195.31541350658[/C][C]147.684586493417[/C][/ROW]
[ROW][C]28[/C][C]2175[/C][C]2095.21332909831[/C][C]79.78667090169[/C][/ROW]
[ROW][C]29[/C][C]1607[/C][C]1906.58325961803[/C][C]-299.583259618034[/C][/ROW]
[ROW][C]30[/C][C]1702[/C][C]1977.42375193489[/C][C]-275.423751934890[/C][/ROW]
[ROW][C]31[/C][C]1764[/C][C]1680.86727756418[/C][C]83.1327224358243[/C][/ROW]
[ROW][C]32[/C][C]1766[/C][C]1703.67605828428[/C][C]62.3239417157218[/C][/ROW]
[ROW][C]33[/C][C]1615[/C][C]1731.96336046338[/C][C]-116.963360463376[/C][/ROW]
[ROW][C]34[/C][C]1953[/C][C]1853.53076428303[/C][C]99.4692357169667[/C][/ROW]
[ROW][C]35[/C][C]2091[/C][C]1985.9847127489[/C][C]105.015287251101[/C][/ROW]
[ROW][C]36[/C][C]2411[/C][C]2296.01130742017[/C][C]114.988692579831[/C][/ROW]
[ROW][C]37[/C][C]2550[/C][C]2246.51275975582[/C][C]303.487240244184[/C][/ROW]
[ROW][C]38[/C][C]2351[/C][C]1870.60675904196[/C][C]480.393240958038[/C][/ROW]
[ROW][C]39[/C][C]2786[/C][C]2345.61452812778[/C][C]440.385471872224[/C][/ROW]
[ROW][C]40[/C][C]2525[/C][C]2086.75660142141[/C][C]438.243398578586[/C][/ROW]
[ROW][C]41[/C][C]2474[/C][C]1983.84699884786[/C][C]490.153001152145[/C][/ROW]
[ROW][C]42[/C][C]2332[/C][C]1937.44649382593[/C][C]394.553506174071[/C][/ROW]
[ROW][C]43[/C][C]1978[/C][C]1848.46424425175[/C][C]129.535755748253[/C][/ROW]
[ROW][C]44[/C][C]1789[/C][C]1744.42210981841[/C][C]44.5778901815875[/C][/ROW]
[ROW][C]45[/C][C]1904[/C][C]1717.74068209769[/C][C]186.259317902312[/C][/ROW]
[ROW][C]46[/C][C]1997[/C][C]1855.83714455855[/C][C]141.162855441450[/C][/ROW]
[ROW][C]47[/C][C]2207[/C][C]2045.56620319976[/C][C]161.433796800244[/C][/ROW]
[ROW][C]48[/C][C]2453[/C][C]2280.63543891672[/C][C]172.364561083277[/C][/ROW]
[ROW][C]49[/C][C]1948[/C][C]2308.01623376960[/C][C]-360.016233769603[/C][/ROW]
[ROW][C]50[/C][C]1384[/C][C]1989.38534323109[/C][C]-605.385343231089[/C][/ROW]
[ROW][C]51[/C][C]1989[/C][C]2339.07978401381[/C][C]-350.079784013811[/C][/ROW]
[ROW][C]52[/C][C]2140[/C][C]2208.61035931123[/C][C]-68.6103593112309[/C][/ROW]
[ROW][C]53[/C][C]2100[/C][C]2021.90227339389[/C][C]78.097726606114[/C][/ROW]
[ROW][C]54[/C][C]2045[/C][C]2029.31730813402[/C][C]15.6826918659762[/C][/ROW]
[ROW][C]55[/C][C]2083[/C][C]1769.66291817158[/C][C]313.337081828418[/C][/ROW]
[ROW][C]56[/C][C]2022[/C][C]1865.89147099564[/C][C]156.108529004357[/C][/ROW]
[ROW][C]57[/C][C]1950[/C][C]1793.46683447716[/C][C]156.533165522837[/C][/ROW]
[ROW][C]58[/C][C]1422[/C][C]1987.30082026302[/C][C]-565.300820263021[/C][/ROW]
[ROW][C]59[/C][C]1859[/C][C]2203.93764878526[/C][C]-344.937648785259[/C][/ROW]
[ROW][C]60[/C][C]2147[/C][C]2399.41402310585[/C][C]-252.41402310585[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57498&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
119011989.35135903567-88.3513590356689
213951655.34459999370-260.344599993704
316391868.57820780834-229.578207808336
416431966.05603366936-323.056033669356
517511773.19760035063-22.1976003506323
617971740.2509802692256.7490197307776
713731569.39223091419-196.392230914186
815581617.57119466498-59.5711946649756
915551560.90682336253-5.90682336252936
1020611737.05856036942323.941439630577
1120101857.59621074512152.403789254883
1221192088.0526859110530.9473140889499
1319851952.8336713399832.1663286600199
1419631799.87776392611163.122236073894
1520172025.41206654349-8.41206654349432
1619752101.36367649969-126.363676499689
1715891835.46986778959-246.469867789592
1816791870.56146583593-191.561465835935
1913921721.61332909831-329.61332909831
2015111714.43916623669-203.439166236691
2114491668.92229959924-219.922299599244
2217671766.272710525970.727289474027781
2318991972.91522452097-73.9152245209692
2421792244.88654464621-65.8865446462085
2522172104.28597609893112.714023901068
2620491826.78553380714222.214466192862
2723432195.31541350658147.684586493417
2821752095.2133290983179.78667090169
2916071906.58325961803-299.583259618034
3017021977.42375193489-275.423751934890
3117641680.8672775641883.1327224358243
3217661703.6760582842862.3239417157218
3316151731.96336046338-116.963360463376
3419531853.5307642830399.4692357169667
3520911985.9847127489105.015287251101
3624112296.01130742017114.988692579831
3725502246.51275975582303.487240244184
3823511870.60675904196480.393240958038
3927862345.61452812778440.385471872224
4025252086.75660142141438.243398578586
4124741983.84699884786490.153001152145
4223321937.44649382593394.553506174071
4319781848.46424425175129.535755748253
4417891744.4221098184144.5778901815875
4519041717.74068209769186.259317902312
4619971855.83714455855141.162855441450
4722072045.56620319976161.433796800244
4824532280.63543891672172.364561083277
4919482308.01623376960-360.016233769603
5013841989.38534323109-605.385343231089
5119892339.07978401381-350.079784013811
5221402208.61035931123-68.6103593112309
5321002021.9022733938978.097726606114
5420452029.3173081340215.6826918659762
5520831769.66291817158313.337081828418
5620221865.89147099564156.108529004357
5719501793.46683447716156.533165522837
5814221987.30082026302-565.300820263021
5918592203.93764878526-344.937648785259
6021472399.41402310585-252.41402310585







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.05351119122570770.1070223824514150.946488808774292
170.0887198169482170.1774396338964340.911280183051783
180.1375178764709400.2750357529418790.86248212352906
190.1171177167882650.2342354335765290.882882283211735
200.08285752858559430.1657150571711890.917142471414406
210.07051182071344580.1410236414268920.929488179286554
220.06778175277176160.1355635055435230.932218247228238
230.04989776391615490.09979552783230970.950102236083845
240.02874991408785630.05749982817571250.971250085912144
250.01862799274035530.03725598548071060.981372007259645
260.01635493054717440.03270986109434880.983645069452826
270.01164471593618980.02328943187237960.98835528406381
280.01080697397765910.02161394795531820.98919302602234
290.02474444152281090.04948888304562180.97525555847719
300.03340322399258830.06680644798517670.966596776007412
310.06215037456425360.1243007491285070.937849625435746
320.06182712664635210.1236542532927040.938172873353648
330.05451468655791590.1090293731158320.945485313442084
340.03356666492982140.06713332985964280.966433335070179
350.02721715021749390.05443430043498780.972782849782506
360.01551978510025550.0310395702005110.984480214899744
370.01753007796595500.03506015593191010.982469922034045
380.0797171094992020.1594342189984040.920282890500798
390.4960107087487930.9920214174975860.503989291251207
400.5480022300375660.9039955399248680.451997769962434
410.6568135678420430.6863728643159140.343186432157957
420.6009299556362560.7981400887274880.399070044363744
430.4492941738314020.8985883476628040.550705826168598
440.7388810673763960.5222378652472080.261118932623604

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.0535111912257077 & 0.107022382451415 & 0.946488808774292 \tabularnewline
17 & 0.088719816948217 & 0.177439633896434 & 0.911280183051783 \tabularnewline
18 & 0.137517876470940 & 0.275035752941879 & 0.86248212352906 \tabularnewline
19 & 0.117117716788265 & 0.234235433576529 & 0.882882283211735 \tabularnewline
20 & 0.0828575285855943 & 0.165715057171189 & 0.917142471414406 \tabularnewline
21 & 0.0705118207134458 & 0.141023641426892 & 0.929488179286554 \tabularnewline
22 & 0.0677817527717616 & 0.135563505543523 & 0.932218247228238 \tabularnewline
23 & 0.0498977639161549 & 0.0997955278323097 & 0.950102236083845 \tabularnewline
24 & 0.0287499140878563 & 0.0574998281757125 & 0.971250085912144 \tabularnewline
25 & 0.0186279927403553 & 0.0372559854807106 & 0.981372007259645 \tabularnewline
26 & 0.0163549305471744 & 0.0327098610943488 & 0.983645069452826 \tabularnewline
27 & 0.0116447159361898 & 0.0232894318723796 & 0.98835528406381 \tabularnewline
28 & 0.0108069739776591 & 0.0216139479553182 & 0.98919302602234 \tabularnewline
29 & 0.0247444415228109 & 0.0494888830456218 & 0.97525555847719 \tabularnewline
30 & 0.0334032239925883 & 0.0668064479851767 & 0.966596776007412 \tabularnewline
31 & 0.0621503745642536 & 0.124300749128507 & 0.937849625435746 \tabularnewline
32 & 0.0618271266463521 & 0.123654253292704 & 0.938172873353648 \tabularnewline
33 & 0.0545146865579159 & 0.109029373115832 & 0.945485313442084 \tabularnewline
34 & 0.0335666649298214 & 0.0671333298596428 & 0.966433335070179 \tabularnewline
35 & 0.0272171502174939 & 0.0544343004349878 & 0.972782849782506 \tabularnewline
36 & 0.0155197851002555 & 0.031039570200511 & 0.984480214899744 \tabularnewline
37 & 0.0175300779659550 & 0.0350601559319101 & 0.982469922034045 \tabularnewline
38 & 0.079717109499202 & 0.159434218998404 & 0.920282890500798 \tabularnewline
39 & 0.496010708748793 & 0.992021417497586 & 0.503989291251207 \tabularnewline
40 & 0.548002230037566 & 0.903995539924868 & 0.451997769962434 \tabularnewline
41 & 0.656813567842043 & 0.686372864315914 & 0.343186432157957 \tabularnewline
42 & 0.600929955636256 & 0.798140088727488 & 0.399070044363744 \tabularnewline
43 & 0.449294173831402 & 0.898588347662804 & 0.550705826168598 \tabularnewline
44 & 0.738881067376396 & 0.522237865247208 & 0.261118932623604 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57498&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.0535111912257077[/C][C]0.107022382451415[/C][C]0.946488808774292[/C][/ROW]
[ROW][C]17[/C][C]0.088719816948217[/C][C]0.177439633896434[/C][C]0.911280183051783[/C][/ROW]
[ROW][C]18[/C][C]0.137517876470940[/C][C]0.275035752941879[/C][C]0.86248212352906[/C][/ROW]
[ROW][C]19[/C][C]0.117117716788265[/C][C]0.234235433576529[/C][C]0.882882283211735[/C][/ROW]
[ROW][C]20[/C][C]0.0828575285855943[/C][C]0.165715057171189[/C][C]0.917142471414406[/C][/ROW]
[ROW][C]21[/C][C]0.0705118207134458[/C][C]0.141023641426892[/C][C]0.929488179286554[/C][/ROW]
[ROW][C]22[/C][C]0.0677817527717616[/C][C]0.135563505543523[/C][C]0.932218247228238[/C][/ROW]
[ROW][C]23[/C][C]0.0498977639161549[/C][C]0.0997955278323097[/C][C]0.950102236083845[/C][/ROW]
[ROW][C]24[/C][C]0.0287499140878563[/C][C]0.0574998281757125[/C][C]0.971250085912144[/C][/ROW]
[ROW][C]25[/C][C]0.0186279927403553[/C][C]0.0372559854807106[/C][C]0.981372007259645[/C][/ROW]
[ROW][C]26[/C][C]0.0163549305471744[/C][C]0.0327098610943488[/C][C]0.983645069452826[/C][/ROW]
[ROW][C]27[/C][C]0.0116447159361898[/C][C]0.0232894318723796[/C][C]0.98835528406381[/C][/ROW]
[ROW][C]28[/C][C]0.0108069739776591[/C][C]0.0216139479553182[/C][C]0.98919302602234[/C][/ROW]
[ROW][C]29[/C][C]0.0247444415228109[/C][C]0.0494888830456218[/C][C]0.97525555847719[/C][/ROW]
[ROW][C]30[/C][C]0.0334032239925883[/C][C]0.0668064479851767[/C][C]0.966596776007412[/C][/ROW]
[ROW][C]31[/C][C]0.0621503745642536[/C][C]0.124300749128507[/C][C]0.937849625435746[/C][/ROW]
[ROW][C]32[/C][C]0.0618271266463521[/C][C]0.123654253292704[/C][C]0.938172873353648[/C][/ROW]
[ROW][C]33[/C][C]0.0545146865579159[/C][C]0.109029373115832[/C][C]0.945485313442084[/C][/ROW]
[ROW][C]34[/C][C]0.0335666649298214[/C][C]0.0671333298596428[/C][C]0.966433335070179[/C][/ROW]
[ROW][C]35[/C][C]0.0272171502174939[/C][C]0.0544343004349878[/C][C]0.972782849782506[/C][/ROW]
[ROW][C]36[/C][C]0.0155197851002555[/C][C]0.031039570200511[/C][C]0.984480214899744[/C][/ROW]
[ROW][C]37[/C][C]0.0175300779659550[/C][C]0.0350601559319101[/C][C]0.982469922034045[/C][/ROW]
[ROW][C]38[/C][C]0.079717109499202[/C][C]0.159434218998404[/C][C]0.920282890500798[/C][/ROW]
[ROW][C]39[/C][C]0.496010708748793[/C][C]0.992021417497586[/C][C]0.503989291251207[/C][/ROW]
[ROW][C]40[/C][C]0.548002230037566[/C][C]0.903995539924868[/C][C]0.451997769962434[/C][/ROW]
[ROW][C]41[/C][C]0.656813567842043[/C][C]0.686372864315914[/C][C]0.343186432157957[/C][/ROW]
[ROW][C]42[/C][C]0.600929955636256[/C][C]0.798140088727488[/C][C]0.399070044363744[/C][/ROW]
[ROW][C]43[/C][C]0.449294173831402[/C][C]0.898588347662804[/C][C]0.550705826168598[/C][/ROW]
[ROW][C]44[/C][C]0.738881067376396[/C][C]0.522237865247208[/C][C]0.261118932623604[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57498&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.05351119122570770.1070223824514150.946488808774292
170.0887198169482170.1774396338964340.911280183051783
180.1375178764709400.2750357529418790.86248212352906
190.1171177167882650.2342354335765290.882882283211735
200.08285752858559430.1657150571711890.917142471414406
210.07051182071344580.1410236414268920.929488179286554
220.06778175277176160.1355635055435230.932218247228238
230.04989776391615490.09979552783230970.950102236083845
240.02874991408785630.05749982817571250.971250085912144
250.01862799274035530.03725598548071060.981372007259645
260.01635493054717440.03270986109434880.983645069452826
270.01164471593618980.02328943187237960.98835528406381
280.01080697397765910.02161394795531820.98919302602234
290.02474444152281090.04948888304562180.97525555847719
300.03340322399258830.06680644798517670.966596776007412
310.06215037456425360.1243007491285070.937849625435746
320.06182712664635210.1236542532927040.938172873353648
330.05451468655791590.1090293731158320.945485313442084
340.03356666492982140.06713332985964280.966433335070179
350.02721715021749390.05443430043498780.972782849782506
360.01551978510025550.0310395702005110.984480214899744
370.01753007796595500.03506015593191010.982469922034045
380.0797171094992020.1594342189984040.920282890500798
390.4960107087487930.9920214174975860.503989291251207
400.5480022300375660.9039955399248680.451997769962434
410.6568135678420430.6863728643159140.343186432157957
420.6009299556362560.7981400887274880.399070044363744
430.4492941738314020.8985883476628040.550705826168598
440.7388810673763960.5222378652472080.261118932623604







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57498&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 level70.241379310344828NOK
10% type I error level120.413793103448276NOK



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