Computes the AER, its confidence interval and its associated p-value
AER(
futime,
status,
age,
sex,
entry_date,
PY.stand = 10000,
ratetable = survexp.fr::survexp.fr,
alpha = 0.05
)
A list containing the AER with the corresponding number of person-years (PY.stand
argument), its confidence interval, its p-value,
the observed number of deaths, the expected number of deaths and the observed number of person-years
follow-up time of the subjects in days
0 if censored or 1 if dead at futime
age in days
"male"
or "female"
entry date in the study
value to get the AER for stand
person-years
a table of event rates, such as survexp.fr
or survexp.us
determines the confidence level (1-alpha
) of the confidence interval
Jean-Philippe Jais and Hugo Varet
The Absolute Excess Risk (AER) is defined as: $$AER = O-E$$ where \(O\) is the observed number of deaths and \(E\) is the expected number based on the patients'characteristics (sex, age and entry date in the study). This function uses an additive Poisson model to compute the AER.
N. Breslow and N. Day, Statistical methods in cancer research, Volume II - The design and analysis of cohort studies, World Health Organization, 1987
P. Dickman, A. Sloggett, M. Hills and T. Hakulinen, Regression models for relative survival, Statistics in Medicine, 2004
C. Elie, Y. De Rycke, J.-P. Jais and P. Landais, Appraising relative and excess mortality in population-based studies of chronic diseases such as end-stage renal disease, Clinical Epidemiology, 2011
attach(data.example)
AER(futime, status, age, sex, entry_date)
Run the code above in your browser using DataLab