MLCrack

    TIME SERIES & FORECASTING · INTERVIEW QUESTION

    Why are exogenous regressors risky in production forecasting?

    🔴 advanced · Features · Exogenous

    Hint: Focus on the decision rule, assumptions, and failure mode behind features · exogenous.

    Answer

    External variables help only if they are known or reliably forecast at prediction time.

    Interview reasoning

    Future regressors must be known or forecast at the prediction origin. Historical realized weather cannot stand in for a weather forecast.

    The availability of a future regressor must be established at the prediction origin. Calendars differ from weather, traffic and campaign outcomes that need forecasts themselves. Replay upstream forecast vintages and propagate realistic errors; their uncertainty can be especially large on the downstream model's hardest periods.

    Worked example. A demand model tested with realized temperature 30 should instead use today's issued forecast of 27 for tomorrow, then measure the resulting demand error.

    Validation

    Replay issued upstream forecasts and provider outages at every horizon.

    Version issuance timestamps and providers, test missing updates, and compare realistic covariate errors with an oracle diagnostic.

    Common pitfalls

    Calendar availability and future observed covariates are not interchangeable.

    Oracle future covariates are an unattainable benchmark. A silently stale value needs explicit fallback handling and freshness monitoring.

    Likely follow-up: Replay issued upstream forecasts and provider outages at every horizon.