You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
init = I₀ * [exp(-r_approx * t) for t in0:(epi_model.data.len_gen_int -1)]
This creates (temporarily) a vector of past latent infections based on the sampled initial value of the reproductive number (which is converted into an exponential growth rate $r$).
It might be a good idea to extend this concept to a modular plug-in; in particular this would allow generation of sensible cases early in a time series.
The text was updated successfully, but these errors were encountered:
I think we might want to think about the renewal initialisation seperately from the problem of observations depending on past latent infections?
I was assuming here that we would automatically buffer the input time index with some index index in the latent proceess? If we were to do this though we would need to think about how to pass in metadata for the Rt etc of these days. One option could be to make two ways to do this. One where we increase the time index backwards for the latent process (which is the easiest solution) and one where we restrict which time indexes are included in the obs model (the easiest when there is time indexed latent information forr the latent process).
I'm reluctant to consider the idea of extending the initialisation as these infection dates are actually at least partially observed and so can be useful - especially at the beginning on an outbreak.
At the moment, we use an initialisation procedure inside
Renewal
model:Rt-without-renewal/EpiAware/src/EpiInfModels/Renewal.jl
Lines 164 to 166 in 9a3a519
This creates (temporarily) a vector of past latent infections based on the sampled initial value of the reproductive number (which is converted into an exponential growth rate$r$ ).
It might be a good idea to extend this concept to a modular plug-in; in particular this would allow generation of sensible cases early in a time series.
The text was updated successfully, but these errors were encountered: