How would you develop a model to predict the long-term impact of a marketing campaign using survival analysis?
Instruction: Outline the steps, including data requirements, model selection, and evaluation metrics.
Updated
Official answer
Define the event, time origin and horizon, such as time from campaign assignment to a repeat purchase. Record eligibility, assignment or exposure, event time and observation end. A customer without a purchase by the cutoff is right-censored, not known never to purchase.
To estimate campaign impact, prefer an appropriate randomized holdout and analyze the assigned comparison. An observational model needs a justified confounding strategy; a campaign coefficient in a survival model is not automatically causal. Avoid immortal-time bias when exposure starts after follow-up begins.
Use Kaplan–Meier summaries or suitable regression according to the question. Check Cox proportional-hazards assumptions; alternatives include time-varying effects or justified parametric models. A hazard ratio is not a risk ratio or a constant time difference. Consider competing events and recurrent purchases when relevant.
Validate on later cohorts using censoring-aware calibration and prediction scores at supported horizons. Report survival-probability differences or restricted mean time over a prespecified horizon where appropriate. Extrapolation beyond observed follow-up depends strongly on assumptions; short follow-up cannot establish long-term campaign benefit by itself.