naobservatory / p2ra

4 stars 1 forks source link

Some viruses give 0 incidences, which break the model #148

Closed jeffkaufman closed 1 year ago

jeffkaufman commented 1 year ago

The model is in log space, and 0 is very bad.

Check to make sure there are no zeros in matched data. When we find them, bump them up based on the granularity. For now, figure 1/10 of if we had seen 1 in our calibration data, which is kind of unprincipled but better than crashing. Dan will review.