Causal Inference interview question

Data ScienceCausal Inferencemedium

A bank automatically offers a premium card to customers with an internal score of 700 or higher. You compare customers just above and just below 700 to estimate the offer's effect on spend. Which statement about this regression discontinuity design is correct?

  1. AIt estimates a local effect for customers near a score of 700, and it relies on customers and staff being unable to precisely manipulate scores around that cutoff.
  2. BIt estimates the average effect for all customers, because the score is fully observed, so the fitted lines on either side of 700 can be extrapolated over the full range.
  3. CIt requires the score to be independent of spend, because any relationship between the running variable and the outcome would bias the jump estimated at the cutoff.
  4. DIt requires equal numbers of customers on both sides of 700, because an imbalance in counts near the cutoff means the slopes fitted on each side of 700 are biased.
Show the answer and explanation

Correct answer: A, It estimates a local effect for customers near a score of 700, and it relies on customers and staff being unable to precisely manipulate scores around that cutoff.

Explanation Causal Inference

Regression discontinuity (RD) exploits a rule that assigns treatment by a cutoff on a running variable (score ≥ 700). Customers at 699 and 701 are essentially identical, so the jump in the outcome at the cutoff estimates the causal effect, as if treatment were randomized in a narrow window.

Key properties:

  • Local estimate: the effect near 700; customers at 550 or 850 may respond differently.
  • Continuity assumption: expected spend with and without the offer changes smoothly through 700, so any jump there comes from the offer. The score usually does relate to spend; RD fits that relationship on each side and measures the jump.
  • No precise manipulation: if customers or staff can push scores just over 700, units above and below are no longer comparable.

Standard checks:

CheckPurpose
Density of the running variable (McCrary test)bunching just above the cutoff suggests manipulation
Covariate balance at the cutoffpre-treatment traits should not jump
Different bandwidths and polynomial ordersrobustness of the estimate
Placebo cutoffs (e.g. 650, 750)no jump expected there

Why the distractors fail: extrapolating to the full range defeats the design. Independence of score and spend is not required. Equal counts are not required; the density test looks for a jump in density, not for equal counts.

For the offer itself this is a sharp RD. For the effect of holding the card, which not everyone accepts, use a fuzzy RD: divide the jump in spend by the jump in uptake (the cutoff is the instrument) to get a local effect for compliers at 700.

Interview tip: business rules with thresholds (credit limits, loyalty tiers, free-shipping minimums) are natural RD opportunities; point them out when randomization is impossible.

Practice it as a quiz

Answer this and the other free questions with instant grading, streaks and weak-topic tracking, or unlock all 4,000 questions.

More Data Science questions

  1. An online grocer's eight baskets in a pilot region have values 12, 15, 18, 22, 30, 41, 55 and 1,007. In PostgreSQL, what do PERCENTILE_CONT(0.5) WITHIN GROUP…
  2. What is an A/B test (an online controlled experiment)?
  3. In product analytics, what is meant by a north star metric?
  4. In a query that uses GROUP BY, how does the WHERE clause differ from the HAVING clause?
  5. In Python, what is the main difference between a list and a tuple?