Problem
A customer service team tracks call waiting time. Hiring more agents lowers it, but the business case needs to know how much a shorter wait cuts customer churn, and whether that saving pays for the extra staff. A plain regression misleads here. Waiting time also affects churn indirectly, through abandoned calls, reported problems and discounts sent, and a regression coefficient captures only the direct part.
Example from the article: a call centre where the data science team must size the churn effect of a 20% cut in call waiting time, using daily data on demand, waiting time, abandoned calls, reported problems, discounts sent and churn.
Solution in brief
Draw a causal graph from domain knowledge, then fit one model per node using only its direct parents as features. The fitted structural causal model (SCM) lets you rerun history with waiting time reduced by 20% and read off the change in churn, including the indirect paths.
Questions this case answers
- How to estimate the total effect of changing an operational metric on a downstream outcome from observational data when the metric acts through several intermediate variables and no experiment is possible
- How to estimate what would happen to churn if a service KPI such as call waiting time were reduced by 20%?
- How to answer a what-if business question from observational data when the KPI also affects the outcome through other variables?
- How to check that a causal-graph model beats a plain regression before using it for a business case?
Tools and methods
- Causal graph (DAG) — nodes are variables, edges link causally related ones; built from expert knowledge here
- Structural causal model (SCM) — one regression per node on its parents, with an additive noise term
- DoWhy
gcmmodule — fits the SCM and computes counterfactual samples - Ridge regression — the baseline the SCM is compared with
- NetworkX — holds the graph built from an adjacency matrix
Google or a one-time email code. No password.