Re: [R] Extract p value from coxme object

2011-08-20 Thread Uwe Ligges
Cleaning up some old messages, I found this one: The p-values are not stored in the coxme object. They are calculated on the fly when you ask to rpint the object. See coxme:::print.coxme for the code. Uwe Ligges On 02.08.2011 17:26, Catarina Miranda wrote: Dear R experts; I am trying

Re: [R] Extract p value from coxme object

2011-08-03 Thread Terry Therneau
You can look at the code coxme:::print.coxme There you will see that the global test is a chisquare chi1 - 2*diff(x$loglik[1:2]) with x$df[1] degrees of freedom. The fixed effects coefficients are found in x$coefficients$fixed, and the variances are

[R] Extract p value from coxme object

2011-08-02 Thread Catarina Miranda
Dear R experts; I am trying to extract the p values from a coxme object (package coxme). I can see the value in the model output, but I wanted to have the result with a higher number of decimal places. I have searched the mailing list and followed equivalent suggestions for nlme/lme objects, but