MARSS: Multivariate Autoregressive State-Space Modeling

The MARSS package provides maximum-likelihood parameter estimation for constrained and unconstrained linear multivariate autoregressive state-space (MARSS) models fit to multivariate time-series data. Fitting is primarily via an Expectation-Maximization (EM) algorithm, although fitting via the BFGS algorithm (using the optim function) is also provided. MARSS models are a class of dynamic linear model (DLM) and vector autoregressive model (VAR) model. Functions are provided for parametric and innovations bootstrapping, Kalman filtering and smoothing, bootstrap model selection criteria (AICb), confidences intervals via the Hessian approximation and via bootstrapping and calculation of auxiliary residuals for detecting outliers and shocks. The user guide shows examples of using MARSS for parameter estimation for a variety of applications, model selection, dynamic factor analysis, outlier and shock detection, and addition of covariates. Online workshops (lectures, eBook, and computer labs) at <> See the NEWS file for update information.

Version: 3.11.4
Depends: R (≥ 3.5.0)
Imports: graphics, grDevices, KFAS (≥ 1.0.1), mvtnorm, nlme, stats, utils
Suggests: broom, forecast, Formula, ggplot2, gridExtra, Hmisc, lattice, lme4, maps, Matrix, stringr, survival, tidyr, xtable, testthat
Published: 2021-12-15
Author: Elizabeth Eli Holmes, Eric J. Ward, Mark D. Scheuerell, and Kellie Wills
Maintainer: Elizabeth Holmes - NOAA Federal <eli.holmes at>
License: GPL-2
NeedsCompilation: no
Citation: MARSS citation info
Materials: NEWS
In views: TimeSeries
CRAN checks: MARSS results


Reference manual: MARSS.pdf
Vignettes: EM Derivation
Quick Start Guide
User Guide


Package source: MARSS_3.11.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): MARSS_3.11.4.tgz, r-release (x86_64): MARSS_3.11.4.tgz, r-oldrel: MARSS_3.11.4.tgz
Old sources: MARSS archive

Reverse dependencies:

Reverse suggests: freqdom, freqdom.fda


Please use the canonical form to link to this page.