SurvivalAnalysis.jl icon indicating copy to clipboard operation
SurvivalAnalysis.jl copied to clipboard

Add Bayesian interface to Turing.jl

Open RaphaelS1 opened this issue 2 years ago • 7 comments

RaphaelS1 avatar Aug 18 '22 15:08 RaphaelS1

Do you want to add it to Turing? And then just call it in SurvivalAnalysis.jl?

Or do you want to develop it as part of SurvivalAnalysis.jl with Turing.jl?

sourish-cmi avatar Sep 11 '22 14:09 sourish-cmi

Hey so that's an open question into what the integration effectively looks like. My current thinking is maybe a bridge package like SurvivalBayesian.jl which depends on both SurvivalAnalysis.jl and Turing.jl and basically is just glue code to build models

RaphaelS1 avatar Sep 14 '22 14:09 RaphaelS1

My only concern is that if we build too many packages, each package's maintenance could be a headache. So SurvivalBayesian.jl could be part of your SurvivalAnalysis.jl. Of course, it will depend on both SurvivalAnalysis.jl and Turing.jl. We can simply use include(SurvivalBayesian.jl) in the main module of SurvivalAnalysis.jl. Let me know your thought.

sourish-cmi avatar Sep 15 '22 05:09 sourish-cmi

Agreed - I'll give some more background tomorrow and then summarise our chat here

RaphaelS1 avatar Sep 15 '22 07:09 RaphaelS1

Wonderful. Looking forward to our discussion tomorrow.

sourish-cmi avatar Sep 15 '22 07:09 sourish-cmi

  • Adding this discussion on discourse here.
  • The paper on rstanrm package for Bayesian Survival Analysis in R is here.

sourish-cmi avatar Sep 16 '22 08:09 sourish-cmi

Thanks also adding this discussion from discourse

RaphaelS1 avatar Sep 16 '22 13:09 RaphaelS1