Displaying 2 results from an estimated 2 matches for "flexsurvreg".
2013 Jun 03
0
interpretation of flexsurvreg output from flexsurv package
Dear all,
I am fitting a parametric regression model to survival data using the
flexsurvreg function from the flexsurv package. I am using a Gompertz
distribution (a 2-parameter distribution) to describe the hazard function
and I want to compare two groups. The model is very simple:
flexsurvreg(formula = Surv(day, censored) ~ group, dist = "gompertz")
and the output is also qu...
2013 Mar 05
0
Error message from flexsurvreg
I'm working on a survival analysis project and, based on previous work of
my colleagues on similar projects, am trying to estimate an AFT model with
a generalized gamma distribution. When I execute the following code:
>flexsurvreg(timesurv ~ cycles + rcycle + cyctime, dist="gengamma")
I get the following error message:
Error in optim(optpars, minusloglik.flexsurv, t = Y[, "time"], dead = Y[,
:
non-finite finite-difference value [4]
I get an almost identical error (a 3 in the brackets instead of a 4)...