From fd33dab0da815f540a1bedc236dc6b41db14cb82 Mon Sep 17 00:00:00 2001 From: Michael Beale Date: Fri, 27 Dec 2024 06:10:37 -0500 Subject: [PATCH] Update backdoor.rst method_name is the correct parameter name Signed-off-by: Michael Beale --- .../identifying_causal_effect/backdoor.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/user_guide/causal_tasks/estimating_causal_effects/identifying_causal_effect/backdoor.rst b/docs/source/user_guide/causal_tasks/estimating_causal_effects/identifying_causal_effect/backdoor.rst index 622a9c2f46..01f60ef271 100644 --- a/docs/source/user_guide/causal_tasks/estimating_causal_effects/identifying_causal_effect/backdoor.rst +++ b/docs/source/user_guide/causal_tasks/estimating_causal_effects/identifying_causal_effect/backdoor.rst @@ -16,7 +16,7 @@ The above code uses a default backdoor adjustment. There are four basic kinds of To use a specific kind of backdoor adjustment, we can use the `method` argument. ->>> identified_estimand = model.identify_effect(method="maximal-adjustment") +>>> identified_estimand = model.identify_effect(method_name="maximal-adjustment") Note that the `identify_effect` method is a convenience method that also searches for other kinds of identification. The following is an equivalent call using the functional API.