-
Notifications
You must be signed in to change notification settings - Fork 932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
returning array([0.]) for p value of test_significance #1019
Comments
Can you post a minimum working example so we can reproduce the bug? |
Thank you! Do you think this is enough? `from sklearn import preprocessing #perform label encoding from dowhy import CausalModel model=CausalModel( estimands = model.identify_effect() estimate = model.estimate_effect(estimands,method_name="backdoor.linear_regression", estimate.test_stat_significance()` |
@amit-sharma It constantly returns {'p_value': array([0.])} to me. |
I see, it may be due to the dataset too. To reproduce the error, I will need the data too. Can you share the tmp_clean dataframe? If that is not possible, please share a simulated dataset that reproduces the problem. |
Hi,
I used estimate.test_stat_significance() to see if the effect is significantly not close to 0, and it returns non-meaningful result as belows:
{'p_value': array([0.])}
What does it mean? is there anything wrong?
The text was updated successfully, but these errors were encountered: