Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Combining multiple observations by an ID variable


From   Ismail Abdi Ismail <i.a.ismail@studmed.uio.no>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Combining multiple observations by an ID variable
Date   Wed, 12 Feb 2014 11:42:31 +0100

Dear statalist


I have a large dataset with the following variables: Nr(patient ID), Gender, Date of birth, Age group (0-9 etc), Length of stay (LOS), Nr_of_stay (N-Break), Cost, Total_sum_cost (per patient per episode), DRG, DRG-Weight, and ICD-10. I wish to look at the characteristics of different patients groups and Im trying to group all the patients in groups according to resource usage. How to I do this so that each group represents 10 % of the patients ranging in sum cost and how do I detect the top 5% and 1% of patients with the highest costs?


Kind regards

Ismail Abdi Ismail
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index