IDEAS home Printed from https://ideas.repec.org/p/boc/lsug24/07.html
   My bibliography  Save this paper

compmed: A new command for estimating causal mediation effects with non-adherence to treatment allocation

Author

Listed:
  • Anca Chis Ster

    (Kings College London)

  • Sabine Landau

    (Kings College London)

  • Richard Emsley

    (Kings College London)

Abstract

In clinical trials, a standard intention-to-treat analysis will unbiasedly estimate the causal effect of treatment offer, though ignores the impact of participant non- adherence. To account for this, one can estimate a complier-average causal effect (CACE), the average causal effect of treatment receipt in the principal strata of participants who would comply with their randomisation allocation. Evaluating how interventions lead to changes in the outcome (the mechanism) is also key for the development of more effective interventions. A mediation analysis aims to decompose a total treatment effect into an indirect effect, one that operates via changing the mediator, and a direct effect. To identify mediation effects with non- adherence, it has been shown that the CACE can be decomposed into a direct effect, the Complier-Average Natural Direct Effect (CANDE), and a mediated effect, the Complier-Average Causal Mediated Effect (CACME). These can be estimated with linear Structural Equation Models (SEMs) with Instrumental Variables. However, obtaining estimates of the CACME and CANDE in Stata requires (1) correct fitting of the SEM in Stata and (2) correct identification of the pathways that correspond to the CACME and CANDE. To address these challenges, we introduce a new command, compmed, which allows users to perform the relevant SEM fitting for estimating the CACME and CANDE using a single, more intuitive, and user-friendly interface. Compmed requires the user to specify only the continuous outcome, continuous mediator, treatment receipt, and randomisation variables. Estimates, standard errors, and 95% confidence intervals are reported for all effects.

Suggested Citation

  • Anca Chis Ster & Sabine Landau & Richard Emsley, 2024. "compmed: A new command for estimating causal mediation effects with non-adherence to treatment allocation," UK Stata Conference 2024 07, Stata Users Group.
  • Handle: RePEc:boc:lsug24:07
    as

    Download full text from publisher

    File URL: http://repec.org/lsug2024/UK24_Ster.pptx
    Download Restriction: no
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:lsug24:07. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/stataea.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.