How are time series problems different from other regression problems?

Quick Overview

Asks how time series problems differ from ordinary regression problems, in both modeling and evaluation. It tests your grasp of dependence between observations, validation that respects time order, trend and seasonality, and leakage in time-based features.

How are time series problems different from other regression problems?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

How are time series problems different from other regression problems? Consider both how you build the model and how you evaluate it. ```hint Start from the assumptions List what ordinary regression assumes about its rows, then check which of those assumptions fail when the rows are consecutive days of the same series. ``` ```hint Validation Think about what a random k-fold split would let the model see during training when it is scored on a given day. ``` ### What a Strong Answer Covers - Dependence between observations and what it does to the i.i.d. assumption, to standard errors and to model choice - Validation that respects time order, and why random k-fold overstates accuracy - Trend, seasonality and stationarity, and how each is handled - Leakage through features such as lags, rolling windows and exogenous inputs that are not known at prediction time - Forecast-specific concerns such as the horizon, naive baselines and uncertainty that grows with the horizon ### Follow-up Questions - Why can regressing one trending series on another give a high R-squared when the two are unrelated? - How would you set up cross-validation for a model that forecasts 14 days ahead? - When would you use a gradient-boosted model with lag features instead of ARIMA, and what does the tree model struggle with?

Overview: Asks how time series problems differ from ordinary regression problems, in both modeling and evaluation. It tests your grasp of dependence between observations, validation that respects time order, trend and seasonality, and leakage in time-based features.

Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

How are time series problems different from other regression problems? Consider both how you build the model and how you evaluate it.

What a Strong Answer Covers Guidance

  • Dependence between observations and what it does to the i.i.d. assumption, to standard errors and to model choice
  • Validation that respects time order, and why random k-fold overstates accuracy
  • Trend, seasonality and stationarity, and how each is handled
  • Leakage through features such as lags, rolling windows and exogenous inputs that are not known at prediction time
  • Forecast-specific concerns such as the horizon, naive baselines and uncertainty that grows with the horizon

Follow-up Questions Guidance

  • Why can regressing one trending series on another give a high R-squared when the two are unrelated?
  • How would you set up cross-validation for a model that forecasts 14 days ahead?
  • When would you use a gradient-boosted model with lag features instead of ARIMA, and what does the tree model struggle with?