Closed sbae closed 3 years ago
Thanks for the report. There are two bugs in flexsurv here!
First problem is that flexsurvreg
fails to give an error message when the wrong parameter names are put in anc
. Here you put shape
instead of sigma
- note that gengamma.orig
has a parameter called shape
, but the parameters of gengamma
are mu
,sigma
and Q
.
But even if you had named the parameters correctly, the coefficients would have still been labelled wrongly, as you saw, when anc
was not supplied in the conventional order.
I've fixed both these in the development version.
Thanks for your quick response! Using sigma
solved the convergence issue. The updated dev version works correctly.
The second and third models are in fact the same, but they are showing different outputs. I guess this won't be a problem in convergent models, but I just wanted to bring this to your attention.
The output is: