how to use the function of estimate_effect of CausalModel class?
cyrilmyself opened this issue · comments
Ask your question
I tried the example of dowhy_causal_discovery_example, when i use estimate_effect function to estimate the effect as below:
what is the meaning of control_value and treatment_value,in the above picture,does it mean if we lift the mpg from 0 to 1, how much will the weight lift?
but in the data of auto-mpg,it does not have the sample whose mpg equals 0 or 1. So how does the function of estimate_effect work?
Expected behavior
If applicable, a clear and concise description of what you expected to happen.
Version information:
- DoWhy version [e.g. 0.7]
Additional context
Add any other context about the problem here.
Is there someone who can help me?
if we lift the mpg from 0 to 1, how much will the weight lift?
@cyrilmyself your understanding is correct. Such a value may not be present in the dataset but it is still a valid causal question to ask. For this dataset though, it may make more sense to ask about change in mpg values closer to the dataset distribution.
@amit-sharma thank you very much,it helps me a lot
This issue is stale because it has been open for 14 days with no activity.