Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backdoor path #1044

Closed
asha24choudhary opened this issue Oct 10, 2023 · 4 comments
Closed

Backdoor path #1044

asha24choudhary opened this issue Oct 10, 2023 · 4 comments
Labels
question Further information is requested stale

Comments

@asha24choudhary
Copy link

Hi. I have the following causal graph (chain structure).
image

According to my knowledge, there is no backdoor path. But when I do model.identify_effect, it shows that there is a backdoor path. Please see it in the following figure. Although, the backdoor set is empty, which is the variable or the set of variables that should be conditioned on block the backdoor path afaik. I do not understand why it says that there is a backdoor on the first place. Please find it in this pic.
image
Also if I rearrange the chain structure into this one
image
And again identify the effect, I still get backdoor expression which you can see here
image

Could you please explain me what am I missing?

Thank you in advance!

@asha24choudhary asha24choudhary added the question Further information is requested label Oct 10, 2023
@github-actions
Copy link

This issue is stale because it has been open for 14 days with no activity.

@github-actions github-actions bot added the stale label Oct 25, 2023
Copy link

github-actions bot commented Nov 1, 2023

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2023
@amit-sharma
Copy link
Member

@asha24choudhary The identify_effect provides you the formula for estimating causal effect using the backdoor criterion.
In your example, the backdoor variables set is empty. That's what is shown in the output too. But the null set is still a valid backdoor set and therefore you can use the null set in any downstream estimator to estimate the causal effect.

short answer: If the estimand only shows Y and X but no other conditioning variables, then there is no backdoor path (as you said) and hence the causal effect can be computed directly as E[Y|X].

@asha24choudhary
Copy link
Author

Thank you so much @amit-sharma for your explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

2 participants