Hi, everyone
The following claims data may include multiple stays for each person, but some stays are continuous. Specifically, it looks like a person was admitted to a hospital on 2012 May 17, and discharged on 2012 May 31 (row 312 in the below image). However, s/he actually stayed until 2012 December 31 (rows 313-319). So I'm wondering how to change the data in the way that continuous stays are treated as a single row. For example, I'd like to change the discharge date for the person to 2012 December 31, not 2012 May 31. However, the number of continuous stays differs by person.
It would be grateful if you could share some insights!
Thank you so much!!
Array
Related Posts with Multiple continuous stays into single claim
Help with summary tableI want to create a table like the one in the attached photo, showing the average values of my variab…
Merging two datasets by different variable names (fuzzy match) - help with reclink and matchitHi, I am using two datasets with the aim to merge them according to the name of the place. The firs…
Moderating Vs. average marginal effects of the modelsHi, Statalisters: I am not so much good in posting on the forum, please excuse me for not adhering t…
Omitted because of collinearityI am running a regression with 5 dummy variables and 6 non-dummy variables. One of the dummy variabl…
Event study with thin trading and many events(clustering)I am doing an event study on the transfer market in football. However during this research, I have e…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple continuous stays into single claim
Post a Comment