Open ghost opened 3 years ago
The simple answer is never. The final model in the dml module should not need an intercept as any intercept should have been removed by model_y when residualizing the outcome.
also just to make sure: the intercept I’m referring to is not even part of the effect model and should not be confused by the cate_intercept, which is the constant part in a linear cate model.
the only place where one could potentially enable an intercept component in the final model is for finite sample robustness if your final model is very expressive and you might want to further allow for a conditional intercept even if you’ve already residualized model_y. Just in case the final model is more expressive than the model_y model. This could be the case in causalforestdml, and the reason why as a default we have ‘fit_intercept=True’ (this param refers to the final model intercept and not the cate intercept that is used in linear final models). See the docstring of cfdml.
Thank you! Yes makes sense
Hi! Thanks again for developing this powerful package.
Can someone help us understand: when we should specify an intercept in a Double ML's model_final residual regression? When we should not include any intercept in the last-stage residual regression? And, why? Any theory that underpins the recommended practices? Thanks!