notes Kaplan-Meir survival

notes Kaplan-Meir survival - Eco 572 Research methods in...

Info icon This preview shows pages 1–2. Sign up to view the full content.

Eco 572: Research methods in Demography Kaplan-Meir Survival Stata has excellent facilities for survival analysis in continuous time, including the Kaplan-Meier estimator. I will illustrate the estimator using the Gehan data discussed in class. These are weeks before relapse of cancer patients in a control and a treated group (coded 1 and 2 respectively). . infile group weeks relapse using /// > (42 observations read) . label define group 1 "Control" 2 "Treated" . label values group group The first thing you do in Stata is stset the data specifying the variable that represents time and the variable that distinguishes failures from censored cases: . stset weeks, fail(relapse) failure event: relapse != 0 & relapse < . obs. time interval: (0, weeks] exit on or before: failure ------------------------------------------------------------------------------ 42 total obs. 0 exclusions ------------------------------------------------------------------------------ 42 obs. remaining, representing 30 failures in single record/single failure data 541 total analysis time at risk, at risk from t = 0 earliest observed entry t = 0 last observed exit t = 35 We get a useful statement about number of failures and total time at risk. To compute and plot the Kaplan-Meier
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 2
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '06
  • Rodriguez
  • Failure rate, Survival analysis

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern