Re: [R] predicted HR in coxph with psline

2013-01-25 Thread Carrie Li
Thank you, Terry. So in the spline model, how to do the interpretation for HR? For linear term, the HR can be interpreted as "comparing a person with age 65, for example, against mean age. But if there is no defined centering point in spline, what's the compared value when we do the interpretation?

Re: [R] predicted HR in coxph with psline

2013-01-25 Thread Terry Therneau
The normalization is the same as is found when you have type="terms" from a gam model: each term is centered so that mean(predicted) = 0. For a simple linear term beta*age this implies that the predicted value will be 0 at the mean of age, for a polynomial or spline this does not translate to a

[R] predicted HR in coxph with psline

2013-01-24 Thread Carrie Li
Hi all, I have some questions about the predicted HR in coxph function including psline covariate. If just fitting covariate as linear form, by default, the reference value for each of predictions type (linear predictor, risk and terms) is the mean covariate within strata. If the psline is speci