SMR {survexp.fr} | R Documentation |
Standardized Mortality Ratio (SMR)
Description
Computes the SMR, its confidence interval and its associated p-value
Usage
SMR(
futime,
status,
age,
sex,
entry_date,
ratetable = survexp.fr::survexp.fr,
alpha = 0.05
)
Arguments
futime |
follow-up time of the subjects in days |
status |
0 if censored or 1 if dead at |
age |
age in days |
sex |
|
entry_date |
entry date in the study |
ratetable |
a table of event rates, such as |
alpha |
determines the confidence level (1- |
Details
The SMR is estimated using two different methods.
The classic method is:
where is the observed number of deaths and
is the expected number based on the patients' characteristics (sex, age and entry date in the study).
The SMR is also estimated performing a Poisson model where is the dependant variable and
is an offset.
Value
A list containing the observed number of deaths, the expected number of deaths, the "classic" SMR (with its confidence interval and its p-value) and the SMR calculated by a Poisson model (with its confidence interval and its p-value)
Author(s)
Jean-Philippe Jais and Hugo Varet
References
N. Breslow and N. Day, Statistical methods in cancer research, Volume II - The design and analysis of cohort studies, World Health Organization, 1987
Examples
attach(data.example)
SMR(futime, status, age, sex, entry_date)