Giter Club home page Giter Club logo

mimic-iv-aline-study's Introduction

Replicating a study in MIMIC-IV

This folder contains code for replicating a study on indwelling arterial catheters:

Hsu DJ, Feng M, Kothari R, Zhou H, Chen KP, Celi LA. The association between indwelling arterial catheters and mortality in hemodynamically stable patients with respiratory failure: a propensity score analysis. CHEST Journal. 2015 Dec 1;148(6):1470-6.

The study showed, in the MIMIC-II database, that after adjustment for various confounders, indwelling arterial catheters were not associated with a mortality benefit.

The code here reproduces this study in the MIMIC-IV database. All code was newly written based upon the description of the study in the published paper. When it was unclear from the paper what choices were made, the original code was consulted for clarity. As the original study was performed in MIMIC-II, the patients in this study are entirely distinct, and this can be considered a replication of the original study.

Requirements

In order to run the code, you must:

  1. Have a Google account authenticated to access MIMIC-IV via BigQuery.
  2. The ability to create an environment with conda

Running the study

  1. (Optional) Run the generate-tables.sh bash script: this generates derived views of MIMIC-IV which are used in the data analysis.
  2. Run through the analysis in one of three ways:
    • (Recommended) Open the aline_analysis.ipynb notebook in Google Colaboratory.
    • Run the aline_analysis.py file from the command line.
    • Step through the aline_analysis.ipynb notebook.

Modifications

There are a few differences between our reproduction and the original study. Notably:

  • the original study subselected variables using a genetic algorithm, whereas we simply use the final set of variables they report
  • we did not include PO2 and PCO2 in the propensity score
  • we removed patients based on hospital service, not ICU service

mimic-iv-aline-study's People

Contributors

alistairewj 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.