mlprep
Hard14 min·1 round

How does causal inference differ from correlation-based ML, and when does it matter?

Written by the mlprep team · Updated

Interviewer Mode
Interviewer

Your model predicts that users who receive a discount are 30% more likely to purchase. A colleague says "let's give everyone discounts." What's wrong with this reasoning? Walk me through causal inference — why observational data is tricky, and how techniques like propensity score matching and difference-in-differences help.

Ready to compare your reasoning?

The key takeaway unlocks after you reveal an expert answer.

Follow-up Questions to Test Yourself

Interviewers often pivot here once you cover the core concept.

  • What is the ignorability (unconfoundedness) assumption in propensity score methods, and how would you test whether it holds?
  • How does inverse propensity weighting (IPW) differ from propensity score matching?
  • When does optimizing an ML model on logged data create a feedback loop, and how do counterfactual methods fix it?

How confident do you feel explaining this?

Track your understanding or flag it to revisit before your next loop.

Related Questions