Extracts the fitted values.
# S3 method for class 'ARIMA'
fitted(object, ...)
A vector of fitted values.
USAccDeaths %>%
as_tsibble() %>%
model(arima = ARIMA(log(value) ~ pdq(0, 1, 1) + PDQ(0, 1, 1))) %>%
fitted()
#> # A tsibble: 72 x 3 [1M]
#> # Key: .model [1]
#> .model index .fitted
#> <chr> <mth> <dbl>
#> 1 arima 1973 Jan 8960.
#> 2 arima 1973 Feb 8088.
#> 3 arima 1973 Mar 8914.
#> 4 arima 1973 Apr 9126.
#> 5 arima 1973 May 10007.
#> 6 arima 1973 Jun 10816.
#> 7 arima 1973 Jul 11308.
#> 8 arima 1973 Aug 10737.
#> 9 arima 1973 Sep 9708.
#> 10 arima 1973 Oct 9933.
#> # ℹ 62 more rows