Re: [R] syvcoxph and cox.zph for testing the PH assumption

2021-07-12 Thread Youyi Fong
Thank you, Terry. We look forward to hearing from you again. Youyi On Mon, Jul 12, 2021 at 3:13 PM Therneau, Terry M., Ph.D. wrote: > > > On 7/11/21 5:00 AM, r-help-requ...@r-project.org wrote: > > Hello, is it kosher to call cox.zph on a syvcoxph model fit? I see that > > someone proposed a

Re: [R] syvcoxph and cox.zph for testing the PH assumption

2021-07-12 Thread Therneau, Terry M., Ph.D. via R-help
On 7/11/21 5:00 AM, r-help-requ...@r-project.org wrote: Hello, is it kosher to call cox.zph on a syvcoxph model fit? I see that someone proposed a modified version of cox.zph that uses resid(fit, 'schoenfeld', **weighted=TRUE**).

[R] syvcoxph and cox.zph for testing the PH assumption

2021-07-10 Thread Youyi Fong
Hello, is it kosher to call cox.zph on a syvcoxph model fit? I see that someone proposed a modified version of cox.zph that uses resid(fit, 'schoenfeld', **weighted=TRUE**). https://stats.stackexchange.com/questions/265307/assessing-proportional-hazards-assumption-of-a-cox-model-with-caseweights