Prophet — Decomposable Time Series Forecasting

Econometrics
Introduced by
Taylor & Letham (Facebook/Meta)
Year
2018
Type
Decomposable (structural) time series model

What does it do?

Prophet is a decomposable time series model proposed by Taylor and Letham at Facebook/Meta in 2018.

It forecasts a continuous series as the sum of a trend, a seasonal component, and a holiday/event component plus an error term. It is described as a modular regression model with interpretable parameters that analysts can adjust using domain knowledge.

The intuition behind the method

Instead of treating a series as one tangled signal, Prophet separates it into parts that can be inspected one at a time: a trend, a repeating seasonal pattern, and a holiday or event term. Each part is a smooth curve, and the forecast is their sum. Because the pieces are kept separate, you can see how much of a forecast comes from growth and how much from the calendar.

History

Prophet was developed at Facebook (now Meta) by Sean J. Taylor and Benjamin Letham and published as 'Forecasting at Scale' in The American Statistician in 2018. The work is motivated by the difficulty of producing reliable forecasts for many business time series when analysts with time series expertise are relatively rare. The article's DOI and the OpenAlex record date the online version to 2017, while the journal volume is dated 2018.

When to use it

Choose Prophet for a single continuous time series with enough history to estimate the trend and to cover several cycles of each seasonal pattern being modelled, particularly business or operational data that show regular seasonality and calendar effects such as holidays or events. It suits analysts who want the forecast split into trend, seasonal, and event parts and who can supply domain knowledge about expected changes. Do not use it for several interrelated series that need a joint model, for causal questions about what drives the series, or for short or largely irregular series where the seasonal and calendar components have little to explain.

Limitations and considerations

  • The model is built for one univariate series; it does not model relationships between several series.
  • The displayed formula is additive. Where seasonal swings scale with the level of the series, the additive form may fit poorly, so the seasonal treatment needs checking on such data.
  • Because the trend is a flexible curve, its turning points depend on how changepoints are specified, and a poor specification can over- or under-shoot trend changes.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • The forecast is decomposed into separate trend, seasonal, and holiday/event components, so each contribution can be read directly from the formula.
  • Holiday and event effects enter as their own term, which makes calendar effects explicit rather than hidden in the trend or noise.
  • The source describes a configurable model whose parameters analysts can adjust using knowledge of the series, combined with performance analysis that flags forecasts for manual review.

Applications

  • Forecasting business series such as demand, sales, or web traffic that show seasonal patterns.
  • Capacity planning, goal setting, and anomaly detection, which the source names as forecasting tasks.
  • Planning around holidays or events where recurring calendar effects are expected to matter.

How it works

How it works

1

The observed series is written as y(t) = g(t) + s(t) + h(t) + ε_t, where g(t) is the trend, s(t) the seasonal component, h(t) the holiday or event component, and ε_t the error. The terms are added together, so each contributes separately to the forecast. The trend g(t) is a piecewise linear curve whose slope can change at a set of changepoints; a logistic growth form with a carrying capacity is also available. The seasonal term s(t) is a Fourier series, and the number of terms chosen for each period controls how smooth the seasonal shape can be. The holiday or event term h(t) gives each specified date or event its own effect, so calendar effects are kept apart from the trend and the error. The error term ε_t captures what the three components do not explain.

Formula
y(t) = g(t) + s(t) + h(t) + \varepsilon_t
2

The parameters are estimated by maximising a posterior density p(θ | y), as written in the mechanics step, so the estimate is a posterior mode (MAP). Full-posterior sampling is a separate option from the mode estimate, and whether it is available depends on the implementation. Forecast intervals depend on the uncertainty method used by that implementation, so check its documentation before interpreting interval widths.

Formula
\hat{\theta} = \arg\max_{\theta} \; p(\theta \mid y)

Common pitfalls

  • Using the additive form of the formula when seasonal swings grow with the level of the series; in that case the additive decomposition fits poorly.
  • Omitting the holiday or event calendar, so that recurring spikes are absorbed into the trend or error.
  • Extrapolating far beyond the data when the trend changepoints are poorly placed, which can produce implausible trend paths.
  • Reading the components as causal effects or treating the model as multivariate; it only decomposes one series over time.

Frequently asked questions

What does Prophet actually model?

It models a continuous series as the sum of a trend, a seasonal component, and a holiday/event component plus an error term. Each part is a smooth curve, so you can see how much of the forecast comes from each source.

When should I use multiplicative instead of additive seasonality?

The formula given for this method is additive. If the size of the seasonal swings grows with the level of the series, the additive form may fit poorly; check the implementation's documentation for whether a multiplicative seasonal option is available and how it is specified.

How does Prophet handle missing data and outliers?

Prophet fits smooth component curves to the observed values, so isolated outliers can still pull the fitted trend or seasonal shape. Check the series for gaps and unusual values before fitting, and inspect the components and the forecast afterwards.

Can Prophet forecast several related series at once?

Not as described here. The model is built for a single univariate series. For relationships between several series, consider multivariate or state space approaches, such as the state-space model and structural time series methods listed among related methods.

Related methods

Sources

  1. Taylor, S. J. & Letham, B. (2018). Forecasting at Scale. The American Statistician, 72(1), 37-45.

    Open DOI reference
  2. Taylor, S. J. & Letham, B. (2017). Prophet: Forecasting at Scale [Software]. Facebook/Meta.

    Open publication reference