proportional_rates: Compute proportional rates

View source: R/proportional_rates.R

proportional_ratesR Documentation

Compute proportional rates

Description

Compute proportional rates

Usage

proportional_rates(ncan, ntot, ncan.min = 5)

Arguments

ncan

integer, number of cancer of interest

ntot

integer, overal number of cancer

ncan.min

integer, minimum number of observation required not to mask the CI's out

Proportional incidence rates and associated 95% confidence interval are computing assuming a Binomial distribution and the Clopper and Pearson (1934) procedure.

Value

a 3 column data.frame containing the proportional incidence rate estimate (est) and associated 95% CI (lci, uci)

References

C. J. CLOPPER, B.Sc., E. S. PEARSON, D.Sc., THE USE OF CONFIDENCE OR FIDUCIAL LIMITS ILLUSTRATED IN THE CASE OF THE BINOMIAL, Biometrika, Volume 26, Issue 4, December 1934, Pages 404–413, https://doi.org/10.1093/biomet/26.4.404

Boyle P, Parkin DM. Cancer registration: principles and methods. Statistical methods for registries. IARC Sci Publ. 1991;(95):126-58. PMID: 1894318.

See Also

stats::binom.test()

Examples

ncan <- c(1, 10, 100)
ntot <- c(10, 100, 1000)
proportional_rates(ncan, ntot, 5)

cancerradarr documentation built on Aug. 8, 2025, 7:28 p.m.