reconhub / tasks

1 stars 0 forks source link

New package: creating discrete distributions with given average / quantiles #25

Open mjrolland opened 3 years ago

mjrolland commented 3 years ago

It often happens that key epidemiological distributions of COVID-19 are reported in the literature, not as readily-useable distributions, but e.g. by specifying the mean, median, and given quantiles. Creating the corresponding discrete distribution e.g. from a Gamma or a Weibull can be tricky. It would be great to have a new package implementing these.

[impact: Delay distributions are used throughout epi analysis, e.g. in assessing transmissibility, or when forecasting cases or bed occupancy. This package would facilitate the use of published delays drastically. ] [originally proposed by @thibautjombart] [suggested repo: Do not know] [additional notes: ]

thibautjombart commented 3 years ago

Note: a discussion, including code gists, was initiated on https://github.com/reconhub/covid19hub/issues/4

RMHogervorst commented 3 years ago

If I may jump in here. Finding discrete values for a given mean/ median and standard deviation can be done using the SPRITE method https://hackernoon.com/introducing-sprite-and-the-case-of-the-carthorse-child-58683c2bfeb. I think that method uses the normal distribution, but we could change that.

RMHogervorst commented 3 years ago

Wait maybe I'm confusing things here. You don't want the actual underlying numbers but a distribution description