search for: fitm7

Displaying 1 result from an estimated 1 matches for "fitm7".

Did you mean: fitm
2007 Sep 12
1
enquiry
...stimate a Cox model with nested effects basing on the minimization of the overall AIC; I have two frailties terms, both gamma distributed. There is a error message (theta2 argument misses) and I don?t understand why. I would like to know what I have wrong. Thank you very much for your time. fitM7 <- coxph(Surv(lifespan,censured) ~ south + frailty(id, dist='gamma')+ frailty(mob, dist='gamma'), data= usa) tempfun <- function(theta1, theta2) { fit <- coxph(Surv(lifespan,censured) ~ south + frailty(id, dist='gamma', sparse= TRUE, theta=theta1)+ frailty(mob,...