Git Product home page Git Product logo

moss's Introduction

R/MOSS: Semiparametric Efficient Survival Analysis

Travis-CI Build Status Appveyor Build Status codecov Project Status: Active โ€“ The project has reached a stable, usable state and is being actively developed. License: GPL v2 CRAN_Status_Badge

MOSS performs ensemble machine learning and Targeted Maximum Likelihood (TMLE) to estimate the counter-factual marginal survival functions, while non-parametrically adjusting for measured confounding. TMLE approach is employed to create a doubly robust and semi-parametrically efficient estimator. Simultaneous confidence bands of the entire curve is also available for inference. User can specify what kind of static intervention on treatment (exposure).

The following comparable methods are also included in the package for you to easily compare methods: - Inverse censoring probability weighted (IPCW) - Locally efficient one-step estimator (estimating equation methods)

install.packages('MOSS')
devtools::install_github('wilsoncai1992/MOSS')

Documentation

  • To see all available package documentation:
?MOSS
help(package = 'MOSS')

Brief overview

Data structure

The data input of all methods in the package should be an R data.frame in the following survival long data format:

#   ID W A T.tilde delta
# 1  1 0 0      95     1
# 2  2 1 1       1     0
# 3  3 0 0     215     1
# 4  4 1 1      15     1
# 5  5 0 0      73     1
# 6  6 0 0      15     1

Steps of analysis

  1. perform SuperLearner fit of the conditional survival function of failure event, conditional survival function of censoring event, propensity scores (initial_sl_fit)
  2. perform TMLE adjustment of the conditional survival fit (MOSS_hazard)
  3. simultaneous confidence band (compute_simultaneous_ci)

Citation

To cite MOSS in publications, please use:

Cai W, van der Laan MJ (2019+). One-step TMLE for time-to-event outcomes. Working paper.

Funding

Copyright

This software is distributed under the GPL-2 license.

Community Guidelines

Feedback, bug reports (and fixes!), and feature requests are welcome; file issues or seek support here.

moss's People

Contributors

wilsoncai1992 avatar

Watchers

James Cloos avatar

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.