measurement

Difference-in-Differences With a Continuous Treatment in R: The Dose Coefficient Is Not Marginal ROI

Put spend on the right-hand side of a fixed effects regression and the coefficient looks like marginal return. On simulated data with randomly assigned dose, it overstates the true marginal return by 31%. Here is why, and how the new contdid package fixes it.