Re: [R] Smoothed HR for interaction term in coxph model

2014-06-02 Thread Therneau, Terry M., Ph.D.
On 05/30/2014 05:00 AM, r-help-requ...@r-project.org wrote: I have a dataset with 2 treatments and want to assess the effect of a continous covariate on the Hazard ratio between treatment A and B. I want a smoothed interaction term which I have modelled below with the following code: surv

Re: [R] Smoothed HR for interaction term in coxph model

2014-05-30 Thread Andrews, Chris
quot;) -Original Message- From: Lynn Dunsire [mailto:l...@contrastconsultancy.com] Sent: Thursday, May 29, 2014 6:03 AM To: r-help@r-project.org Subject: [R] Smoothed HR for interaction term in coxph model Hello R-help members, I have a dataset with 2 treatments and want to assess

[R] Smoothed HR for interaction term in coxph model

2014-05-29 Thread Lynn Dunsire
Hello R-help members, I have a dataset with 2 treatments and want to assess the effect of a continous covariate on the Hazard ratio between treatment A and B. I want a smoothed interaction term which I have modelled below with the following code: surv.fit <- coxph(my.surv ~ pspline(CONTINU