Low-Level ADAM function for translating modeltime to forecast
adam_fit_impl(
x,
y,
period = "auto",
p = 0,
d = 0,
q = 0,
P = 0,
D = 0,
Q = 0,
model = "ZXZ",
constant = FALSE,
regressors = c("use", "select", "adapt"),
outliers = c("ignore", "use", "select"),
level = 0.99,
occurrence = c("none", "auto", "fixed", "general", "odds-ratio", "inverse-odds-ratio",
"direct"),
distribution = c("default", "dnorm", "dlaplace", "ds", "dgnorm", "dlnorm", "dinvgauss",
"dgamma"),
loss = c("likelihood", "MSE", "MAE", "HAM", "LASSO", "RIDGE", "MSEh", "TMSE", "GTMSE",
"MSCE"),
ic = c("AICc", "AIC", "BIC", "BICc"),
select_order = FALSE,
...
)
A data.frame of predictors
A vector with outcome
A seasonal frequency. Uses "auto" by default. A character phrase of "auto" or time-based phrase of "2 weeks" can be used if a date or date-time variable is provided.
The order of the non-seasonal auto-regressive (AR) terms. Often denoted "p" in pdq-notation.
The order of integration for non-seasonal differencing. Often denoted "d" in pdq-notation.
The order of the non-seasonal moving average (MA) terms. Often denoted "q" in pdq-notation.
The order of the seasonal auto-regressive (SAR) terms. Often denoted "P" in PDQ-notation.
The order of integration for seasonal differencing. Often denoted "D" in PDQ-notation.
The order of the seasonal moving average (SMA) terms. Often denoted "Q" in PDQ-notation.
The type of ETS model.
Logical, determining, whether the constant is needed in the model or not.
The variable defines what to do with the provided explanatory variables.
Defines what to do with outliers.
What confidence level to use for detection of outliers.
The type of model used in probability estimation.
what density function to assume for the error term.
The type of Loss Function used in optimization.
The information criterion to use in the model selection / combination procedure.
If TRUE, then the function will select the most appropriate order using a mechanism similar to auto.msarima(), but implemented in auto.adam(). The values list(ar=...,i=...,ma=...) specify the maximum orders to check in this case
Additional arguments passed to smooth::adam