thanks, it works just great.

 David Biau.




________________________________
De : "Abhijit Dasgupta, PhD" <aikidasgupta@gmail.com>

Cc : r help list <r-help@r-project.org>
Envoyé le : Jeu 5 août 2010, 22h 15min 37s
Objet : Re: [R] How to extract se(coef) from cph?

if the cph model fit is m1, you can try

sqrt(diag(m1$var))

This is coded in print.cph.fit (library(rms))

On 08/05/2010 04:03 PM, Biau David wrote:
> Hello,
>
> I am modeling some survival data wih cph (Design). I have modeled a predictor
> which showed non linear effect with restricted cubic splines. I would like to
> retrieve the se(coef) for other, linear, predictors. This is just to make nice
> LateX tables automatically. I have the coefficients with coef().
>
> How do I do that?
>
> Thanks,
>
>   David Biau.
>
>
>
>
>     [[alternative HTML version deleted]]
>
> ______________________________________________
> 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.
>    


-- 

Abhijit Dasgupta, PhD
Director and Principal Statistician
ARAASTAT
Ph: 301.385.3067
E: adasgupta@araastat.com
W: http://www.araastat.com


      
	[[alternative HTML version deleted]]

