Giter Club home page Giter Club logo

sncftms's Introduction

Structural nested cumulative failure time models

Author: Joy Shi

Last updated: December 6, 2021

G-estimation of structural nested cumulative failure time models (SNCFTMs) is a method to estimate the causal effect of a time-varying treatment on a failure-time outcome in the presence of informative right-censoring and treatment-confounder feedback. Under certain "no interaction" conditions, g-estimates of SNCFTMs can be used to calculate marginal cumulative risks of the outcome under static treatment regimes.

R code is provided to g-estimate SNCFTMs based on (1) adjustment of exposure-outcome confounders, or (2) instrumental variable analysis. Additional information about the methods are available at:

  1. Picciotto S, Hernán MA, Page JH, Young JG, Robins JM. Structural nested cumulative failure time models to estimate the effects of interventions. Journal of the American Statistical Association. 2012 Sep 1;107(499):886-900.
  2. Shi J, Swanson SA, Kraft P, Rosner B, De Vivo I, Hernán MA. Instrumental variable estimation for a time-varying treatment and a time-to-event outcome via structural nested cumulative failure time models. 2021 Dec;21(1):1-2.

The SNCFTM functions are based on the SNCFTM SAS macro by Sally Picciotto (more information is available here).

Please see the data example as an illustration of how the data must be set up to run these models.

Simulations to assess the performance of these models are also available. Data were generated according to the following DAGs:

Data-Generating Model DAG
Time-fixed instrument, exposure, confounder and outcome
Time-fixed instrument, exposure and confounder; time-varying outcome
Time-fixed instrument; time-varying exposure, confounder and outcome

sncftms's People

Contributors

joy-shi1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

belalanik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.