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

Causal diagram support #123

Closed
pzivich opened this issue Oct 3, 2019 · 1 comment
Closed

Causal diagram support #123

pzivich opened this issue Oct 3, 2019 · 1 comment
Labels
enhancement Long-term Issues/additions that are longer term goals wishlist Items I want to add but lack the knowledge presently

Comments

@pzivich
Copy link
Owner

pzivich commented Oct 3, 2019

For the problem of identification, it would be nice to have zEpid be a one-stop-shop for causal inference. To do this, I will need to add some support for causal diagrams (e.g. directed acyclic graphs, single-world intervention graphs, etc.).

A causal diagram class would need to:

  1. Generate a network
  2. Check that network is acyclic
  3. Find all open backdoor paths. Provide adjustment set
  4. Allow for censoring / missing data nodes and identifying adjustment sets
  5. Create a nice visualization like https://causalify.github.io/#start which I need to learn a good position algorithm for a network

Currently, I would not plan for this class to directly move to analyses. The reason being is that the diagrams are nonparametric but most analyses will need to be somewhat parametric (i.e. IPTW relies on parametric models for weights).

Concerns:

  • This addition will inflate the dependencies. I will likely have to add NetworkX and its corresponding dependencies.
@pzivich pzivich added enhancement Long-term Issues/additions that are longer term goals wishlist Items I want to add but lack the knowledge presently labels Oct 3, 2019
@pzivich pzivich mentioned this issue Jul 12, 2020
17 tasks
@pzivich
Copy link
Owner Author

pzivich commented Dec 29, 2020

Time to inflate those (optional) dependencies! Added DAGs in #143

@pzivich pzivich closed this as completed Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Long-term Issues/additions that are longer term goals wishlist Items I want to add but lack the knowledge presently
Projects
None yet
Development

No branches or pull requests

1 participant