Amit Sharma

Results 203 comments of Amit Sharma

It might be that identification failed for your data. Can you share the output of `print(identified_estimand)` and `print(estimate)`?

For the first, you will need to enter the two values that you want to compare (e.g., 0 and 2). If you want to compare multiple values, then you can...

Hey @JonasRSV , thanks for bringing up this example. This kind of an indirect effect graph is more commonly used for estimating causal mediation effects. Since DoWhy currently does not...

Not yet @sangyh. Can you share your causal graph and a motivating example of the effect that you want to calculate. Can work on adding it.

@samou1 Are you looking to calculate the effect of LCD on T2D? Here's a way to do it. * The *direct* effect of LCD (changing from LCD1 to LCD2) on...

@sangyh @samou1 @JonasRSV Mediation effects are now supported in DoWhy! Do try it out and share your feedback. Here's a full example [notebook](https://github.com/microsoft/dowhy/blob/master/docs/source/example_notebooks/dowhy_mediation_analysis.ipynb). **Summary** There are two new estimand types...

@sangyh yes, the estimator implements the Baron and Kenny approach. However the modeling and identification steps before it are done using Pearl's approach. So given a causal graph with mediation...

When all three are continuous variables, then the sum for each value of (BMI, G,A) becomes an integration over the same variables, weighted by the probability P(BMI, G, A). If...

We do not support selection bias currently or the selection-backdoor criterion. It should be posible to add this, perhaps in the next release.

That's a good catch, @leo-ware. Yes, the code should ideally return a ValueError rather than simply continuing. The default option sounds great. Will be great if you can implement it....