I fit a naive model to a time series and got null for the ACF1 column. I thought it should always have a numerical result since it's just a correlation? Why is this null? Following is my code:
library('fable')
library('feasts')
library('dplyr')
df = data.frame("t" = 1:7, "value" = c(12, 12, 0, 0, 0, 0, 0))
tsb = df %>%
as_tsibble(index = t)
train = tsb %>% filter(t < 6)
md = train %>% model(naive = NAIVE(value))
fc = md %>% forecast(h = 4)
accuracy(fc, tsb)
Thanks!
P.s.: This is a follow-up question for this question: Getting null results from the accuracy function in fabletools package