Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Drawing Kaplan-Meier graphs.

    I have a dataset (Mc-Call data set, Cameron-Trivedi, 2005) In the dataset, the variables c1 and c2 respectively show the full-time and part-time job status. c1 takes 1 if re-employed at full-time job. And c2 takes 1 if re-employed at part-time job.

    My question is to estimate the Kaplan–Meier nonparametric survival and integrated hazard function estimates by type of censoring, that is, by whether transition is to full-time or part-time employment. How can I do this?

    Thank you
    Last edited by Sean Bilic; 29 Jun 2022, 12:13.

  • #2
    Code:
    stset spell, failure(censor1)
    sts graph, ci

    Comment

    Working...
    X