| hanaml.Arima {hana.ml.r} | R Documentation |
hanaml.Arima is a R wrapper for PAL Arima algorithm.
hanaml.Arima(conn.context,
data,
endog = NULL,
exog = NULL,
order = NULL,
order.p = NULL,
order.q = NULL,
order.d = NULL,
seasonal.order = NULL,
seasonal.order.p = NULL,
seasonal.order.d = NULL,
seasonal.order.q = NULL,
seasonal.order.s = NULL,
method = NULL,
include.mean = NULL,
forecast.method = NULL,
output.fitted = NULL,
thread.ratio = NULL)
conn.context |
|
data |
|
endog |
|
exog |
|
order |
|
order.p |
|
order.q |
|
order.d |
|
seasonal.order |
|
seasonal.order.p |
|
seasonal.order.d |
|
seasonal.order.q |
|
seasonal.order.s |
|
method |
|
include.mean |
|
forecast.method |
Defaults to "innovations.algorithm". |
output.fitted |
|
thread.ratio |
|
R6Class object.
Autoregressive Integrated Moving Average ARIMA(p, d, q) model.
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 -0.63612643
2 2 3.09250865
3 3 -0.73733556
4 4 -3.14219098
5 5 2.08881981
.......
Invoke the function:
> arm <- hanaml.Arima(conn,
data = arima.df,
order.p = 0,
order.d = 0,
order.q = 1,
seasonal.order.p = 1,
seasonal.order.s = 4,
method = "mle",
thread.ratio = 1.0,
output.fitted = TRUE)
Output:
> arm$fitted$Collect()
TIMESTAMP FITTED RESIDUALS
1 1 0.02337363 -0.6595001
2 2 0.11459591 2.9779127
3 3 -0.39656680 -0.3407688
4 4 0.10108234 -3.2432733
5 5 -0.43702717 2.5258470
6 6 2.34169970 0.8376030
......
## End(Not run)