Greatest advantage of ETS framework is it selects the model automatically and generates report using report function. I want to extract smoothing parameters and plot it on the graph. How to extract the optimal smoothing parameters chosen by the model ?
sku1.fit <- sku1.data %>% model(ets=ETS(Sale..Qty))
sku1.fit
sku1.report = report(sku1.fit)
sku1.report
Output:
sku1.report = report(sku1.fit)
Series: Sale..Qty
Model: ETS(M,N,N)
Smoothing parameters:
alpha = 0.2577581 ( i want to extract this parameter and show it on the graph)
Initial states:
l[0]
414.6792
sigma^2: 0.0591
AIC AICc BIC
476.1558 476.9058 480.9064