AER: Absolute Excess Risk (AER)

View source: R/AER.r

AERR Documentation

Absolute Excess Risk (AER)

Description

Computes the AER, its confidence interval and its associated p-value

Usage

AER(
  futime,
  status,
  age,
  sex,
  entry_date,
  PY.stand = 10000,
  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 futime

age

age in days

sex

"male" or "female"

entry_date

entry date in the study

PY.stand

value to get the AER for stand person-years

ratetable

a table of event rates, such as survexp.fr or survexp.us

alpha

determines the confidence level (1-alpha) of the confidence interval

Details

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.

Value

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

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

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

Examples

attach(data.example)
AER(futime, status, age, sex, entry_date)

survexp.fr documentation built on April 20, 2022, 1:06 a.m.