model.identify_effect when the data doesn't match the graph. #637
-
Hi. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @matanma, Thanks for flagging this. We should improve the documentation for this. While the identify_effect() function doesn't use the data values, it does look at the columns in the data frame to determine which features are observed vs. not observed. I.e., from that notebook you linked to, if we create a sample dataset, and then
Then create a causal model object and call identify effect:
We will see a valid estimand if we pass in Does this address the issue you were seeing? And to reiterate, you are completely correct that this should be updated in the docs. I'll mark this discussion as an issue. Emre |
Beta Was this translation helpful? Give feedback.
Hi @matanma,
Thanks for flagging this. We should improve the documentation for this.
While the identify_effect() function doesn't use the data values, it does look at the columns in the data frame to determine which features are observed vs. not observed.
I.e., from that notebook you linked to, if we create a sample dataset, and then