Schoenfled Residua test shows proportionality hazard assumptions holds but Kaplan-Meier plots intersectViolation of Cox Proportional Hazards by a continuous variableCheck hazard proportional assuption in a large coxphWhat does the “z” in cox.zph mean in RLate Cross of Kaplan-Meier Curves - Does it matter?time varying coefficients in cox proportional hazard modelHow does time factor into Cox regression or a Cox proportional hazards model?Why are Kaplan-Meier curves crossing when Cox PH assumption is not violated (Global Shoenfeld non-significant)?Cox time-dependent coefficient continues to violate the PH assumptionViolation of proportional hazard assumption with big sample size - how to correct for it?Hazard ratio for more than two groups

Fencing style for blades that can attack from a distance

Can divisibility rules for digits be generalized to sum of digits

Why, historically, did Gödel think CH was false?

What typically incentivizes a professor to change jobs to a lower ranking university?

How does strength of boric acid solution increase in presence of salicylic acid?

What do you call a Matrix-like slowdown and camera movement effect?

Is it legal for company to use my work email to pretend I still work there?

Today is the Center

Why not use SQL instead of GraphQL?

How do I create uniquely male characters?

Arthur Somervell: 1000 Exercises - Meaning of this notation

Why are electrically insulating heatsinks so rare? Is it just cost?

Minkowski space

Smoothness of finite-dimensional functional calculus

TGV timetables / schedules?

Is this a crack on the carbon frame?

Adding span tags within wp_list_pages list items

Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)

Can a Warlock become Neutral Good?

Can I ask the recruiters in my resume to put the reason why I am rejected?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

Risk of getting Chronic Wasting Disease (CWD) in the United States?

Writing rule stating superpower from different root cause is bad writing

Modeling an IPv4 Address



Schoenfled Residua test shows proportionality hazard assumptions holds but Kaplan-Meier plots intersect


Violation of Cox Proportional Hazards by a continuous variableCheck hazard proportional assuption in a large coxphWhat does the “z” in cox.zph mean in RLate Cross of Kaplan-Meier Curves - Does it matter?time varying coefficients in cox proportional hazard modelHow does time factor into Cox regression or a Cox proportional hazards model?Why are Kaplan-Meier curves crossing when Cox PH assumption is not violated (Global Shoenfeld non-significant)?Cox time-dependent coefficient continues to violate the PH assumptionViolation of proportional hazard assumption with big sample size - how to correct for it?Hazard ratio for more than two groups






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1












$begingroup$


"If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold". The issue I am facing is that I got the Kaplam-Meier plot(bleow). We can clearly see that it is overlapping.
But when I plot the Schoenfled residual plots, it suggests otherwise because the black solid line is flat(image below). Also the p-values(below) for Schoenfled residual plots are not significant, suggesting that proportional hazard assumption holds
enter image description hereenter image description here




ftest <- cox.zph(fitcox)
ftest
p
as.factor(C)2 0.945
as.factor(C)3 0.922
as.factor(C)4 0.717
GLOBAL 0.915




One may argue that the three hazard ratios are calculated w.r.t. the red plot. Red plot does not intersect the blue and black plots. So it is understandable that proportional hazard assumption holds.
But red plot does intersect the green one, although only a little...Is that not enough to violate the proportional hazard assumption?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    If you cannot reject the null hypothesis, it does not mean that it is true.
    $endgroup$
    – Michael M
    9 hours ago











  • $begingroup$
    This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
    $endgroup$
    – Omar Rafique
    7 hours ago

















1












$begingroup$


"If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold". The issue I am facing is that I got the Kaplam-Meier plot(bleow). We can clearly see that it is overlapping.
But when I plot the Schoenfled residual plots, it suggests otherwise because the black solid line is flat(image below). Also the p-values(below) for Schoenfled residual plots are not significant, suggesting that proportional hazard assumption holds
enter image description hereenter image description here




ftest <- cox.zph(fitcox)
ftest
p
as.factor(C)2 0.945
as.factor(C)3 0.922
as.factor(C)4 0.717
GLOBAL 0.915




One may argue that the three hazard ratios are calculated w.r.t. the red plot. Red plot does not intersect the blue and black plots. So it is understandable that proportional hazard assumption holds.
But red plot does intersect the green one, although only a little...Is that not enough to violate the proportional hazard assumption?










share|cite|improve this question











$endgroup$







  • 2




    $begingroup$
    If you cannot reject the null hypothesis, it does not mean that it is true.
    $endgroup$
    – Michael M
    9 hours ago











  • $begingroup$
    This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
    $endgroup$
    – Omar Rafique
    7 hours ago













1












1








1


1



$begingroup$


"If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold". The issue I am facing is that I got the Kaplam-Meier plot(bleow). We can clearly see that it is overlapping.
But when I plot the Schoenfled residual plots, it suggests otherwise because the black solid line is flat(image below). Also the p-values(below) for Schoenfled residual plots are not significant, suggesting that proportional hazard assumption holds
enter image description hereenter image description here




