Factor Variables and Interactions (Regression)
Using the maize only version of eth_allrounds_final.dta with per hectare inputs:
- Run a regression of
yield_kgonfertandlabor, adding regional fixed effects withi.admin_1. Which region is the omitted reference category? - Run a regression with an interaction between fertilizer (
c.fert) and irrigation (i.irr). What is the coefficient on the interaction term? What does the interaction coefficient mean? - Fit a quadratic in fertilizer. What does the sign of the squared term tell you about diminishing returns?