CausalInference.jl icon indicating copy to clipboard operation
CausalInference.jl copied to clipboard

Implement search for adjustment sets

Open mschauer opened this issue 4 years ago • 1 comments
trafficstars

High effort PR, but rewarding and a straight solution:

The problem is as follows: There are two variables X and Y and we want to know the effect of X on Y. Which variables do we need as control variables to get an unbiased estimate?

This assumes that you are a bit familiar with causal inference in particular with measuring causal effect and representing causal structure with a DAG*

But the task is simpler than that.

The package already has the backdoor criterion implemented to check if something is an adjustment set. To find one we will employ brute force: check every set if it is an adjustment set until done.

mschauer avatar Sep 24 '21 18:09 mschauer

Some resources:

  • The very nice introduction to DAGs of the ggdag R package: https://ggdag.malco.io/articles/intro-to-dags.html I made a issue to actually translate that #62

  • The very long (3h) and very good video lecture https://www.youtube.com/watch?v=KNPYUVmY3NM

  • The technical but good chapter on DAGs in Wassermans "Statistical Machine Learning" course http://www.stat.cmu.edu/~larry/=sml/ and the next chapter on causality

mschauer avatar Oct 03 '21 17:10 mschauer

Currently working on this and related stuff here: https://github.com/mwien/CausalInference.jl/blob/idalgorithms/src/gensearch.jl

Gonna submit a PR soon.

mwien avatar Jun 07 '23 16:06 mwien

Nice! Feel free to submit work in progress as PR too

mschauer avatar Jun 07 '23 18:06 mschauer