View source: R/indirect_proportional_incidence_ratio.R
indirect_proportional_incidence_ratio | R Documentation |
Compute the indirect proportional incidence ratio (pir)
indirect_proportional_incidence_ratio(
ncan,
ntot,
ncanref,
ntotref,
ncan.min = 5
)
ncan |
integer, (age-specific) number of cancers in the population of interest |
ntot |
integer, (age-specific) total number of cancer the the population of interest |
ncanref |
integer, (age-specific) number of cancers in the reference population |
ntotref |
integer, (age-specific) total number of cancer the the reference of interest |
ncan.min |
integer, minimum number of observation required not to mask the CI's out Indirect proportional incidence ratio and associated 95% confidence interval are computing assuming normal distribution of the pir on the log scale. pir is a summary statistics that should be computed per group of individuals providing age specific counts. |
a 1 line and 3 column data.frame containing the pir (est) and associated 95% CI (lci, uci)
Boyle P, Parkin DM. Cancer registration: principles and methods. Statistical methods for registries. IARC Sci Publ. 1991;(95):126-58. PMID: 1894318.
ncan <- 1:10
ntot <- 11:20
ncanref <- 41:50
ntotref <- 251:260
ncan.min <- 5
indirect_proportional_incidence_ratio(ncan, ntot, ncanref, ntotref, ncan.min)
indirect_proportional_incidence_ratio(ncan, ntot, ncanref, ntotref, sum(ncan) + 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.