Announcement

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

  • How to delete the previous irrelevant events?

    Hi everyone, I need hep about how to delete irrelevant events. Each patient in my data has multiple visits/records, for example, from 1st to 10th visits. In his 3rd visit, he had a surgery in our hospital. Right now, my attempt is to keep the records of 3~10 only and get rid of the 1st and 2nd visits because those happened before his surgery. Could any of you suggest a method for this regard? Thank you.

  • #2
    http://www.stata.com/support/faqs/da...t-occurrences/ may suggest how to find the first "relevant" observation according to your criteria.

    Comment

    Working...
    X