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
Hetprobit with factor variableHeteroskedastic probit estimation with a factor variable gives (slightly) different results than wit…
qui being ignored in xtgcauseWhen I run Code: qui xtgcause y z , lags(2) it does not run entirely quietly but displays yzyzid. I…
Help with labels on bar graphI am trying to create a horizontal bar graph grouped by categories. I wanted to add two labels to th…
Combining Graphs using distplotDear Statalist, I was hoping to get some help on graph output. So I am reading this paper that show…
How to print the help file in STATA with all the word retained?Hi all, When I try to print from STATA help file, I faced the problem of the word at the right part…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple continuous stays into single claim
Post a Comment