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

Fix do interventation #211

Open
ChristopherSchmidt89 opened this issue Jul 17, 2020 · 1 comment
Open

Fix do interventation #211

ChristopherSchmidt89 opened this issue Jul 17, 2020 · 1 comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed

Comments

@ChristopherSchmidt89
Copy link
Contributor

Do-Interventation currently only covers the case that c is parent, as implemented in distributions.py starting from
line 329 # P(e|do(c)) = \Sigma_{F} P(e|c,f) P(f)

check causaleffect package for further rules

@ChristopherSchmidt89 ChristopherSchmidt89 added bug Something isn't working enhancement New feature or request help wanted Extra attention is needed labels Jul 17, 2020
@danthe96
Copy link
Collaborator

Just to add: If the code in causaleffect is too complicated, the original algorithm(s) IDC and ID are described in this paper, which causaleffect closely follows (including comments for individual lines of the algorithm). Essentially, IDC maps the conditions over into x (treatment) and y (effect) and calls ID with those parameters, which again applies some rules including kicking out non-ancestors of y etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants