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
------------------------------
Original Message:
Sent: Wed May 15, 2024 07:48 AM
From: Meni Berger
Subject: KM article is missing a crucial part
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!