crost.decomp: Croston's decomposition

Description Usage Arguments Value Author(s) See Also Examples

View source: R/crost.decomp.R

Description

Apply Croston's decomposition on a time series.

Usage

1
crost.decomp(data,init=c("naive","mean"))

Arguments

data

Intermittent demand time series.

init

Initial values for intervals. This can be: 1. x - Numerical value; 2. "naive" - Initial interval is the first interval from start of time series; 3. "mean" - Initial interval is the mean of all in sample intervals.

Value

demand

Non-zero demand vector.

interval

Intervals vector.

Author(s)

Nikolaos Kourentzes

See Also

crost, crost.ma.

Examples

1


tsintermittent documentation built on May 19, 2017, 1:32 p.m.
Search within the tsintermittent package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.