Weighted Kaplan-Meier curves in survival analysis in SPSS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Weighted Kaplan-Meier curves in survival analysis in SPSS

Bane Ling
Hi there, I am having some difficulty in finding out how to perform a weighted Kaplan-meier curves. Please see the image for sample data.

The Group variable indicates whether the individual is from a case (=1) or control (=0), one case can have one or more controls. Everybody gets an event (=1) thus there is no censored data, and the time-to-event is coded in the WaitTime variable. I was able to do a simple Kaplan-Meier curve with 1 case per 3 controls, but I am trying to find out how I can incorporate, like in this scenario, in which a case can have different numbers of control in a weighted K-M curve.

I have tried searching on the net and looked at the program's help file without success in finding the exact procedure. I have tried to used data > weight cases (using the Strata variable) > then perform a Kaplan-Meier curve, but not entirely sure if this is the right method (got a feeling that it is not).