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

Question: Should use "loglogistic" from survreg? #188

Closed stephematician closed 1 month ago

stephematician commented 3 months ago

Noticed that both lognormal and loglogistic use the same survreg distribution in initialisation, not sure if this is a typo?

https://github.com/chjackson/flexsurv/blob/e16d5fd5eb419e876b15d0b35a94cf59d2063cc7/R/distributions.R#L63

chjackson commented 1 month ago

Thanks for spotting this, fixed in https://github.com/chjackson/flexsurv/commit/9836eac16855e08fd1842484630e7a45a11c81a3 .