PJ-01 Trend extrapolation and time-series forecasting (exponential smoothing, autoregressive integrated moving average models, trend impact analysis)
Extend the measured history of one indicator with a stated functional form to give a central projection with prediction intervals, as a draft result.
What it does
Extends the measured historical path of an indicator using a stated functional form. Artefact: a central projection with prediction intervals; read interval width and compare with a naive no-change forecast.
When to use it
Use when you need a forward projection of a stable quantity that has a long, consistently defined history and a stated horizon.
When it does not fit
The series is short or its definition changed, the projection does not beat a naive benchmark in back-testing, no interval is stated, or the driver of the trend is reaching a limit.
Result format
The result is a central projection of the indicator with prediction intervals, based on a stated functional form. It gives the interval width and a comparison with a naive no-change forecast.
Method steps
- State what is to be forecast, over what horizon, and for what decision.
- Collect the measured series. Record gaps, changes in definition and breaks.
- Plot the series and describe its trend, seasonality and breaks before fitting anything.
- Compute a naive no-change forecast as the benchmark.
- Fit the stated form (for example exponential smoothing, a regression on time, or an autoregressive integrated moving average model). Hold back the latest observations and check the fit on them.
- Produce the central projection with prediction intervals. Compare its error with the naive benchmark on the held-back observations.
- Write the result: the projection, the interval width, the comparison with the naive forecast, and the assumption that the past pattern continues.
Steps drawn from: the basic steps of a forecasting task (problem definition, gathering information, preliminary analysis, choosing and fitting models, using and evaluating) in Hyndman and Athanasopoulos, Forecasting: principles and practice. The benchmark and interval steps follow this row's result format.
Requirements on the material
| Property | Requirement type | Requirement |
|---|---|---|
| Structure | Applies in some cases | requires=structured; requires=semi-structured |
| Content type | Always applies | requires=time series |
| Unit of analysis | Always applies | requires=variable |
| Variable types | Raises a warning | prefers=ratio; prefers=interval; prefers=counts or fractions |
| Time structure | Applies in some cases | requires=aggregate time series; requires=repeated cross-section |
| Level of detail available | Always applies | requires=aggregate tables |
| Appraises source credibility | Applies in some cases | no |
Not restricted on: How the sample was chosen, Number of sources, Whether sources can be joined, Amount of material, Known data problems, Producer interest, Source dependence, Origin, Document genre, Language, Personal information, Security classification, Licence.
| Minimum material | A series with a constant definition and enough periods to cover at least two full seasonal cycles where seasonality exists, plus a stated horizon. |
|---|---|
| Additional sources needed | none |
| Not for (rules) | none |
| Not for (text) | The series is short or its definition changed, no interval is stated, or the driver of the trend is reaching a limit. |
Choosing and ordering
| Kind of technique | Primary technique, runs in step 5.3 |
|---|---|
| Phase tag | analyse |
| Other phase tags | none |
| Kind of finding | trend; risk |
| Question answered | what next; how much |
| Strongest statement it supports | predict, without claiming a cause |
| Needs as input |
|
| Makes as output |
|
| Must exist first | None |
| Loop target | return to analyse |
Library checks by stakes
Each stakes level includes the checks of the level below it. Checks that need a person apply at high stakes only, so the process leaves them out at lower stakes (decision 38). Repeatability: deterministic.
| Stakes | Check | Person involved | Counts as a different method |
|---|---|---|---|
| exploratory | input validation | none | no |
| decision-informing | input validation | none | no |
| decision-informing | held-out validation | none | no |
| decision-informing | sensitivity analysis | none | no |
| high-stakes | input validation | none | no |
| high-stakes | held-out validation | none | no |
| high-stakes | sensitivity analysis | none | no |
| high-stakes | leakage check | none | no |
| high-stakes | second technique with different assumptions | none | conditional |
| high-stakes | assumption and limitation statement | none | no |
Failure modes and limits
| Model suitability | model plus code |
|---|---|
| Typical model failure | Extends the trend by eye or in text arithmetic and omits the prediction interval and the comparison with a naive no-change forecast. |
| Error sources | input data; statistical assumptions |
| Certainty limits | Certainty drops when back-testing does not beat a naive benchmark (indirectness), the series is short or changed definition (risk of bias), or the interval is wide (imprecision). |
Related techniques
- should follow PE-04 Data profiling and rule-based validation (data audit; data quality assessment; edit checks): a data quality report shows definition breaks and gaps in the series before it is extended
- pairs with PJ-02 Reference class forecasting (outside view, base-rate forecasting) Also serves: Compare.: base rates from similar cases test whether the extrapolated path is plausible
- pairs with PJ-07 Technology S-curve analysis (logistic growth, technology substitution curve): an S-curve fit covers the case where the trend approaches a ceiling
Evidence and tag basis
Documented. Hyndman and Athanasopoulos set out five basic steps in a forecasting task: problem definition, gathering information, preliminary exploratory analysis, choosing and fitting models, and using and evaluating the model. Their book also covers decomposition, exponential smoothing, ARIMA models and prediction intervals. (Hyndman and Athanasopoulos, Forecasting: principles and practice; reading notes on the five steps)
Tag basis: input profile inference; selection inference; sequencing inference; robustness inference. All tag values are inference unless a source is named.