Estimating the effect of Side-Quest Engagement on In-Game Purchases requires more than a predictive relationship: identify_effect derives candidate causal estimands from the DAG, observed variables, and causal query. section 11.3
After a CausalModel is constructed from a pandas DataFrame, treatment, outcome, and graph, model.identify_effect() returns an IdentifiedEstimand containing available estimands and their assumptions. section 11.3
The method can expose several identification strategies:
- Backdoor adjustment using Player Skill Level, Guild Membership, and Time Spent Playing. section 11.3
- Front-door adjustment using Won Items as a mediator. section 11.3
- Instrumental-variable estimands using Side-Quest Group Assignment and Customization Level. section 11.3
Run identification
identified_estimand = model.identify_effect()\nprint(identified_estimand) section 11.3
Listing 11.4 Run identification in DoWhy
identified_estimand = model.identify_effect() #1 print(identified_estimand)
Use the listing to inspect the direct DoWhy call that performs identification after model construction. section 11.3
