Clinicopath survival

Everything related to the development of modules in jamovi
Post Reply
rabouqal
Posts: 20
Joined: Thu Mar 22, 2018 6:11 pm

Clinicopath survival

Post by rabouqal »

Hello Dr Balci,

Thanks for the survival module. is it possible to add the proportional hazards assumption check in the Cox model for example with a schoenfel residuals graph.

thanks again
sbalci
Posts: 125
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Clinicopath survival

Post by sbalci »

Hi,

Would you please guide me to a literature or R-code for your request.

Thank you

Serdar Balci
User avatar
MAgojam
Posts: 421
Joined: Thu Jun 08, 2017 2:33 pm
Location: Parma (Italy)

Re: Clinicopath survival

Post by MAgojam »

Hey Serdar,
you already import R package survival and surminer.

Look in surminer the function:
ggcoxzph(): Graphical test of proportional hazards. Displays a graph of the scaled Schoenfeld residuals, along with a smooth curve using ggplot2. Wrapper around plot.cox.zph().

Also take a look at the screenshot with a few lines of code in the Rj editor.
ScreenShot_20230513180541.jpeg
ScreenShot_20230513180541.jpeg (365.39 KiB) Viewed 21058 times
Cheers,
Maurizio
rabouqal
Posts: 20
Joined: Thu Mar 22, 2018 6:11 pm

Re: Clinicopath survival

Post by rabouqal »

Hello Dr Balci,
In survminer used by jsurvival :

Diagnostics of Cox Model :


ggcoxzph(): Graphical test of proportional hazards. Displays a graph of the scaled Schoenfeld residuals, along with a smooth curve using ggplot2. Wrapper around
plot.cox.zph().

ggcoxdiagnostics(): Displays diagnostics graphs presenting goodness of Cox Proportional Hazards Model fit.

ggcoxfunctional(): Displays graphs of continuous explanatory variable against martingale residuals of null cox proportional hazards model. It helps to properly choose the functional form of continuous variable in cox model.

Thank
sbalci
Posts: 125
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Clinicopath survival

Post by sbalci »

Thank you.
So they seem to be easily implementable.
I will work on them :)
rabouqal
Posts: 20
Joined: Thu Mar 22, 2018 6:11 pm

Re: Clinicopath survival

Post by rabouqal »

Thank you Dr Balci
rabouqal
Posts: 20
Joined: Thu Mar 22, 2018 6:11 pm

Re: Clinicopath survival

Post by rabouqal »

Hello Dr Balci,

something new for the proportional hazards assumption check in the Cox model?
https://github.com/sbalci/jsurvival/issues/3

Thank
sbalci
Posts: 125
Joined: Sat Jan 06, 2018 10:25 pm
Contact:

Re: Clinicopath survival

Post by sbalci »

I am working on it, the functions are being rewritten due to some bugs.
The modules will be updated in upcoming weeks.
Post Reply