Applied Econometrics

Online B.Com · Sem 6

Lesson 4 of 4Economics

Dummy Variables and Stationarity in Regression

Applied Econometrics

About the video

Time Series Analysis – Stationary, Non-Stationary, DF, ADF, Auto Regressive, Distributed lag model

Mini Sethi

Study notes

Dummy variables let qualitative factors (gender, region, season, policy periods) enter a regression as 0/1 indicators that shift the intercept or slope. Stationarity means a time series has a constant mean, variance and autocovariance over time, and it is required for valid regression inference with time-series data.

Dummy Variables

  • A dummy takes the value 1 if a category applies and 0 otherwise.
  • Intercept dummy: Y = b0 + b1 D + b2 X + u; b1 is the difference in mean Y between the category and the base group, holding X constant.
  • Slope (interaction) dummy: include D*X to let the effect of X differ across groups.
  • For a variable with m categories, include m-1 dummies alongside an intercept.
  • Including all m dummies plus an intercept causes perfect multicollinearity (the dummy variable trap).
  • The omitted category is the benchmark (reference group).
  • Common uses: seasonal effects, structural breaks, and policy or event effects.

Stationarity

  • Weak (covariance) stationarity: constant mean, constant variance, and autocovariance that depends only on the lag.
  • Non-stationary examples: a random walk Y_t = Y_(t-1) + e_t (unit root), and trending series.
  • Regressing one non-stationary series on another can produce a spurious regression: high R-squared and significant t-statistics with no real relationship.
  • A warning sign of spurious regression is R-squared greater than the Durbin-Watson statistic.

Testing and Remedies

  • Detect non-stationarity with the correlogram (ACF) or unit root tests such as Dickey-Fuller, Augmented Dickey-Fuller (ADF) and Phillips-Perron.
  • ADF null hypothesis: the series has a unit root (is non-stationary).
  • Difference-stationary series: take differences; a series is I(d) if it must be differenced d times to become stationary.
  • Trend-stationary series: remove the deterministic trend (detrending).
  • Cointegration: non-stationary I(1) series whose linear combination is stationary have a genuine long-run relationship.

Key terms

Dummy variable
A 0/1 variable indicating whether a qualitative attribute is present.
Dummy variable trap
Perfect multicollinearity caused by including a dummy for every category together with an intercept.
Stationarity
Mean, variance and autocovariance of a series do not change over time.
Unit root
A property of a series such as a random walk that makes it non-stationary.
Spurious regression
A misleading significant relationship found between unrelated non-stationary series.
Cointegration
A stationary linear combination of non-stationary series, indicating a long-run equilibrium relationship.

Takeaways

  • Use m-1 dummies for m categories; the coefficients are measured relative to the base category.
  • Stationarity requires constant mean, constant variance and lag-dependent covariance.
  • Test for unit roots with ADF; difference or detrend non-stationary data unless the series are cointegrated.
  • High R-squared with a low Durbin-Watson statistic suggests a spurious regression.
Contribute

Was this lesson helpful?

We read every rating and fix the weakest lessons first.