Closed leechelseahaosin closed 1 year ago
Hey, you might want to check out: https://www.pywhy.org/dowhy/main/example_notebooks/gcm_falsify_dag.html It was just recently added, i.e., you would need to install the mainline version. But it will be part of the next release.
thanks @bloebp this looks very interesting
@bloebp looks promising. Can this feature be used without using gcm()? what about with econML estimators?
It is based on performing multiple independence tests, i.e., you don't really need an estimator, just the graph structure and data. You would need the gcm module, but only the part for this algorithm (so, no need to define it as an SCM etc.).
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Seems like refute_graph() can only detect conditional independences, but can it also check independencies without variables to condition on? If not, is there a method call that can automatically check these independent relationships accurately and without having to check them for manually?
I've tried to test refute_graph() with a sample DAG that should check for one implied independence relationship. I've drawn two variables, node a and node b, that act as confounders between node T and node O. These confounders are also independent of each other. The same implied independent relationship can be found through daggity by changing
digraph
todag
incausal_graph
variableThe output from above shows that the refutegraph() does not test any relationships, which is not correct as it should detect the independent relationship between node a and node b. (I would like to also plug another issue where this only works if the variables are single letters, otherwise it results in the error in issue #949)_
However, when I explicitly check for this relationship, it does test the one relationship but it should not pass the test since I've made both node a and node b perfectly correlated.
Version information: