smr.ca: Standard mortality ratio (SMR) for Canadian population

View source: R/smr.ca.R

smr.caR Documentation

Standard mortality ratio (SMR) for Canadian population

Description

Modify the file from SMR in survexp.fr package to calculation standard mortality ratio for Canadian population.

Usage

smr.ca(time, event, age, sex, ratetable = survexp.ca, alpha = 0.05)

Arguments

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

Details

See help file of SMR from 'survexp.fr' for details.

Value

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)

Author(s)

Bingshu E. Chen (bingshu.chen@queensu.ca)

References

N. Breslow and N. Day, Statistical methods in cancer research, Volume II - The design and analysis of cohort studies, World Health Organization, 1987.

See Also

SMR, survexp.us, survexp.fr.

Examples

##
# smr = smr.ca(time, event, age, sex)

statapps/power.ctepd documentation built on April 26, 2024, 3:22 a.m.