April 2025

IZA DP No. 17856: OLS with Heterogeneous Coefficients

Regressors often have heterogeneous effects in the social sciences, implying unit-specific slopes. OLS is frequently applied to these correlated coefficient models. I first show that without restrictions on the relation between slopes and regressors, OLS estimates can take any value including being negative even though all individual slopes are positive. I derive a simple formula for the bias in the OLS estimates, which depends on the covariance of the slopes with the squared regressor. While instrumental variable methods still allow estimation of (local) average effects under the additional assumptions that the instrument is independent of the coefficients in the first stage and reduced form equations, the results here imply complicated biases when these assumptions fail. Taken together, these results imply that heterogeneous effects systematically affect estimates beyond the well-known case of local average effects and provides researchers with a simple approach to assess how heterogeneity alters their estimates and conclusions.