Xin Ge wrote:
Hi All,
I'm runnning coxph() on 90 different datasets (in a loop).
1. I'm wondering how can I get "log-likelihood" value from coxph() output.
Currently I can only see following:
Likelihood ratio test =
Wald test =
Score (logrank) test =
2. Once I have likelihood value, I would like to extract these from R
output (for each data set).
Can any one help please, thanks in advance,
Xin
P.S. OR, may be if anyone can suggest me some other function which can help
me with this.
If you are trying to pick a "winner" it would be advisable to rank the
multiple models and to get bootstrap confidence intervals for the ranks.
I provided some code for this a couple of weeks ago.
Frank
--
Frank E Harrell Jr Professor and Chairman School of Medicine
Department of Biostatistics Vanderbilt University
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.