GithubHelp home page GithubHelp logo

kalamri2 / edp-extras Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeldow/edp-extras

1.0 0.0 0.0 20 KB

Supplemental Material for "Functional clustering methods for longitudinal data with application to electronic health records"

R 96.93% Shell 3.07%

edp-extras's Introduction

Supplementary Material for "Functional clustering methods for longitudinal data with application to electronic health records"

We have put all our R code for the paper "Functional clustering methods for longitudinal data with application to electronic health records" in this repository. It contains all simulations and all data analysis code.

Brief summary of the paper

We used Dirichlet process (DP) priors, including an enriched Dirichlet Process (EDP) prior (Wade et al (2010)), in a longitudinal linear regression model, which we used to predict missing outcomes in an electronic health records (EHR) dataset. Our goal was to calculate the incidence of Type II Diabetes among people who had newly initiated a second generation antipsychotic medication. Our EHR dataset contained diagnosis codes, medication dispensement information, and laboratory values (HbA1c, fasting glucose, random glucose). Our EDP and DP regressions predicted missing values of the laboratory values, which we included with existing diagnosis codes and medication information to calculate incidence of Type II Diabetes.

Structure of this repository

The simulation code and data analysis code are in separate folders. The simulations are then organized into sub-folders by figure number (Figures 3-5 pertain to the simulations.). Note: all these R scripts refer to either https://github.com/zeldow/EDPlong for the EDP models and https://github.com/zeldow/DPlong for the DP models.

edp-extras's People

Contributors

zeldow avatar

Stargazers

Khaled Alamri 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.