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
Meta Analysis - Data input problemI am trying to learn meta analysis and I am using an example from Bland, An Introduction to Medical …
Repeated measures from survey-based scenariosHi everyone, This is my first post, so I hope I am asking the question correctly and this hasn't be…
how to update the list of global macro within foreach loop?Hello, I am trying to run the code below, and my ultimate goal is to draw the scatter plot of the ma…
Stock Price Pattern recognition using kernel regression on stataHello. I am doing a paper on technical analysis pattern recognition using Stata. Below is my initial…
including a constant in a first difference mdoelI have the following question: I want to estimate the effect of retirement on the 'cesd-score' (whi…
Subscribe to:
Post Comments (Atom)
0 Response to Creating episodes within hospital data
Post a Comment