What is changepoint detection, and how do approaches like CUSUM or structural break tests work conceptually?

Quick Overview

Asks what changepoint detection is in time series analysis and how CUSUM and structural break tests such as the Chow test work conceptually. Tests your understanding of online versus offline detection, unknown break dates, segmentation penalties, and the trade-off between fast detection and false alarms.

What is changepoint detection, and how do approaches like CUSUM or structural break tests work conceptually?

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Other

What is changepoint detection, and how do approaches like `CUSUM` or structural break tests work conceptually? ```hint What accumulates Think about what happens to a running sum of deviations from the expected mean before and after a small, persistent shift. ``` ```hint Known versus unknown dates Ask how a test has to change when the break date is searched for in the data instead of fixed in advance. ``` ### What a Strong Answer Covers - A definition of a changepoint that says which properties of a series can change, and the difference between offline and online detection. - How CUSUM accumulates evidence, what its tuning parameters control, and what kind of shift it detects well. - How a structural break test compares model fits before and after a candidate date, and what changes when the date is unknown. - How penalized or segmentation methods handle several changepoints. - The trade-off between detection delay and false alarms, and the assumptions (such as independent noise) the methods rely on. ### Follow-up Questions - How would autocorrelation or weekly seasonality in the series affect CUSUM alarms, and what would you do about it? - How would you set the CUSUM threshold for a metric where every false alarm pages an on-call engineer? - How would you detect a change in variance instead of a change in mean? - After an alarm fires, how would you estimate when the change actually started?

Overview: Asks what changepoint detection is in time series analysis and how CUSUM and structural break tests such as the Chow test work conceptually. Tests your understanding of online versus offline detection, unknown break dates, segmentation penalties, and the trade-off between fast detection and false alarms.

General logo
General
Nov 25, 2026
hardData ScientistOtherStatistics & Math
0
0

What is changepoint detection, and how do approaches like CUSUM or structural break tests work conceptually?

What a Strong Answer Covers Guidance

  • A definition of a changepoint that says which properties of a series can change, and the difference between offline and online detection.
  • How CUSUM accumulates evidence, what its tuning parameters control, and what kind of shift it detects well.
  • How a structural break test compares model fits before and after a candidate date, and what changes when the date is unknown.
  • How penalized or segmentation methods handle several changepoints.
  • The trade-off between detection delay and false alarms, and the assumptions (such as independent noise) the methods rely on.

Follow-up Questions Guidance

  • How would autocorrelation or weekly seasonality in the series affect CUSUM alarms, and what would you do about it?
  • How would you set the CUSUM threshold for a metric where every false alarm pages an on-call engineer?
  • How would you detect a change in variance instead of a change in mean?
  • After an alarm fires, how would you estimate when the change actually started?