Learn R Programming

mitey (version 0.2.0)

generate_case_bootstrap: Generate Bootstrap Sample of Case Incidence

Description

Creates a bootstrap sample by resampling individual cases with replacement, then reconstructing daily incidence counts. This maintains the temporal distribution while introducing sampling variation for uncertainty estimation.

Usage

generate_case_bootstrap(incidence)

Value

numeric vector; bootstrapped daily incidence of the same length as input. Total number of cases remains the same but their temporal distribution varies

Arguments

incidence

numeric vector; daily case counts (non-negative integers)