chjackson / flexsurv

The flexsurv R package for flexible parametric survival and multi-state modelling
http://chjackson.github.io/flexsurv/
53 stars 28 forks source link

Clustering/incorporating shared-frailties/random-effects amongst groups #119

Closed josephjzhao closed 1 year ago

josephjzhao commented 2 years ago

Thank you for your wonderful package flexsurv.

May I check if clustering/incorporating shared-frailties/random-effects amongst groups is possible with your package?

chjackson commented 2 years ago

Sorry it isn't, and there's no plans to implement this in flexsurv. It's been a few years since I investigated how to do this, but packages that I know of which implement parametric survival models with frailties include frailtypack and parfm.