Giter Site home page Giter Site logo

causally-formulated-hazard-ratio's Introduction

Causally-Formulated-Hazard-Ratio

The repository is for the paper:

Adib, R., Griffin, P., Ahamed, S.I. and Adibuzzaman, M., 2020, September. A Causally Formulated Hazard Ratio Estimation through Backdoor Adjustment on Structural Causal Model. In Machine Learning for Healthcare Conference (pp. 376-396). PMLR.

Description of the files here (please read the paper for understanding the references):

  1. Datasets:

    a. strong_bias_data.csv (simulated dataset with strong bias through confounder)

    b. weak_bias_data.csv (simulated dataset with weak bias through confounder)

    c. ewing-data.csv (real-world dataset)

    d. adj_surv_data_transformA.csv (adjusted datasets through SCM, using transformation A)

    e. adj_surv_data_transformB.csv (adjusted datasets through SCM, using transformation B)

  2. Main code:

    a. 1_simulate-data.ipynb (code for simulation of data)

    b. 2a_ipw_simulated_data.ipynb (code for adjustment on simulated data)

    c. 2b_ipw_ewing_data.ipynb (code for adjustment on real-world data)

    d. ipw_ewing_data_new_graph.ipynb (code for adjustment on real-world data, using transformation B)

  3. Images:

    a. unadjusted.eps & unadjusted_ewing.eps (unadjusted/direct survival curves for both simulated and real data)

    b. adjusted.eps & adjusted_ewing.eps (adjusted survival curves for both simulated and real data)

  4. Extras:

    a. or_rr_simpsons_paradox.ipynb (code for similar explorations on odds and risk ratio, already known in literature as Causal Odds Ratio and Causal Risk Ratio)

    b. desmos.png (baseline for simulated data survival curve, plotted as mathematical functions)

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.