Git Product home page Git Product logo

stan-survival-shrinkage's Introduction

Bayesian linear survival analysis with shrinkage priors in Stan

Introduction

This repository includes some Stan codes for survival analysis with shrinkage priors (Gaussian, Laplace, and horseshoe) and Weibull observation model. See the reference for the model description (note that the priors on a_c, b_c, a_s, and b_s have been changed to half-normal in the codes). The codes have been rewritten for Stan 2.4.0 (reference used Stan 2.2).

Contents

  • example.R: R-script which generates some simulated data and fits the models.
  • wei_hs_joint.stan: Joint model with horseshoe prior on candidate biomarkers.
  • wei_lap_joint.stan: Joint model with Laplace prior on candidate biomarkers.
  • wei_gau_joint.stan: Joint model with Gaussian prior on candidate biomarkers.
  • wei_bg_joint.stan: Joint model with only established risk factors.
  • wei_hs.stan: Single-group model with horseshoe prior on candidate biomarkers.
  • wei_lap.stan: Single-group model with Laplace prior on candidate biomarkers.
  • wei_gau.stan: Single-group model with Gaussian prior on candidate biomarkers.
  • wei_bg.stan: Single-group model with only established risk factors.

Updates

2015-12-18: Change the Cauchy distributions defining local shrinkage parameters in the horseshoe prior to t-distributions that allow setting the degress of freedom nu (Cauchy is nu = 1). nu > 1 can be computationally more stable (see Piironen and Vehtari, 2015).

Reference

Peltola, Havulinna, Salomaa, Vehtari. Hierarchical Bayesian Survival Analysis and Projective Covariate Selection in Cardiovascular Event Risk Prediction. In Proceedings of the Eleventh UAI Bayesian Modeling Applications Workshop, CEUR Workshop Proceedings, Vol-1218, 79-88 (pdf)

Contact

E-mail: [email protected]

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.