Hello Kurt- Thank you for the response, actually, the data I provided is a small set from the almost 50K observations I have. Some of the patients have multiple diagnoses of either a 0 or 1. All patients start with a diagnosis of 0 but then I guess you can say they recur by either developing a 0 or 1 so I am trying to figure out how to obtain the count for: number of patients that initially present with a diagnosis of 0 and then develop another 0 and the number of patients that initially present with a diagnosis of 0 and then develop a 1.
... View more