Forecasting and Time-Series Analysis Questions

Analyzing and projecting data that moves over time. Covers trend and seasonality decomposition, forecasting approaches, demand modeling, and anomaly detection on time series. Emphasizes reasoning about baselines, drivers, and forecast reliability.

HardTechnical
51 practiced

You inherit an ensemble of forecasting models but the ensemble's prediction intervals are overconfident and too narrow, which has caused inventory shortages. Describe a diagnostic approach to identify why intervals are too narrow, methods to recalibrate intervals (for example variance inflation, isotonic regression on quantile predictions, or re-training quantile regressors), and how to implement a permanent fix and monitoring to prevent recurrence.

HardTechnical
58 practiced

You need to reduce inference cost and latency for serving demand forecasts across thousands of zones. Propose model compression and optimization techniques (quantization, pruning, knowledge distillation, batching), and describe how each affects accuracy, memory, and CPU/GPU utilization.

HardTechnical
56 practiced

Describe how to build a Bayesian Structural Time Series (BSTS) model to measure the causal impact of a marketing intervention. Discuss prior selection, model components (trend, seasonality, regression terms), MCMC sampling concerns, convergence diagnostics (R-hat, ESS), and interpretation of posterior intervals. Provide an outline of code you would write with PyMC3 or PyStan and discuss computational trade-offs.

HardSystem Design
62 practiced

Architect a low-latency forecasting service that must serve per-zone 15-minute demand predictions on request for 10k zones with 500 QPS and 100ms p95 latency. Describe overall architecture (model store, feature store, online features, caching), how you would serve batched predictions, and strategies for availability and rollback.

MediumTechnical
62 practiced

Define Exponentially Weighted Moving Average (EWMA) and provide the recursive update formula. Explain how the smoothing factor alpha controls responsiveness versus noise reduction and give an example heuristic for choosing alpha when you want to detect a sudden 10% drop in conversion rate.

Unlock Full Question Bank

Get access to all Forecasting and Time-Series Analysis interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.