dowhy icon indicating copy to clipboard operation
dowhy copied to clipboard

Include conditional effects, p-value and confidence intervals for DML

Open juandavidgutier opened this issue 4 years ago • 4 comments

@amit-sharma Is it possible to include in the next version the conditional effects, p-value and confidence intervals for double machine learning, please?

juandavidgutier avatar Oct 20 '21 11:10 juandavidgutier

Those are already supported :) Check out this notebook and look for the subsection, "CATE objects and confidence intervals", https://github.com/microsoft/dowhy/blob/master/docs/source/example_notebooks/dowhy-conditional-treatment-effects.ipynb

Does this work for you?

amit-sharma avatar Oct 21 '21 12:10 amit-sharma

@amit-sharma Thanks for the info, and it's just what I needed. Additionally, I have a new question about if it is possible to obtain the individual treatment effect with DML?

juandavidgutier avatar Oct 21 '21 14:10 juandavidgutier

@amit-sharma I follow the example in https://github.com/microsoft/dowhy/blob/master/docs/source/example_notebooks/dowhy-conditional-treatment-effects.ipynb, and I find that the confidence interval is a tuple with 2 arrays each one with10,000 data that I guess corresponds to the lower and upper limits of the confidence interval for the effect estimates. However, I want to obtain the confidence interval for the mean value, How I can get it?

juandavidgutier avatar Oct 22 '21 11:10 juandavidgutier

How about estimator.effect_inference(X).population_summary()?

EgorKraevTransferwise avatar Jan 13 '22 16:01 EgorKraevTransferwise