Skip to content
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

Update dowhy_mediation_analysis.ipynb #498

Merged
merged 2 commits into from
Jul 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/source/example_notebooks/dowhy_mediation_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"outputs": [],
"source": [
"import dowhy.causal_estimators.linear_regression_estimator\n",
"causal_estimate_nde = model.estimate_effect(identified_estimand_nie,\n",
"causal_estimate_nie = model.estimate_effect(identified_estimand_nie,\n",
" method_name=\"mediation.two_stage_regression\",\n",
" confidence_intervals=False,\n",
" test_significance=False,\n",
Expand All @@ -137,7 +137,7 @@
" 'second_stage_model': dowhy.causal_estimators.linear_regression_estimator.LinearRegressionEstimator\n",
" }\n",
" )\n",
"print(causal_estimate_nde)"
"print(causal_estimate_nie)"
]
},
{
Expand Down Expand Up @@ -172,7 +172,7 @@
"metadata": {},
"outputs": [],
"source": [
"causal_estimate_nie = model.estimate_effect(identified_estimand_nde,\n",
"causal_estimate_nde = model.estimate_effect(identified_estimand_nde,\n",
" method_name=\"mediation.two_stage_regression\",\n",
" confidence_intervals=False,\n",
" test_significance=False,\n",
Expand All @@ -181,7 +181,7 @@
" 'second_stage_model': dowhy.causal_estimators.linear_regression_estimator.LinearRegressionEstimator\n",
" }\n",
" )\n",
"print(causal_estimate_nie)"
"print(causal_estimate_nde)"
]
},
{
Expand Down