| hanaml.BrownExponentialSmoothing {hana.ml.r} | R Documentation |
hanaml.BrownExponentialSmoothing is a R wrapper for PAL Brown Exponential Smoothing algorithm.
hanaml.BrownExponentialSmoothing (conn.context,
data,
key = NULL,
endog = NULL,
alpha = NULL,
delta = NULL,
forecast.num = NULL,
adaptive.method = NULL,
accuracy.measure = NULL,
ignore.zero = NULL,
expost.flag = NULL)
conn.context |
|
data |
|
key |
|
endog |
|
alpha |
|
delta |
|
forecast.num |
|
adaptive.method |
|
accuracy.measure |
No default value. |
ignore.zero |
|
expost.flag |
|
The brown exponential smoothing model is suitable to model the time series with trend but without seasonality. In PAL, both non-adaptive and adaptive brown linear exponential smoothing are provided.
Return a list of two DataFrame:
DataFrame 1
Forecast values.
DataFrame 2
Statistics analysis content.
## Not run:
Input DataFrame data:
> data$Collect()
ID RAWDATA
1 1 143
2 2 152
3 3 161
4 4 139
......
20 20 227
21 21 223
22 22 242
23 23 239
24 24 266
besm <- hanaml.BrownExponentialSmoothing(conn.context = conn,
data = data,
alpha=0.1,
forecast.num=6,
adaptive.method=FALSE,
accuracy.measure='mse',
expost.flag=TRUE)
Output:
> besm[[2]]$Collect()
STAT_NAME STAT_VALUE
1 MSE 474.142
## End(Not run)