search for: optpars

Displaying 2 results from an estimated 2 matches for "optpars".

Did you mean: optparse
2013 Mar 05
0
Error message from flexsurvreg
...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) if I use the dist = "weibull". But have no problems when I run survreg with Weibull distribution on the same data...
2010 Jul 27
0
AIC from coxme
Hi, I am running the following model: fit1.full <- coxme(Surv(age_sym1, sym1) ~ sex + lifedxm*sex + (1|famid), data=bip.surv) I would like to extract the AIC from that object to calculate the AICC. However, when I look at str(fit1.full) and summary(fit1.full) (pasted below) I don't see anything that would allow me to get pull the AIC out from that object. Is there a way to retrieve the