ictr / covid19-outbreak-simulator

Population-based Forward-time Simulator for the Outbreak of COVID-19
https://ictr.github.io/covid19-outbreak-simulator/
Other
1 stars 3 forks source link

Reported average numbers can be wrong #7

Closed BoPeng closed 4 years ago

BoPeng commented 4 years ago

If some replicates have ended, they may not show up in the individual list, and the final average can be the average for the rest of ther replicates.

0 should be recorded.

n_active_115.00 0, 12, 0, 0, 5, 1
n_active_116.00 0, 12, 0, 5, 1  
n_active_117.00 0, 12, 4, 1  
BoPeng commented 4 years ago
NOTE: All `avg_` fields have average over existing replicates, and all replicates. For
example, if at time 100, 8 of the replicate simulations have completed and the rest 2
have population size 5, and 10, the average population size will be reported as
`7.5` (`5+10/2`) and `0.15` (`5+10/10`).