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
Number of unique firms/ industriesHi I have a panel data. Gvkey is an identifier for firms and Fyear is an identifier for year. Sic is…
Help with asdoc - regression tablesDisclaimer: asdoc is a user written command by Dr. Ataullah Shah I am regressing with a categorical…
Problem with a counterfactual analysis of the Theil-index decompositionHi Statalist, I'm writing a paper concerning changes in in wage-inequality over time in relation to …
Have question about winsor2 proceduresDear Statalists, I hope you are well. I would like to ask you please about the process of using the…
ivregress and suestHi, I'm trying to use Oaxaca decomposition and within that, I'm trying to estimate the models using…
Subscribe to:
Post Comments (Atom)
0 Response to Multiple continuous stays into single claim
Post a Comment