apoorvalal / aipwML

Regression adjustment, IPW, and AIPW estimators for causal effects using various ML methods
https://raw.githack.com/apoorvalal/aipwML/master/vignette/example.html
5 stars 0 forks source link

Outcome equation #1

Closed idg23 closed 1 year ago

idg23 commented 1 year ago

Great package! Very helpful for quick DR computation using ML methods. Thanks. I had one quick question: shouldn't the outcome regression include the treatment indicator along with the the covariates ? I didn't spend enough time on going through the back-end functions but if the treatment indicator is not included in the outcome regression as a feature, aren't we doing something similar to DML then? Many thanks.

apoorvalal commented 1 year ago

The outcome model [nonparametric regression of the response surface $E[Y | X=x]$) is fit on subsets of the population defined by their treatment status, so including the treatment indicator is superfluous (it would be collinear with the intercept).

For details, see Imbens 2004 and subsequent DoubleML papers.