crost.decomp | R Documentation |
Apply Croston's decomposition on a time series.
crost.decomp(data,init=c("naive","mean"))
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. |
demand |
Non-zero demand vector. |
interval |
Intervals vector. |
Nikolaos Kourentzes
crost
, crost.ma
.
crost.decomp(ts.data1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.