Samples uncertainty in incidence and importation data

sample_uncertainty_incidence_import(df, ndraw = 100)

Arguments

df

dataframe containing the variables "cases" (reported cases), "cases_local" (number of reported cases) and "population" (population size)

ndraw

number of samples

Value

A dataframe with ndraw replicates of the original dataframe df, containing 4 additional variables.

h is the sampled daily incidence (cases per person day),

prop_import is the sampled proportion of imported cases