hse_finite
function to allow for
rounding, floor or ceiling to adjust the estimates for small
fractions so that the minimum design prevalence is 1/N which is a
reasonable approach in some cases. Thanks to Petter Hopp for this
code.hse
function which incorrectly selected the
infinite_hse
method when the sampling fraction is 1. This is now
corrected and when the sampling fraction is greater than the
threshold
argument, the hse_finite
is used as expected. To be
clear, this bug probably did not result in errors very often as it
should be a rare case that every member of a target population is
sampled in a surveillance initiative.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.