ECON 3209 · Week 13, Lecture 2 · Kerala Agricultural University
Autumn 2026
By the end of this lecture, you will be able to:
\[Y_i = \beta_0 + \beta_1 X_i + \beta_2 D_i + \beta_3(D_i \cdot X_i) + \varepsilon_i\]
If \(D=0\):
\[Y = \beta_0 + \beta_1 X + \varepsilon\]
If \(D=1\):
\[Y = (\beta_0 + \beta_2) + (\beta_1 + \beta_3)X + \varepsilon\]
So the interaction allows both the intercept and the slope to differ.
Example: effect of fertilizer on yield may differ between irrigated and rainfed farms.
D = 1 for irrigated plotsIn interaction models, coefficients rarely speak alone. They speak as a bundle.
Interaction terms also help with: - wage returns to education by gender - income effects before and after a policy reform - crop-response functions by soil type
They are a flexible way to ask whether one effect depends on another condition.
yield_ ~ fertilizer * irrigated.✅ Interaction terms allow slopes to differ across groups.
✅ In a dummy-by-continuous interaction, one coefficient shifts the intercept and another shifts the slope.
✅ Group-specific effects must be computed from combinations of coefficients.
✅ Plots are one of the best ways to interpret interaction models.
✅ Interaction models answer whether one relationship depends on context.
Lecture 3 — Structural Breaks in Python
We will cover: - regime dummies - before-and-after comparisons - Chow-test logic - cooperative credit scheme example
ECON 3209 — Kerala Agricultural University