smr.ca | R Documentation |
Modify the file from SMR in survexp.fr package to calculation standard mortality ratio for Canadian population.
smr.ca(time, event, age, sex, ratetable = survexp.ca, alpha = 0.05)
time |
Survival time |
event |
Event status, 1 for death and 0 for alive |
age |
Age of the subject |
sex |
Gender of the subject, 1 for male and 2 for female |
ratetable |
Expected mortality rate table for Canadian population, default is survexp.ca |
alpha |
Nominal level of confidence interval. Default is 0.05 |
See help file of SMR from 'survexp.fr' for details.
Object of class 'power.htest', a list of the arguments (including the computed one).
death |
Number of death |
expected |
Expected number of death in general population |
SMR.classic |
SMR based on classic method, as in SMR from survexp.fr |
SMR.poisson |
SMR based on Poisson method, as in SMR from survexp.fr |
can.haz |
Expected canadian hazard rate of death (matched with age and gender) |
Bingshu E. Chen (bingshu.chen@queensu.ca)
N. Breslow and N. Day, Statistical methods in cancer research, Volume II - The design and analysis of cohort studies, World Health Organization, 1987.
SMR
, survexp.us
, survexp.fr
.
##
# smr = smr.ca(time, event, age, sex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.