Skip to main content
Use an intervention explanation when someone asks:
Which inputs could meaningfully change this forecast?
TimeGPT replaces one input at a time with its typical historical value and runs the forecast again. The difference shows how sensitive the model is to that input.

Retail-demand example

We use the same store example as the SHAP guide: 365 days of demand, price, promotion, and temperature, followed by a 14-day forecast.

Run the sensitivity analysis

Select the intervention explanation when making the forecast:
For numerical inputs, TimeGPT uses the historical average as the typical value. For categorical inputs, it uses the most common historical value.
Intervention shows how the model responds when an input is replaced, which doesn’t necessarily translate to how the real world would respond. Treat it as a starting point for investigation, not a causal estimate.

Summarize the promotion period

The future data contains a seven-day promotion. Average the sensitivity values over those days:
During the promotion period:
  • The observed promotion raises the model forecast by about one unit compared with a typical promotion value.
  • The observed price lowers it by about one unit compared with the store’s historical average price.
  • The observed temperature lowers it by about 0.63 units compared with the historical average temperature.

See how sensitivity changes by day

A line chart showing daily forecast sensitivity to price, promotion, and temperature

Each line shows the difference between the observed-input forecast and the forecast with that input set to its typical value. Results were generated with TimeGPT 2.1.

The model’s sensitivity is not constant. Price has a larger effect on some days, while promotion stays positive throughout the planned promotion period. This is why the daily result is often more useful than a single overall average.

When to use intervention

Intervention explanations are helpful when:
  • A forecast changes after new price, weather, or campaign information arrives.
  • You want to compare the model forecast with a familiar historical reference.
  • You need to identify forecast inputs worth reviewing with a domain expert.

Next