Le mardi 20 décembre 2011 à 11:11 +0100, Michael Haenlein a écrit :
> Dear all,
> 
> is there a function similar to extractAIC based on which I can extract the
> BIC (Bayesian Information Criterion) of a coxph model?
> I found some functions that provide BIC in other packages, but none of them
> seems to work with coxph.
Use extractAIC(), but set the 'k' argument to log(n), with n the number
of observations in the models (this is explained briefly
in ?extractAIC).


Regards

______________________________________________
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.

Reply via email to