Machine Learning, Causal Inference, Data Science, Deep Dives, Notes From Industry.
that in the actual implementation I will (linearly) regress residualized log-quantity on residualized log-price to obtain θ. In the binned scatterplot below, I show the “naive” result of just taking the correlation between log-quantity and log-price in my sample dataset: The relationship appears to