View source: R/standardized_incidence_rate_ratio.R
standardized_incidence_rate_ratio | R Documentation |
Age-standardized incidence rates ratio (asirr)
standardized_incidence_rate_ratio(
ncan,
py,
ncanref,
pyref,
pystd,
ncan.min = 5
)
ncan |
integer, (age-specific) number of cancers in the population of interest |
py |
integer, (age-specific) person-year in the the population of interest |
ncanref |
integer, (age-specific) number of cancers in the reference population |
pyref |
integer, (age-specific) person-year in the the reference population |
pystd |
numeric, (age-specific) standard population person-years (e.g. standard world population) |
ncan.min |
integer, minimum number of observation required not to mask the CI's out Age-standardized incidence rate ratio (asirr) and associated 95% confidence interval are computing Armitage and Berry (1987) formula. asird 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
py <- 101:110
ncanref <- 41:50
pyref <- 251:260
pystd <- 10:1
ncan.min <- 5
standardized_incidence_rate_ratio(ncan, py, ncanref, pyref, pystd, ncan.min)
standardized_incidence_rate_ratio(ncan, py, ncanref, pyref, pystd, sum(ncan) + 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.