Machine Learning, Causal Inference, Data Science, Deep Dives, Notes From Industry.
I’ll train a separate auxiliary RandomForest model to predict log(q) from X. If you follow this process closely, you’ll notice that the process of residualization as described is “in-sample prediction”, i.e. the auxiliary models are trained on the same data that they predict on. This is likely to