





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!






A joint test of whether all the dummies’ coefficients are zero tests the hypothesis that the intercept does not vary at all over periods. The simple test of whether a particular dummy’s coefficient is zero tests the hypothesis that the intercept in that dummy’s period does not differ from that of the omitted period. o Including interactions between time dummies and another variable Z allows the coefficient on (effect of) Z to vary across periods. As before, the estimated coefficient on non-interacted Z is the estimated effect in the period for which the dummy is omitted. The estimated coefficient on the interaction between Z and the dummy for period t is the estimated difference between the effect of Z in period t and the effect in the omitted period. The joint test of the interaction terms tests the hypothesis that the coefficients (effects) of Z are the same in all periods. The simple test of the interaction term for the period t dummy tests whether the effect of Z in period t differs from the effect in the omitted period.
With T > 2, we could do T – 1 differences across pairs of time periods, allowing n ( T – 1) observations in the differenced sample (and n ( T – 1) – k degrees of freedom because there is no constant term). Alternatively, we can get a similar (identical if T = 2) regression in two other ways.
1
Yi (^) n (^) i Yit.
Let (^) X ^ (^) it = X (^) it − X (^) i and (^) Y it = Yit − Yi. However, we really don’t have nT independent observations because
=
1
T it i
X so
1 1
T iT it i
X X (and the same for Y and u ).
In order to correct for this problem, we can either drop one time unit to eliminate the redundant observations or we can adjust the degrees of freedom to correct for this. o Most statistical packages actually do fixed-effects regression using the de- meaning procedure because it takes less time to calculate the means and the tilde
variables and invert a matrix of order k + 1 than to invert a matrix of order k + n , which would be necessary to estimate the model with n – 1 unit dummy variables. (Option fe in Stata xtreg, which is not the default) o This estimator is sometimes called the within-unit estimator because it estimates the coefficients strictly based on variation (over time) within cross-sectional unit. Corresponding to this is a between-unit estimator that is the regression of Yi on X (^) i for the n observations of the sample. (Option be in Stata xtreg) o Again, any variable that doesn’t vary over time within each unit will have zero values from the deviation from mean, so regression breaks down and we can’t identify the effect.
Estimate with Y and X expressed as deviations from time means.
mean across both units and time, and regress it on a similarly transformed X. This is sometimes called the “differences-in-differences” estimator because it excludes the effects of changes that are strictly over time (taken out with time dummies or demeaning) and the effects of changes that are strictly across units (taken out with unit dummies or demeaning). This leaves only differences across units in how the variables change over time to estimate β.
Sometimes rather than having a different fixed constant term for each unit, we want to think of each unit having a common error term drawn randomly from some distribution. In other words, the α i terms are thought of as random variables drawn, for each i , from some common distribution rather than constants.
and u together as a composite error term. o This is sometimes called an error-components model because the error term has two components: One that is the same across time within units, and An “idiosyncratic” error term for each unit/period.
α
= σ σ + σ
2 cov (^) it , (^) is 2 2. u
v v
o The random-effects estimator is a feasible GLS estimator that estimates this covariance based on correlation between same-unit residuals, then calculates an estimator that is BLUE conditional on this calculated covariance matrix.
o Computationally, this involves “quasi-de-meaning” the data by calculating
Y it^ = Yit − λ Yi ,where α
⎛ (^) σ ⎞ λ = − ⎜ ⎟ ⎝ σ^ +^ σ ⎠
2 1 2 (^1 2 ) u u T^
. As T → ∞, λ → 1 and the random-
effects estimator becomes equivalent to the fixed-effects model.