powered by
Compute crude incidence rates
incidence_rates(ncan, py, ncan.min = 5)
a 3 column data.frame containing the crude incidence rate estimate (est) and associated 95% CI (lci, uci)
integer, number of cancer
integer, number of person-year
integer, minimum number of observation required not to mask the CI's out
Crude incidence rates and associated 95% confidence interval are computing assuming a Poisson distribution and the exact method.
Boyle P, Parkin DM. Cancer registration: principles and methods. Statistical methods for registries. IARC Sci Publ. 1991;(95):126-58. PMID: 1894318.
epitools::pois.exact()
ncan <- c(1, 10, 100) py <- c(10, 100, 1000) incidence_rates(ncan, py, 5)
Run the code above in your browser using DataLab