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

Is there a way to find instrumental variables in a DAG? #2

Open
AlexAndorra opened this issue Jun 2, 2020 · 0 comments
Open

Is there a way to find instrumental variables in a DAG? #2

AlexAndorra opened this issue Jun 2, 2020 · 0 comments

Comments

@AlexAndorra
Copy link

Hi there,
Thanks a lot for your work on this package -- this looks really useful and promising 👌

I was wondering if there is a way to find instrumental variables, if they are present in a DAG? Kind of like what the dagitty R package does with its function instrumentalVariables:

library(dagitty)
dagIV <- dagitty( "dag{ Q -> E <- U -> W <- E }" )
instrumentalVariables( dagIV , exposure="E" , outcome="W" )

Context: we are porting Statistical Rethinking 2 to python and PyMC3 and using your package to do what R. McElreath does with daggity.

Thanks a lot in advance for your help, and take care 🖖
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant