



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Economics 215 Allin Cottrell
We start from a simple, proportional, long-run equilibrium relationship between two variables:
Yt = KXt
We might think of Y as inventory and X as sales, or Y as consumption and X as income, or whatever. Of course a fully specified equilibrium model may well include more variables, and the equilibrium relationship need not be one of direct proportionality, but let’s keep it simple. The relationship above can be written in log form as
yt = k + xt (1)
where we follow the convention of letting a lower-case letter designate the natural log of the variable represented by the corresponding upper case letter. (Taking logs reduces the multiplicative relation- ship to an additive one, which is a helpful mathematical simplification.) Now let’s write down a general dynamic relationship between y and x : yt = β 0 + β 1 xt + β 2 xt − 1 + α 1 yt − 1 + ut (2)
By including lagged values of both x and y this specification allows for a wide variety of dynamic patterns in the data. We now ask: Under what conditions is the generic dynamic equation (2) consistent with the long- run equilibrium relationship (1)? To assess this, we “zero out” the factors that could cause divergence from equilibrium, namely changes in xt and stochastic fluctuations, ut. That is, we set yt = y ∗^ and xt = x ∗^ for all t , and set ut = 0. Thus we get
y ∗^ = β 0 + β 1 x ∗^ + β 2 x ∗^ + α 1 y ∗ ( 1 − α 1 )y ∗^ = β 0 + (β 1 + β 2 )x ∗
y ∗^ =
β 0 1 − α 1
β 1 + β 2 1 − α 1
x ∗
If the above corresponds with equation (1) we have β 0 1 − α 1
= k
β 1 + β 2 1 − α 1
Suppose this is the case. The second relationship above means that β 1 + β 2 = 1 − α 1. Let γ denote the common value of these two terms. Then β 2 can be written as γ − β 1 and α 1 can be written as 1 − γ. Therefore equation (2) becomes
yt = β 0 + β 1 xt + (γ − β 1 )xt − 1 + ( 1 − γ)yt − 1 + ut yt = β 0 + β 1 xt − β 1 xt − 1 + γxt − 1 − γyt − 1 + yt − 1 + ut yt − yt − 1 = β 0 + β 1 (xt − xt − 1 ) + γ(xt − 1 − yt − 1 ) + ut
So, finally, ∆ yt = β 0 + β 1 ∆ xt + γ(xt − 1 − yt − 1 ) + ut (3)
where ∆ xt ≡ xt − xt − 1. This is the characteristic “error correction” specification, where the change in one variable is related to the change in another variable, as well as the gap between the variables in the previous period.
To illustrate, let’s take the data on U.S. per capita disposable income (Yt) and consumption expenditure (Ct), annual 1959–1994, from the Ramanathan data files (data3-6). We begin by generating the logs of Ct and Yt and the changes in the logs of these variables. The gretl “script” commands are as follows:
logs Ct Yt ldiff Ct Yt
These commands generate the new variables l_Ct, l_Yt (logs) and ld_Ct, ld_Yt (the log-differences or ∆s). We then create a variable representing the gap between log income and log consumption:
genr gap = l_Yt - l_Ct genr gap_1 = gap(-1)
(The (-1) calls for the first lag to be used). We now specify a regression, to be estimated via OLS, corresponding to equation (3) above:
ols ld_Ct const ld_Yt gap_
The results are shown below:
OLS estimates using the 35 observations 1960– Dependent variable: ld Ct
Variable Coefficient Std. Error t -statistic p-value const − 0_._ 0172635 0_._ 0129678 − 1_._ 3313 0_._ 1925 ld Yt 0_._ 819320 0_._ 0934824 8_._ 7644 0_._ 0000 gap 1 0_._ 214349 0_._ 124736 1_._ 7184 0_._ 0954
Sum of squared residuals 0_._ 00328885 Standard error of residuals ( ˆ σ ) 0_._ 0101379 Adjusted ¯ R^2 0_._ 698098 F ( 2 , 32 ) 40_._ 3096 Durbin–Watson statistic 1_._ 84671 Note that the model does not seem to suffer from autocorrelation (DW = 1.85). The coefficient on the lagged gap, which corresponds to γ in equation (3), does not appear highly significant, but on a one -tailed test it is significant at the 5 percent level. And a one-tailed test is appropriate here: on theoretical grounds we expect a positive coefficient, and we can run H 0 : γ ≤ 0 versus H 1 : γ > 0. Why do we expect a positive value for γ , if the error-correction model is appropriate? Let’s go back to equation (3). The idea is that, ceteris paribus, the dependent variable should converge towards its equilibrium level. Now “ceteris paribus” can be taken to mean: barring changes in x and other disturbances ( ut ). If we set ∆ xt and ut to zero, equation (3) then becomes
∆ yt = β 0 + γ(xt − 1 − yt − 1 ) = γ(
β 0 γ
But notice that β 0 /γ is, by definition, β 0 /( 1 − α 1 ) , which in turn corresponds to k in equation (1)—see the figuring on page 1. So (4) is equivalent to
∆ yt = γ(k + xt − 1 − yt − 1 )
and k + xt − 1 is nothing other than the equilibrium value of y in period t − 1, according to equation (1). Thus, suppose we had k + xt − 1 − yt − 1 > 0: this would mean that last period the equilibrium value of y , namely k + xt − 1 , exceeded its actual value, or actual y fell short of equilibrium. If “error correction” is going on, what should happen? Well, y should increase (i.e. ∆ yt > 0), heading towards equilibrium. In other words, the coefficient γ should be positive.^1 It’s like this:
change in y = positive coeff. × (degree to which y fell short of equilibrium last period) (^1) If we had specified the “gap” the other way round, as consumption minus income, we would then have expected a negative value for γ.
Error correction versus general dynamic model
One further question. We said above (see page 1) that the error correction model represents a re- striction on the general dynamic model given in equation (2). The restriction takes the form of the requirement that β 1 + β 2 = 1 − α 1. This is a linear restriction, and it is testable, so let’s test it. We have already estimated the restricted model (i.e. the error correction model) and its SSR is reported above. We need to estimate the unrestricted model—corresponding to equation (2)—and find its SSR, then form an F -statistic in the usual way:
F ( 1 , dfu ) = ( SSRr − SSRu )/ 1 SSRu / dfu
The numerator df = 1 because there is only one restriction. The denominator degrees of freedom (dfu) = 31 since there are 35 observations (after accounting for the lagged terms) and the unrestricted model involves estimating 4 parameters. It turns out that SSRu = 0.00319503 and F (1, 31) = 0.910265 with a p-value of 0.3474. We fail to reject H 0 : β 1 + β 2 = 1 − α 1 , and conclude that the error correction model is an acceptable restriction on the more general equation (2).
Here’s the complete gretl program to generate the output discussed above.
open data3- logs Ct Yt ldiff Ct Yt genr gap = l_Yt - l_Ct genr gap_1 = gap(-1)
ols ld_Ct const ld_Yt gap_
genr prop = exp($coeff(const)/$coeff(gap_1)) print prop genr SSRr = $ess
lags l_Ct l_Yt ols l_Ct const l_Yt l_Yt_1 l_Ct_ genr SSRu = $ess genr dfu = $df genr Ftest = (SSRr-SSRu)*dfu/SSRu pvalue F 1 dfu Ftest
In view of goings-on in the stock market over recent years it might be interesting to inquire whether the behavior of the market (as represented, say, by the Dow–Jones Industrial Average) can be modeled as a case of “long-run equilibrium plus error correction”. What might be a plausible model for long-run equilibrium in this case? Well, corporate stocks ultimately derive their value from the fact that they are claims on the profits made by firms. Thus it seems reasonable to suppose that stock prices should reflect the present discounted value of the future (expected) stream of corporate profit. A simple (perhaps too simple) proxy for this would be the current level of (after-tax) corporate profits, divided by a long-term interest rate such as the rate on 10-year Treasury bonds. This would be the “correct” figure if people expected the current level of corporate profits to persist into the indefinite future: the present value of an asset which promises to pay a given sum F each year, forever, is F /r where r denotes the appropriate discount rate. My hypothesis, then, is that in the long run the Dow (as an aggregate measure of the value of the stock market) should be proportional to after-tax corporate profits divided by the long-term interest rate. We want to allow the possibility that the Dow is not equal to this long-run equilibrium value at
all times, but that if it diverges from this value the “error” will tend to be corrected over time. The simplest model that captures this is equation (3), reproduced below.
∆ yt = β 0 + β 1 ∆ xt + γ(xt − 1 − yt − 1 ) + ut
Here yt represents the log of the Dow, and xt represents the log of the present value of corporate profits as described above. The analysis was conducted on a quarterly basis, with data obtained from the Federal Reserve Bank of St Louis (corporate profits), the Federal Reserve Board of Governors (10-year Treasury bond rate) and economagic.com (the closing value of the Dow). The results are shown below (where ld_dj denotes the log-difference of the Dow–Jones average, ld_cprof denotes the log-difference of discounted cor- porate profits, and djgap_1 denotes the lagged value of the difference between the log of discounted profit and the log of the Dow).
OLS estimates using the 220 observations 1953:3–2008: Dependent variable: ld dj
Coefficient Std. Error t -ratio p-value const − 0_._ 00549884 0_._ 00689003 − 0_._ 7981 0_._ 4257 ld cprof 0_._ 190529 0_._ 0482375 3_._ 9498 0_._ 0001 djgap 1 0_._ 0538393 0_._ 0152960 3_._ 5198 0_._ 0005
Sum of squared residuals 0_._ 746783 Standard error of the regression ( ˆ σ ) 0_._ 0586634 Unadjusted R^2 0_._ 111245 Adjusted ¯ R^2 0_._ 103054 F ( 2 , 217 ) 13_._ 5809 Durbin–Watson statistic 1_._ 68157
LM test for autocorrelation up to order 4 – Null hypothesis: no autocorrelation Test statistic: LMF = 1. with p-value = P ( F ( 4 , 213 ) > 1.43485) = 0.
The error-correction parameter (i.e. the coefficient on djgap_1) has the expected positive sign. The DW statistic does not suggest that autocorrelation is a problem; neither does the LMF test statistic for autocorrelation up to the fourth order. As in the discussion of the consumption function above, we can retrieve an estimate of the factor of proportionality in the hypothesized long-run equilibrium relationship by dividing the constant by the djgap_1 coefficient and exponentiating. This gives a value of 0.9029. Thus we estimate that the equilibrium value of the Dow index is about 90 percent of the present value of the corporate profit stream. The residuals from the regression above are shown in Figure 1. The stock-market crash of 1987 stands out as a large negative residual: we infer that, so far as our model is concerned, this crash was not a case of “error correction” (otherwise the model would have predicted it) but rather an “error”. Figure 2 shows the actual value of the Dow alongside the equilibrium value implied by the model above (that is, 0.9029 times the present value of the corporate profit stream). Interestingly, the run up in the Dow over the 1990s appears not as a movement above equilibrium, but rather as a “catching up” with an equilibrium value that exceeded the actual value for much of the period. (I’m not sure I’d want to place too much stress on this result without further testing of the adequacy of the model.)