Skip to content
Prev 387080 / 398502 Next

Regarding fitted value

Hello,

You get the fitted values for years 2000, ..., 2019.
Those values are the original series minus the residuals:

f <- fitted(model1)
g <- yy - resid(model1)
identical(f, g)          # returns TRUE


If you want to *forecast*, this will give you the default h = 10
forecasts.

fc <- forecast(model1)
plot(fc)


Hope this helps,

Rui Barradas

?s 23:31 de 01/02/21, Md. Moyazzem Hossain escreveu: