This can be considered as a follow-up question for this, as part of the exploration exercise on studying the difference between forecast
and fable
package.
I used the same dataset for forecasting future value as below:
library(fpp2)
library(forecast)
library(fable)
data(ausair)
set.seed(1)
holt(ausair,h=5)$model$par
# alpha beta l b
# 0.84796776 0.09695709 6.51760869 0.68206040
set.seed(1)
tsibble::as_tsibble(ausair) %>%
model(ETS(value ~ error('A') + trend('A') + season('N'))) %>%
coef() %>%
select(term,estimate) %>%
data.frame
# term estimate
# 1 alpha 0.84811600
# 2 beta 0.09695788
# 3 l 6.51735643
# 4 b 0.68214725
I just want to make sure the small difference of estimates calculated using two different methods are due to the function itself, but not myself used different parameters without knowing it.
Thanks!