Timeline for smooth scaled Schoenfeld residual plot - covariates with levels
Current License: CC BY-SA 4.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 7 at 19:35 | history | edited | Devi Sita | CC BY-SA 4.0 |
added 130 characters in body
|
Jan 7 at 18:43 | vote | accept | Devi Sita | ||
Jan 7 at 15:48 | answer | added | EdM | timeline score: 2 | |
Jan 7 at 12:16 | history | edited | Devi Sita | CC BY-SA 4.0 |
added 167 characters in body
|
Jan 7 at 12:10 | comment | added | Devi Sita | I have updated the question with adding a short example of what I have written in R. | |
Jan 7 at 12:09 | history | edited | Devi Sita | CC BY-SA 4.0 |
added 167 characters in body
|
Jan 7 at 12:03 | comment | added | Devi Sita | It's the newest version of cox.zph() I'm using. It is exactly what it's providing me - an overall plot for the predictor, genetics (which has two levels, geneA and geneB). So it's showing me one plot with one curve for both geneA and geneB. My Q is, how should I interpret the overall plot? Because when I look at the individual levels plot (geneA and geneB separately), they look different from each other. So what is the overall plot showing? The average HR over time for both geneA and geneB? Or how should I think about it? | |
Jan 7 at 12:01 | comment | added | Devi Sita | Thanks for answering @EdM. I'm working in a closed system that makes me unable to copy paste codes. I would have to manually write more than 30 lines of coding. I hope my following comment can clarify my Q. | |
Jan 6 at 15:16 | comment | added | EdM |
If a categorical predictor has more than 2 levels, the cox.zph() function (in recent versions) can provide either an overall plot for the predictor or plots for individual levels versus the reference. When you edit the question, please specify the version of the software that you are using.
|
|
Jan 6 at 10:12 | comment | added | EdM | Please edit the question to add a sample model summary and the corresponding residual plots. I’m not sure that I understand the situation just from the written description. It might have to do with the choice of reference level for the categorical predictor. | |
Jan 5 at 23:36 | history | asked | Devi Sita | CC BY-SA 4.0 |