Estimation of causal effect measures with the R-package stdReg

Eur J Epidemiol. 2018 Sep;33(9):847-858. doi: 10.1007/s10654-018-0375-y. Epub 2018 Mar 14.

Abstract

Measures of causal effects play a central role in epidemiology. A wide range of measures exist, which are designed to give relevant answers to substantive epidemiological research questions. However, due to mathematical convenience and software limitations most studies only report odds ratios for binary outcomes and hazard ratios for time-to-event outcomes. In this paper we show how logistic regression models and Cox proportional hazards regression models can be used to estimate a wide range of causal effect measures, with the R-package stdReg. For illustration we focus on the attributable fraction, the number needed to treat and the relative excess risk due to interaction. We use two publicly available data sets, so that the reader can easily replicate and elaborate on the analyses. The first dataset includes information on 487 births among 188 women, and the second dataset includes information on 2982 women diagnosed with primary breast cancer.

Keywords: Attributable fraction; Causal effect; Cox proportional hazards regression; Logistic regression; Number needed to treat; Relative excess risk due to interaction.

MeSH terms

  • Causality*
  • Epidemiologic Research Design*
  • Humans
  • Logistic Models*
  • Proportional Hazards Models*
  • Reference Standards