You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sinya2 in your causal graph, the correct way to estimate causal effect is to simply compute $\mathbf{E}[Lung Cancer |Smoking]$. There is no confounding common cause. That is what the estimand is describing. Usually it shows which variables need to be controlled, but here you do not need to control any variable.
That is also the reason why propensity score methods are throwing an error. They depend on creating a treatment propensity model using the confounding common causes. For your problem, you can simply use linear regression estimator or S-learner from EconML to compute the causal effect.
Hi! I've tried to investigate causality between lung cancer and smoking using this dataset.
I've built such casual graph:
But I have an error
Exception: No common causes/confounders present. Propensity score based methods are not applicable
after applying this code:
Also I am confused by having such estimands. Do not it suppose also to show what variables have to be controlled?
Version information:
I have dowhy version 0.10.1.
The text was updated successfully, but these errors were encountered: