Open mhoehle opened 4 years ago
Thank you for this comment. We tried this before (or rather yt = \int{t-1}^{t} … ) and got basically the same estimates for the tested scenario. With basically I mean the same up to 4 or 5 decimals. Do you think it should vary more?
My two cents on this - while it's good that the estimates didn't change here, the case highlighted by @hoehleatsu could perhaps happen for some other input data. So if someone tries to run this code on new input data, then this update could possibly help them.
https://github.com/FohmAnalys/SEIR-model-Stockholm/blob/abd5bc3127f18f72f605429013f086487fc69b8a/Script/Estimate_SEIR_for_sharing_new_incidence_2020_05_05.R#L244
I was wondering if the matching between observed number of cases y_t on day t (which is the aggregated number of cases between time t and time t+1) and the instantaneous number of E->I transitions at time t shouldn't be done by
yt = \int{t}^{t+1} (1-p_0) \rho E(u) du
instead. Of course one can approximate this integral by (1-p_0) \rho E(u) as in an Riemann-type approximation, but if there is some change within one day (like when there is exponential increase) it would make a difference. Not sure the difference is worthwhile, and there might be bigger issues, but since you share your code ont GitHub it seems like worth mentioning.