Machine Learning, Causal Inference, Data Science, Deep Dives, Notes From Industry.
here as a binned scatterplot, a (somewhat) linear relationship between log-quantity and log-price can be observed. Now, to put the approach together: I’ll take logs of p and q. I’ll construct a set of potential confounders, X. I’ll train an auxiliary RandomForest model to predict log(p) from X.