ftest <- cox.zph(fitcox)
ftest
p
as.factor(C)2 0.945
as.factor(C)3 0.922
as.factor(C)4 0.717
GLOBAL 0.915




One may argue that the three hazard ratios are calculated w.r.t. the red plot. Red plot does not intersect the blue and black plots. So it is understandable that proportional hazard assumption holds.
But red plot does intersect the green one, although only a little...Is that not enough to violate the proportional hazard assumption?










share|cite|improve this question











$endgroup$




"If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold". The issue I am facing is that I got the Kaplam-Meier plot(bleow). We can clearly see that it is overlapping.
But when I plot the Schoenfled residual plots, it suggests otherwise because the black solid line is flat(image below). Also the p-values(below) for Schoenfled residual plots are not significant, suggesting that proportional hazard assumption holds
enter image description hereenter image description here




ftest <- cox.zph(fitcox)
ftest
p
as.factor(C)2 0.945
as.factor(C)3 0.922
as.factor(C)4 0.717
GLOBAL 0.915




One may argue that the three hazard ratios are calculated w.r.t. the red plot. Red plot does not intersect the blue and black plots. So it is understandable that proportional hazard assumption holds.
But red plot does intersect the green one, although only a little...Is that not enough to violate the proportional hazard assumption?







cox-model kaplan-meier proportional-hazards schoenfeld-residuals






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 9 hours ago







Omar Rafique

















asked 10 hours ago









Omar RafiqueOmar Rafique

456




456







  • 2




    $begingroup$
    If you cannot reject the null hypothesis, it does not mean that it is true.
    $endgroup$
    – Michael M
    9 hours ago











  • $begingroup$
    This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
    $endgroup$
    – Omar Rafique
    7 hours ago












  • 2




    $begingroup$
    If you cannot reject the null hypothesis, it does not mean that it is true.
    $endgroup$
    – Michael M
    9 hours ago











  • $begingroup$
    This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
    $endgroup$
    – Omar Rafique
    7 hours ago







2




2




$begingroup$
If you cannot reject the null hypothesis, it does not mean that it is true.
$endgroup$
– Michael M
9 hours ago





$begingroup$
If you cannot reject the null hypothesis, it does not mean that it is true.
$endgroup$
– Michael M
9 hours ago













$begingroup$
This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
$endgroup$
– Omar Rafique
7 hours ago




$begingroup$
This reasoning accounts for the p-value. What about the Schoenfled residual plots being flat....
$endgroup$
– Omar Rafique
7 hours ago










2 Answers
2






active

oldest

votes


















2












$begingroup$

It’s not clear that the overlaps among the K-M curves are so bad. There might be some crossing at very early times and curves come close to each other at some later times but that type of variability might not be inconsistent with proportional hazards.



You will have to use your judgement about the underlying subject matter to decide whether this is close enough to proportional hazards for your purposes. You can’t strictly prove that proportional hazards hold so the judgement is whether there is enough evidence against them to matter for your application.






share|cite|improve this answer









