Description Usage Arguments Value Examples
BaggedClusterETS method
1 2 3 | baggedClusterETS(y, cores = detectCores() - 1, nclusters = 5,
distance = "EUCL", silhouette = F, h_pseudo = NULL,
boot_samples = 1000, ...)
|
y |
a time series |
cores |
(optional) number of cores used to do the calculations |
nclusters |
(optional) number of clusters used. If not selected it uses the Silhouette method to define it |
distance |
distance function used to create the clusters. Default is the Euclidian distance but one can choose among many from the TSclust package |
silhouette |
If TRUE the method performs the Silhouette method and ignores the nclusters selection |
h_pseudo |
number of observations to the validation set that will be used to select the best series |
boot_samples |
number of bootstrap series generated to perform the cluster phase |
... |
other parameters that affect the ETS estimation |
a list with several elements such as the generated bootstrapped series, fitted method to each of the bootstrapped series and so on
1 2 3 4 5 | ## Not run:
model <- baggedCLusterETS(gas)
plot(forecast(model))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.