Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2018 Sep;33(9):847-858.
doi: 10.1007/s10654-018-0375-y. Epub 2018 Mar 14.

Estimation of causal effect measures with the R-package stdReg

Affiliations

Estimation of causal effect measures with the R-package stdReg

Arvid Sjölander. Eur J Epidemiol. 2018 Sep.

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.

PubMed Disclaimer

Figures

Fig. 1
Fig. 1
The estimated AF (solid line) as a function of time since diagnosis, together with point-wise 95% confidence intervals (dashed lines)
Fig. 2
Fig. 2
The estimated NNT (solid line) as a function of time since diagnosis, together with point-wise 95% confidence intervals (dashed lines)
Fig. 3
Fig. 3
The estimated RERI (solid line) as a function of time since diagnosis, together with point-wise 95% confidence intervals (dashed lines)

Similar articles

Cited by

References

    1. Davies H, Crombie I, Tavakoli M. When can odds ratios mislead? BMJ. 1998;316(7136):989–991. doi: 10.1136/bmj.316.7136.989. - DOI - PMC - PubMed
    1. Holcomb W, Jr, Chaiworapongsa T, Luke D, Burgdorf K. An odd measure of risk: use and misuse of the odds ratio. Obstet Gynecol. 2001;98(4):685–688. - PubMed
    1. Case L, Kimmick G, Paskett E, Lohman K, Tucker R. Interpreting measures of treatment effect in cancer clinical trials. The Oncologist. 2002;7(3):181–187. doi: 10.1634/theoncologist.7-3-181. - DOI - PubMed
    1. VanderWeele T, Knol M. A tutorial on interaction. Epidemiol Methods. 2014;3(1):33–72.
    1. Rothman K, Greenland S, Lash T. Modern epidemiology. 3. Philadelphia: Lippincott Williams & Wilkins; 2008.

LinkOut - more resources