[R] Error in using coxph()

About this list Date view Thread view Subject view Author view Attachment view

From: Siew Leng TENG (siewlengteng@yahoo.com)
Date: Sun 16 May 2004 - 18:07:20 EST


Message-id: <20040516080720.25357.qmail@web50606.mail.yahoo.com>

Hi,

I am getting errors of the following kind. I can't
seem to point the source of the error. I would greatly
appreciate any advice.

Many thanks and good day,
-Melinda

Error message :
----------------
"Ran out of iterations and did not converge in:
fitter(X, Y, strats, offset, init, control, weights =
weights,..."

Details :
---------
E is a vector of survival times (or censored times),
1-F is a vector of '0's, and cov is a matrix of 1
column. There are altogether 75 observations.

Tried :
------
P <- try(surv.cox <- coxph(Surv(E, 1-F) ~ cov,
coxph.control(iter.max=1e10, eps = 1e-03)))

Output (from above command) :
-----------------------------
Call:
coxph(formula = Surv(E, F) ~ cov, data =
coxph.control(iter.max = 1e+10,
    eps = 0.001))

      coef exp(coef) se(coef) z p
cov -0.233 0.793 0.11 -2.11 0.035

Likelihood ratio test=4.51 on 1 df, p=0.0336 n= 75

Machine Specs :
----------------
Unix/ Windows XP
R-1.8.1
Survival package

        
                
__________________________________

SBC Yahoo! - Internet access at a great low price.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:11 EST