Hi, I have a long hospital dataset that I need to link to another long dataset to combine information about a group of patients. The hospital dataset has admission date/time and discharge date/time and I have created a lag to show when there is a separation between one episode discharge date and the subsequent admission date of greater than one day. I now need to make this dataset 'wide' (not long to wide I think) - in order to then link it to the second dataset. Could anyone assist please? Thanking you.
Related Posts with Creating episodes within hospital data
Merging multiple cross tabulations that use a common grouped variableGreetings. I'm trying to merge 4-5 cross tabulations, that use a common group variable as one of the…
Static or dynamic panel data regression, test for serial correlationDear Statalist, I am running a fixed effect model (with clustering at firm level) to model investme…
Time fixed effects - once againHi guys, writing my master thesis I am having lots of issues implementing time effects (standard in…
Need help to interpret the interaction term in longitudinal dataHi statisticians, I am new to longitudinal data analysis, and currently learning by myself to be ab…
Line continuation in the shell commandI am looking for a way to continue a shell escape on another line. Here is an example of what happen…
Subscribe to:
Post Comments (Atom)
0 Response to Creating episodes within hospital data
Post a Comment