Closed titubs closed 12 months ago
Hey @titubs Under placebo treatment, the treatment values in the dataset are randomized. So the expected effect value from a good estimator is 0, and your method also returns that. So the test has failed to refute your method (also evident from the p-value >0.05). In other words, the test is unable to invalidate your method. To interpret the refuters, you can refer to DoWhy's user guide's section on refutations
Two treatment variables: from your code, it is not clear which causal effect are you estimating. Do you have the values of trt A and B in the same column? Or as different columns? Sharing a reproducible example will help.
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.
@amit-sharma
Hi Amit, I wanted to ask you if the Supported refutation methods in your library support Treatments which are classes. Example: 1 = treatment A 2 =treatment B
I used it in the following context:
And the result I get its this: Refute: Use a Placebo Treatment Estimated effect:0.0024757317973681447 New effect:-1.9585700110526786e-05 p value:0.91
Am I interpreting this correctly that this test failed because after adding a placebo effect in the treatment, the causal estimate is sign. different from the true estimate which is not expected? I wonder if this interpretation given that my treatment are classes would be correct. Can you clarify?
PS: I ran the same dataset for:
and I am getting P-values > 0.05 which tells me the model passed. Again, given that my treatment are classes, could this be actually an incorrect interpretation?