Skip to content
/ smooth Public

❗ This is a read-only mirror of the CRAN R package repository. smooth — Forecasting Using State Space Models. Homepage: https://github.com/config-i1/smooth Report bugs for this package: https://github.com/config-i1/smooth/issues

Notifications You must be signed in to change notification settings

cran/smooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smooth

R:

CRAN_Status_Badge Downloads R-CMD-check

Python:

The smooth package implements Single Source of Error (SSOE) state-space models for forecasting and time series analysis, available for both R and Python.

hex-sticker of the smooth package for R

Installation

R (CRAN):

install.packages("smooth")

R (github):

if (!require("remotes")) install.packages("remotes")
remotes::install_github("config-i1/smooth")

Python (PyPI):

# Not yet available

Python (github):

pip install "git+https://github.com/config-i1/smooth.git@master#subdirectory=python"

For development versions and system requirements, see the Installation wiki page.

Quick Examples

R

library(smooth)

# ADAM - the recommended function for most tasks
model <- adam(y, model="ZXZ", lags=12)
forecast(model, h=12)

# Exponential Smoothing
model <- es(y, model="ZXZ", lags=12)

# Automatic model selection for ETS+ARIMA and distributions
model <- auto.adam(y, model="ZZZ",
                   orders=list(ar=2, i=2, ma=2, select=TRUE))

Python

from smooth import ADAM, ES

# ADAM model
model = ADAM(model="ZXZ", lags=12)
model.fit(y)
model.predict(h=12)

# Exponential Smoothing
model = ES(model="ZXZ")
model.fit(y)

Documentation

Full documentation is available on the GitHub Wiki, including:

Book: Svetunkov, I. (2023). Forecasting and Analytics with the Augmented Dynamic Adaptive Model (ADAM). Chapman and Hall/CRC. Online: https://openforecast.org/adam/

About

❗ This is a read-only mirror of the CRAN R package repository. smooth — Forecasting Using State Space Models. Homepage: https://github.com/config-i1/smooth Report bugs for this package: https://github.com/config-i1/smooth/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages