Re: [R] some question about partial prediction in survival

2007-10-15 Thread Terry Therneau
For numerical accuracy, the coxph routine centers each covariate before doing the computation. All of the downstream results (predict, survfit, etc) use this centered data. Terry Therneau __ R-help@r-project.org mailing list https://stat.e

Re: [R] some question about partial prediction in survival

2007-10-15 Thread Thomas Lumley
On Sun, 14 Oct 2007, coldeyes.Rhelp wrote: > Hi there: > i got a problem to get the prediction from a model recently. for > example if i use a survival analysis to predict the risk. i use the code > like below: i found the the prediction is not equal to (coef * x + coef > * sex) , could someone h

[R] some question about partial prediction in survival

2007-10-14 Thread coldeyes.Rhelp
Hi there: i got a problem to get the prediction from a model recently. for example if i use a survival analysis to predict the risk. i use the code like below: i found the the prediction is not equal to (coef * x + coef * sex) , could someone help me with why this happened? and can someone ex