powered by
Compute incidence rates difference
incidence_rates_difference(ncan, py, ncanref, pyref, ncan.min = 5)
a 3 column data.frame containing the incidence rates difference (est) and associated 95% CI (lci, uci)
integer, number of cancers in the population of interest
integer, person-year of the the population of interest
integer, number of cancers in the reference population
integer, person-year of the the reference population
integer, minimum number of observation required not to mask the CI's out
Incidence rates differences and associated 95% confidence interval are computing assuming normal distribution of the differences..
ncan <- 1:10 py <- 101:110 ncanref <- 41:50 pyref <- 251:260 ncan.min <- 5 incidence_rates_difference(ncan, py, ncanref, pyref, ncan.min)
Run the code above in your browser using DataLab