-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forecast_opts()
or add_horizon()
#867
Comments
Option 2. is how epinowcast works and I agree is more elegant. I'm in favour of it I think. I might also be in favour of some attempt to detect the accumulation in the current data to avoid having to respecify it but that might be dangerous. Here the only thing we might want to know when a Something to note that just occurred to me is have we made a breaking change in the accumulation PR in that before the predicted cases were always on the daily scale and now they are always on the accumulated scale? That is perhaps no bad thing but maybe we want to supply some way to get back to daily scale forecasts at a later date. |
Hmm, yes this is true and would be an argument against
I don't think so - what's reported as predicted cases is |
We could do that if all the gaps are equal. Same with the |
forecast_opts()
or `add_horizon()forecast_opts()
or add_horizon()
So we would need to change this for forecasting or distinguish accumulation for forecasting vs for inference in order to get accumulation to show up in outputs? |
We could change it but now that we're accumulating after truncating it means we'd then also show truncation (potentially a good thing for comparing to data, potentially confusing if it's interpreted as final cases). I think this would make most sense. |
my view is that I think we want to consider accumulation of the forecast as a standalone feature from accumulation of the data in the likelihood or have a clear communication of what is a posterior prediction of the data and what is a prediction of some latent quantity (i.e the unaccumulated data). I think we probably can't make the breaking change where accumulation and truncation shows up in the current forecast output as a lot of people have grown used to interpreting that as a forecast of a latent (potentially observed in the future) thing |
This makes sense. Perhaps the plot with accumulation and truncation could be done in a separate It does come back to the issue raised here though and how we can improve the plot which currently could be wrongly interpreted to mean a poor fit to / underestimate of the data. |
One no code option is to clearly document exactly what is being plot here. I like the idea of introducing new more clearly scoped plotting tools as the solution and maybe gradually depreciating what is in |
Just surfacing a discussion mixed up with other discussions in #346 (comment)
In order to address #640 we need to decide how to specify accumulation for future data. Options on the table are (for an example of weekly forecasts):
or
My opinion is option 2 is more elegant ("future dates are just another form of missing data and the model doesn't actually need to know when the present is") but option 1 has the advantage more in line with what we've been doing in the package so far.
The text was updated successfully, but these errors were encountered: