| hanaml.AutoArima {hana.ml.r} | R Documentation |
hanaml.AutoArima is a R wrapper for PAL Auto Arima algorithm.
hanaml.AutoArima(conn.context,
data,
endog = NULL,
exog = NULL,
seasonal.period = NULL,
seasonality.criterion = NULL,
d = NULL,
kpss.significance.level = NULL,
max.d = NULL,
seasonal.d = NULL,
ch.significance.level = NULL,
max.seasonal.d = NULL,
max.p = NULL,
max.q = NULL,
max.seasonal.p = NULL,
max.seasonal.q = NULL,
information.criterion = NULL,
search.strategy = NULL,
max.order = NULL,
initial.p = NULL,
initial.q = NULL,
initial.seasonal.p = NULL,
initial.seasonal.q = NULL,
guess.states = NULL,
max.search.iterations = NULL,
method = NULL,
allow.linear = NULL,
forecast.method = NULL,
output.fitted = NULL,
thread.ratio = NULL)
conn.context |
|
data |
|
endog |
|
exog |
|
seasonal.period |
|
seasonality.criterion |
|
d |
|
kpss.significance.level |
|
max.d |
|
seasonal.d |
|
ch.significance.level |
|
max.seasonal.d |
|
max.p |
|
max.q |
|
max.seasonal.p |
|
max.seasonal.q |
|
information.criterion |
|
search.strategy |
|
max.order |
|
initial.p |
|
initial.q |
|
initial.seasonal.p |
|
initial.seasonal.q |
|
guess.states |
|
max.search.iterations |
|
method |
|
allow.linear |
|
forecast.method |
|
output.fitted |
|
thread.ratio |
|
R6Class object.
The AUTO ARIMA function identifies the orders of an ARIMA model (p, d, q)(P, D, Q)m, where m is the seasonal period according to some information criterion such as AICc, AIC, and BIC. If order selection succeeds, the function gives the optimal model as in the ARIMATRAIN function.
#'
model: DataFrame
Fitted model.
fitted: DataFrame
Predicted dependent variable values for training data.
Set to None if the training data has no row IDs.
## Not run:
Input DataFrame data:
> data$Collect()
TIMESTAMP Y
1 1 -24.525
2 2 34.720
3 3 57.325
4 4 10.340
5 5 -12.890
......
Invoke hanaml.AutoArima():
autoarima <- hanaml.AutoArima(conn,
data=data,
search.strategy=1)
Output:
> autoarima$fitted
TIMESTAMP FITTED RESIDUALS
1 1 NA NA
2 2 NA NA
3 3 NA NA
4 4 NA NA
5 5 -24.5250000 11.63500000
6 6 37.5839311 1.46106885
7 7 57.9926243 -0.69262431
8 8 8.6228706 -1.88787060
9 9 -20.3259208 0.96092077
## End(Not run)