Beta version of python library: survivalstan

69 views
Skip to first unread message

Jacqueline Buros Novik

unread,
Nov 16, 2016, 12:48:26 PM11/16/16
to Stan users mailing list

We're working on a python package to implement several common Survival models, called survivalstan. The package includes Stan code for models and provides helper functions to support the modeling workflow (preparing data, posterior-predictive checks, etc).  

The repo also includes some worked examples, which are best viewed using nbviewer.  The Test PEM survival model with simulated data.ipynb contains the most explanatory text.

It's very much a work in progress, but posting here in case it's helpful. Welcome your feedback / collaboration / etc. Many thanks in advance!


Bob Carpenter

unread,
Nov 16, 2016, 1:49:24 PM11/16/16
to stan-...@googlegroups.com
Thanks. The Jupyter notebooks look great and helpfully
explain the survival models (which aren't covered in the
manual yet).

- Bob
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
> To post to this group, send email to stan-...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Mike Lawrence

unread,
Nov 16, 2016, 2:16:10 PM11/16/16
to stan-...@googlegroups.com
Beautiful! I'm teaching a class using Stan and a student asked yesterday about how to handle survival data, so this is perfect timing. Thanks!


--
Mike Lawrence
Graduate Student
Department of Psychology & Neuroscience
Dalhousie University

~ Certainty is (possibly) folly ~

--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+unsubscribe@googlegroups.com.

Jacqueline Buros Novik

unread,
Nov 16, 2016, 3:53:16 PM11/16/16
to Stan users mailing list

No problem, happy to hear it's useful. I will be expanding some of the notebooks, so welcome feedback on how to make them more informative.

There are several examples of survival models using Stan on github, such as : 


 

On Wednesday, November 16, 2016 at 2:16:10 PM UTC-5, Mike Lawrence wrote:
Beautiful! I'm teaching a class using Stan and a student asked yesterday about how to handle survival data, so this is perfect timing. Thanks!


--
Mike Lawrence
Graduate Student
Department of Psychology & Neuroscience
Dalhousie University

~ Certainty is (possibly) folly ~

On Wed, Nov 16, 2016 at 1:48 PM, Jacqueline Buros Novik <jacki...@gmail.com> wrote:

We're working on a python package to implement several common Survival models, called survivalstan. The package includes Stan code for models and provides helper functions to support the modeling workflow (preparing data, posterior-predictive checks, etc).  

The repo also includes some worked examples, which are best viewed using nbviewer.  The Test PEM survival model with simulated data.ipynb contains the most explanatory text.

It's very much a work in progress, but posting here in case it's helpful. Welcome your feedback / collaboration / etc. Many thanks in advance!


--
You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages