Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ stR Public

❗ This is a read-only mirror of the CRAN R package repository. stR — Seasonal Trend Decomposition Using Regression. Homepage: https://pkg.robjhyndman.com/stR/https://github.com/robjhyndman/stR Report bugs for this package: https://github.com/robjhyndman/stR/issues

Notifications You must be signed in to change notification settings

cran/stR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stR

CRAN status R-CMD-check Downloads

The goal of stR is to provide two methods for decomposing seasonal data: STR (a Seasonal-Trend decomposition procedure based on Regression) and Robust STR. In some ways, STR is similar to Ridge Regression and Robust STR can be related to LASSO. They allow for multiple seasonal components, multiple linear covariates with constant, flexible and seasonal influence. Seasonal patterns (for both seasonal components and seasonal covariates) can be fractional and flexible over time; moreover they can be either strictly periodic or have a more complex topology. The methods provide confidence intervals for the estimated components. The methods can also be used for forecasting.

Installation

You can install the release version from CRAN.

install.packages('stR')

You can install the development version from GitHub.

# install.packages("remotes")
devtools::install_github("robjhyndman/stR")

Example

For most users, the AutoSTR() function will be the preferred way of using the package.

library(stR)
# Decomposition of a multiple seasonal time series
decomp <- AutoSTR(calls)
plot(decomp)

# Decomposition of a monthly time series
decomp <- AutoSTR(log(grocery))
plot(decomp)

See the vignette for more advanced options.

About

❗ This is a read-only mirror of the CRAN R package repository. stR — Seasonal Trend Decomposition Using Regression. Homepage: https://pkg.robjhyndman.com/stR/https://github.com/robjhyndman/stR Report bugs for this package: https://github.com/robjhyndman/stR/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages