Hi everyone,
for a large datatset I want to test whether I can conduct a Weibull proportional hazard model. Thus I undertook a Schoenfeld residual test (which should tell whether proportional hazards apply) using the following commands
stset time, failure(event) scale(1)
stcox c1
estat phtest, detail
The result is as follows

If I Interpret this correctly I could not assume proportional hazards because I will reject the null hypothesis of a slope=0
However, if I plot the log(-log(S)) vs. log(t) by using command
stphplot, by(c1)
this gives me two (more or less) parallel lines which would suggest that using Weibull PH model is fine

Do I have a misunderstanding of these concepts or are the two tests really giving opposite results? Could I infer from the second graphics that applying Weibull PH model is fine?
Thank you very much
for a large datatset I want to test whether I can conduct a Weibull proportional hazard model. Thus I undertook a Schoenfeld residual test (which should tell whether proportional hazards apply) using the following commands
stset time, failure(event) scale(1)
stcox c1
estat phtest, detail
The result is as follows
If I Interpret this correctly I could not assume proportional hazards because I will reject the null hypothesis of a slope=0
However, if I plot the log(-log(S)) vs. log(t) by using command
stphplot, by(c1)
this gives me two (more or less) parallel lines which would suggest that using Weibull PH model is fine
Do I have a misunderstanding of these concepts or are the two tests really giving opposite results? Could I infer from the second graphics that applying Weibull PH model is fine?
Thank you very much
Comment