[R] Extract BIC for coxph
Milan Bouchet-Valat
nalimilan at club.fr
Tue Dec 20 11:29:59 CET 2011
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
More information about the R-help
mailing list