SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  KM article is missing a crucial part

    Posted Wed May 15, 2024 07:49 AM

    Hello Community!

     

    I was using this article- Kaplan-Meier survival curve with confidence limits to produce a CI for KM model. Still, it is missing the part regarding the overlay scatterplot design method.

     

    Anyone knows how to complete the missing part? Or any other method for drawing CI for KM models?

     

    Thanks!

     

             

    Meni Berger |

    Data Scientist and Head of Tech  Support

    Email  -  Meni@genius.co.il

    11 Menachem Begin st.,  Ramat Gan

    www.genius.co.il

    Click here to open a support ticket  

    Title: LinkedIn - Description: image of LinkedIn icon

     

     



  • 2.  RE: KM article is missing a crucial part
    Best Answer

    Posted Wed May 15, 2024 05:14 PM

    Hi @Meni Berger

    Does this command syntax do what you were thinking of?  If so, I will update that Knowledgebase Article.

    GET
      FILE='/Applications/IBM SPSS Statistics/Resources/Samples/English/pain_medication.sav'.
    DATASET NAME Pain WINDOW=FRONT.

    KM time
    /STATUS=status(1)
    /PRINT TABLE MEAN
    /SAVE SURVIVAL SE.

    COMPUTE lcl = sur_1-1.96*se_1 .
    COMPUTE ucl = sur_1+1.96*se_1 .
    IF (ucl>1) ucl = 1 .
    EXECUTE .
    SORT CASES BY
    time (A) .

    DATASET ACTIVATE Pain.
    GRAPH
      /SCATTERPLOT(OVERLAY)=lcl SUR_1 ucl WITH time time time (PAIR)
      /MISSING=LISTWISE.



    ------------------------------
    David Dwyer
    SPSS Technical Support
    IBM Software
    ------------------------------



  • 3.  RE: KM article is missing a crucial part

    Posted Thu May 16, 2024 03:30 AM

    Amazing! Thanks a bunch!



    ------------------------------
    Meni Berger
    ------------------------------