Bayesian ARMA Model

Econometrics
Introduced by
Box & Jenkins (classical ARMA); Bayesian treatment developed through work of Zellner, Geweke, and others in 1970s–1980s
Year
1970s–1980s
Type
Bayesian time series model
Family
Econometrics / time series

What does it do?

The Bayesian ARMA model applies Bayesian inference to the autoregressive moving average framework for stationary univariate time series.

Instead of point estimates for the AR and MA parameters, it yields posterior distributions that combine prior information with the observed data. Forecasts are therefore probabilistic, with bands that reflect uncertainty in the parameters as well as in the shocks.

The intuition behind the method

An ARMA model says that the current value of a series depends on its own recent past (the AR part) and on recent shocks (the MA part). The Bayesian version places a prior distribution on those coefficients and on the error variance, then updates that prior with the data to produce a posterior distribution. The result is a set of plausible parameter values rather than one best estimate, and forecast intervals built from that set reflect how uncertain the parameters themselves are.

History

The classical ARMA framework for stationary series is presented in Box, Jenkins, Reinsel and Ljung (2015). Bayesian estimation of ARMA models developed later than the classical framework. Posterior inference for non-conjugate ARMA models became practical with MCMC methods.

When to use it

Choose Bayesian ARMA for a univariate series that is stationary, or that has been differenced to stationarity, when you want posterior distributions and credible intervals instead of point estimates and asymptotic confidence intervals. It is most useful when the sample is short and you have defensible prior information about coefficient size or sign, or when parameter uncertainty must be carried into forecasts and scenario analysis. It is also suited to comparing candidate ARMA orders through marginal likelihoods or WAIC. Do not use it on a series with a unit root without differencing, or switch to the related Bayesian ARIMA model for that case. When there are many series or the sample is long, the cost of MCMC may make a classical ARMA or a Bayesian VAR more practical.

Limitations and considerations

  • MCMC sampling for ARMA posteriors can be slow for long series or high orders, because each likelihood evaluation requires a full filter pass through the data.
  • When the sample is small, the posterior can be dominated by the prior, so conclusions depend materially on the prior choice.
  • The model assumes stationarity: the AR polynomial must lie in the stationarity region and the MA polynomial in the invertibility region, and the sampler has to respect both constraints.
  • Averaging over the AR and MA orders requires model averaging or reversible-jump MCMC, which is harder to implement than classical information-criteria selection.

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

Strengths

  • Gives full posterior distributions for φ, θ and σ², so credible intervals are read directly from the posterior rather than from asymptotic approximations.
  • Carries parameter uncertainty into multi-step forecasts, so prediction bands reflect both shock uncertainty and uncertainty in the estimated coefficients.
  • Lets prior information about coefficient size, or about the stationarity of the AR part, enter the estimation explicitly.
  • With short samples, the prior regularises AR and MA estimates that maximum likelihood may leave poorly determined.
  • Supports formal comparison of ARMA orders through marginal likelihoods or WAIC.

Applications

  • Macroeconomic forecasting with uncertainty bands for series such as GDP growth, inflation or unemployment.
  • Financial return modelling where short samples or regime uncertainty favour Bayesian shrinkage.
  • Energy and commodity price forecasting with informative priors drawn from market fundamentals.
  • Environmental and climate time series where data are sparse and prior knowledge can be encoded.
  • Comparing competing ARMA specifications via Bayes factors to select the most parsimonious model.

How it works

How it works

1

The model writes y_t as a constant plus a linear combination of p lagged values of the series and q lagged error terms. The orders p and q can be chosen beforehand with information criteria such as AIC or BIC, or treated as unknown and handled in a Bayesian model-selection step.

Formula
y_t = \mu + \sum_{i=1}^{p}\phi_i y_{t-i} + \varepsilon_t + \sum_{j=1}^{q}\theta_j \varepsilon_{t-j}
2

Priors are placed on the AR coefficients φ, the MA coefficients θ, and the error variance σ². Normal priors centred at zero are a common choice for φ and θ, which pulls coefficients toward zero and favours simpler models. An inverse-gamma prior is a standard choice for σ².

Formula
p(\phi, \theta, \sigma^2)
3

The Gaussian likelihood of the observed series, conditional on the parameters, is evaluated. It assumes that the shocks ε_t are independent and normally distributed with variance σ². For the MA component this is usually done with the Kalman filter or with a conditional-likelihood approximation, because the MA terms depend on past errors that are not observed directly. If residual diagnostics show heavy tails or outliers, the Gaussian assumption should be questioned before results are reported.

Formula
p(y \mid \phi, \theta, \sigma^2)
4

By Bayes' theorem, the posterior is proportional to the likelihood times the prior. For ARMA models this posterior generally has no closed form, so it is explored with MCMC methods such as Gibbs sampling or Metropolis-Hastings, or approximated with variational inference.

Formula
p(\phi, \theta, \sigma^2 \mid y) \propto p(y \mid \phi, \theta, \sigma^2)\, p(\phi, \theta, \sigma^2)
5

Posterior draws are summarised as posterior means and credible intervals for each parameter. Forecasts are obtained by averaging the predictive distribution over the parameter draws, so each forecast horizon receives a probabilistic band rather than a single path. Before reporting results, refit the model under alternative prior scales and check that the conclusions do not change materially. Posterior predictive checks compare series simulated from the fitted model with the observed data, for example in terms of variance and autocorrelation. A Bayes factor compares the marginal likelihoods of two candidate ARMA orders, and a WAIC difference should be judged relative to its standard error.

Common pitfalls

  • Fitting the model without first testing for a unit root (for example with an ADF or KPSS test). If the series is non-stationary, the AR roots and the resulting posterior are misleading.
  • Placing flat priors on the MA coefficients without restricting θ to the invertibility region. The likelihood is unchanged when an MA root is reflected across the unit circle, so the posterior can have more than one mode.
  • Skipping MCMC convergence checks such as R-hat and effective sample size. Poor mixing produces unreliable posterior summaries.
  • Reading a posterior credible interval as a frequentist confidence interval, or the reverse, when reporting results.
  • Fixing the ARMA order from a classical AIC search and then treating it as known in the Bayesian step, which ignores order uncertainty.

Frequently asked questions

How is a Bayesian ARMA different from classical ARMA?

Classical ARMA uses maximum likelihood to obtain point estimates. Bayesian ARMA places priors on the parameters and updates them with the data to produce full posterior distributions. This yields credible intervals and probabilistic forecasts that account for parameter uncertainty, not just sampling variability.

What priors should I choose for the AR and MA coefficients?

A common choice is independent Normal(0, σ_prior²) priors centred at zero, which shrinks coefficients toward zero and implicitly favours parsimony. For AR parameters, priors can be truncated to the stationarity region. Inverse-gamma priors are standard for the error variance.

Do I need to difference the series before fitting a Bayesian ARMA?

Yes. Bayesian ARMA assumes stationarity. If unit-root tests indicate non-stationarity, difference the series, or use a Bayesian ARIMA that includes the differencing order d, before estimation.

How do I choose the AR order p and MA order q in a Bayesian framework?

You can use information criteria on the classical model as a starting guide, or perform formal Bayesian model comparison via marginal likelihoods (for example, computed by bridge sampling) or WAIC across candidate orders. Bayesian model averaging can also integrate over order uncertainty, but it requires reversible-jump MCMC or a comparable method, which is harder to implement.

How many MCMC iterations are needed?

Run the chains long enough for the sampler to explore the posterior, discard the early warm-up draws, and check convergence with standard diagnostics such as R-hat and effective sample size before reporting summaries. The number of iterations needed depends on the model and the data, so no single fixed count applies.

Related methods

Sources

  1. Geweke, J., & Meese, R. (1981). Estimating regression models of finite but unknown order. International Economic Review, 22(1), 55–70.

    Open publication reference
  2. Box, G. E. P., Jenkins, G. M., Reinsel, G. C., & Ljung, G. M. (2015). Time Series Analysis: Forecasting and Control (5th ed.). Wiley.

    ISBN: 978-1118675021