$endgroup$




















    2












    $begingroup$

    You are comparing descriptive data (kaplan meier lines are crossing) with inference test (schoenfeld test) which in case of a not significant test usually seem to contradict because there is usually some descriptive difference. Imagine someone checking for normal distribution: a not significant Kolmogorov-Smirnov test (= inference test) doesn't mean that the QQ plot (= descriptive data) follows perfectly a normal distribution. Same is true for a not significant t-test where means are not exactly the same. And so on. And as always with tests of significance: they depend on sample size.



    In this example I would say that the hazards are not perfectly proportional which can be seen in the kaplan meier plots. But this is not a significant violation of the assumption judged by the schoenfeld test. The problem may arise if one strictly follows the scentence you quoted "If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold" which I would question because sometimes there may be "a little" scrossing like here what not means that proportional assumption must be wrong. If this were true there would be no need for a significance test like the schoenfeld test.






    share|cite|improve this answer











    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "65"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      imageUploader:
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      ,
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f401515%2fschoenfled-residua-test-shows-proportionality-hazard-assumptions-holds-but-kapla%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      It’s not clear that the overlaps among the K-M curves are so bad. There might be some crossing at very early times and curves come close to each other at some later times but that type of variability might not be inconsistent with proportional hazards.



      You will have to use your judgement about the underlying subject matter to decide whether this is close enough to proportional hazards for your purposes. You can’t strictly prove that proportional hazards hold so the judgement is whether there is enough evidence against them to matter for your application.






      share|cite|improve this answer









      $endgroup$

















        2












        $begingroup$

        It’s not clear that the overlaps among the K-M curves are so bad. There might be some crossing at very early times and curves come close to each other at some later times but that type of variability might not be inconsistent with proportional hazards.



        You will have to use your judgement about the underlying subject matter to decide whether this is close enough to proportional hazards for your purposes. You can’t strictly prove that proportional hazards hold so the judgement is whether there is enough evidence against them to matter for your application.






        share|cite|improve this answer









        $endgroup$















          2












          2








          2





          $begingroup$

          It’s not clear that the overlaps among the K-M curves are so bad. There might be some crossing at very early times and curves come close to each other at some later times but that type of variability might not be inconsistent with proportional hazards.



          You will have to use your judgement about the underlying subject matter to decide whether this is close enough to proportional hazards for your purposes. You can’t strictly prove that proportional hazards hold so the judgement is whether there is enough evidence against them to matter for your application.






          share|cite|improve this answer









          $endgroup$



          It’s not clear that the overlaps among the K-M curves are so bad. There might be some crossing at very early times and curves come close to each other at some later times but that type of variability might not be inconsistent with proportional hazards.



          You will have to use your judgement about the underlying subject matter to decide whether this is close enough to proportional hazards for your purposes. You can’t strictly prove that proportional hazards hold so the judgement is whether there is enough evidence against them to matter for your application.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered 8 hours ago









          EdMEdM

          22.2k23496




          22.2k23496























              2












              $begingroup$

              You are comparing descriptive data (kaplan meier lines are crossing) with inference test (schoenfeld test) which in case of a not significant test usually seem to contradict because there is usually some descriptive difference. Imagine someone checking for normal distribution: a not significant Kolmogorov-Smirnov test (= inference test) doesn't mean that the QQ plot (= descriptive data) follows perfectly a normal distribution. Same is true for a not significant t-test where means are not exactly the same. And so on. And as always with tests of significance: they depend on sample size.



              In this example I would say that the hazards are not perfectly proportional which can be seen in the kaplan meier plots. But this is not a significant violation of the assumption judged by the schoenfeld test. The problem may arise if one strictly follows the scentence you quoted "If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold" which I would question because sometimes there may be "a little" scrossing like here what not means that proportional assumption must be wrong. If this were true there would be no need for a significance test like the schoenfeld test.






              share|cite|improve this answer











              $endgroup$

















                2












                $begingroup$

                You are comparing descriptive data (kaplan meier lines are crossing) with inference test (schoenfeld test) which in case of a not significant test usually seem to contradict because there is usually some descriptive difference. Imagine someone checking for normal distribution: a not significant Kolmogorov-Smirnov test (= inference test) doesn't mean that the QQ plot (= descriptive data) follows perfectly a normal distribution. Same is true for a not significant t-test where means are not exactly the same. And so on. And as always with tests of significance: they depend on sample size.



                In this example I would say that the hazards are not perfectly proportional which can be seen in the kaplan meier plots. But this is not a significant violation of the assumption judged by the schoenfeld test. The problem may arise if one strictly follows the scentence you quoted "If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold" which I would question because sometimes there may be "a little" scrossing like here what not means that proportional assumption must be wrong. If this were true there would be no need for a significance test like the schoenfeld test.






                share|cite|improve this answer











                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  You are comparing descriptive data (kaplan meier lines are crossing) with inference test (schoenfeld test) which in case of a not significant test usually seem to contradict because there is usually some descriptive difference. Imagine someone checking for normal distribution: a not significant Kolmogorov-Smirnov test (= inference test) doesn't mean that the QQ plot (= descriptive data) follows perfectly a normal distribution. Same is true for a not significant t-test where means are not exactly the same. And so on. And as always with tests of significance: they depend on sample size.



                  In this example I would say that the hazards are not perfectly proportional which can be seen in the kaplan meier plots. But this is not a significant violation of the assumption judged by the schoenfeld test. The problem may arise if one strictly follows the scentence you quoted "If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold" which I would question because sometimes there may be "a little" scrossing like here what not means that proportional assumption must be wrong. If this were true there would be no need for a significance test like the schoenfeld test.






                  share|cite|improve this answer











                  $endgroup$



                  You are comparing descriptive data (kaplan meier lines are crossing) with inference test (schoenfeld test) which in case of a not significant test usually seem to contradict because there is usually some descriptive difference. Imagine someone checking for normal distribution: a not significant Kolmogorov-Smirnov test (= inference test) doesn't mean that the QQ plot (= descriptive data) follows perfectly a normal distribution. Same is true for a not significant t-test where means are not exactly the same. And so on. And as always with tests of significance: they depend on sample size.



                  In this example I would say that the hazards are not perfectly proportional which can be seen in the kaplan meier plots. But this is not a significant violation of the assumption judged by the schoenfeld test. The problem may arise if one strictly follows the scentence you quoted "If Kaplan-Meier plots cross each other then proportional hazard assumption does not hold" which I would question because sometimes there may be "a little" scrossing like here what not means that proportional assumption must be wrong. If this were true there would be no need for a significance test like the schoenfeld test.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited 8 hours ago

























                  answered 8 hours ago









                  igoR87igoR87

                  1266




                  1266



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Cross Validated!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid


                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.

                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstats.stackexchange.com%2fquestions%2f401515%2fschoenfled-residua-test-shows-proportionality-hazard-assumptions-holds-but-kapla%23new-answer', 'question_page');

                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

                      Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

                      Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery