epiforecasts / EpiSoon

Forecasting the effective reproduction number over short timescales
https://epiforecasts.io/EpiSoon/
Other
7 stars 3 forks source link

Automated auto-reg model hangs if data is to short and lag is to long #15

Closed seabbs closed 4 years ago

seabbs commented 4 years ago

Example:

 rts <- data.frame(rt = 1:10, date = as.Date("2020-01-01") + lubridate::days(1:10))

fit_model(rts, model = function(ss, y){bsts::AddAutoAr(ss, y = y, lags = 1000)},
         horizon = 7, samples = 10)
seabbs commented 4 years ago

Don' think this was the issue you were seeing @nikosbosse so closing.