Description Usage Arguments Value Author(s) Examples
Default Cross-validation control
1 2 3 4 5 | cvForecastControl(stepSize = 1, maxHorizon = 1, minObs = 7,
fixedWindow = TRUE, summaryFunc = tsSummary, preProcess = FALSE,
ppMethod = "guerrero", cvMethod = "MAPE", tsfrequency = "month",
OutlierClean = TRUE, residlevel = 0.1,
dateformat = "%d/%m/%Y %H:%M:%S")
|
stepSize |
size step for the cross-validation samples |
maxHorizon |
forecasting horizon |
minObs |
minumum number of observation. Default is two times cycle of data |
fixedWindow |
keep fixed the sampling window, default is TRUE |
summaryFunc |
extra function to compute statistics of the model |
preProcess |
if TRUE does Box-Cox data transformation in to the data |
ppMethod |
if 'preProcess' is TRUE make 'guerrero' or 'loglik' tranformation. See |
cvMethod |
accuracy method for best model choice. See |
tsfrequency |
time series data frequency |
OutlierClean |
if TRUE, remove outliers from the data. See |
residlevel |
confidence level for residual tests |
dateformat |
date format for charater dates |
list of parameters
LOPES, J. E.
1 2 3 4 5 6 7 8 9 10 | # Control
myControl <- cvForecastControl(
minObs = 14,
stepSize = 5,
maxHorizon = 30,
summaryFunc=tsSummary,
cvMethod="MAPE",
tsfrequency='day',
OutlierClean=FALSE)
myControl
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.