expsmooth

CRAN_Status_Badge Downloads Licence

An R package containing data from the book “Forecasting with Exponential Smoothing: The State Space Approach” by Hyndman, Koehler, Ord and Snyder (Springer, 2008).

Cover of the book Forecasting with Exponential Smoothing: The State Space Approach

Installation

You can install the released version from CRAN:

install.packages("expsmooth")

or the development version from GitHub:

# install.packages("pak")
pak::pak("robjhyndman/expsmooth")

Example

Loading the package also loads the forecast package, which can be used to fit exponential smoothing state space models to the data.

library(expsmooth)
fit <- ets(visitors)
autoplot(forecast(fit))