Hello!
This is Babar, quite new here in this forum and here is my first question.
" I have a long data of patients who who were admitted to hospital for cardiovascular diseases and I want to check that, were they were using cardiovascular disease before the admission or not. And I also have a purchase history of medicines on different dates. I want to check that how many used it before admission and how many not? Could kindly guide me how can I count such people. Here is an example of my data.
Person 1: 05jan2010 (admission date) 14jan 2010 (discharge date)
Purchase history: 05 Dec 06 (1st purchase) 02 Feb 07 (second purchase) 05jul07 (3rd purchase) etc.
Thank you in advance.
Related Posts with How to count a purchase date of medicines?
Matching based on SIZE and Industry . dataex ID TIC SIZE PROT Industry_code LN_AUDFEE ----------------------- copy starting from the ne…
Creating a Panel Dataset with Dummies for StataHello, I have downloaded an excel raw data file that is in the form shown below. Is there a quick me…
Crosstab of two variables, specifying a single value for each variableHello Statalist, I'm sure this is a very simply question for most of you. I have two variables, Q4…
Repeating 1 annual data point 4 timesHi, how to I repeat 1 annual datapoint in order to give me 4 quarterly data points to match the rest…
nested forloop with putexcel and use of alphabetHello, I'm trying to export a number of tables into excel. I'm trying to build a nested forloop in …
Subscribe to:
Post Comments (Atom)
0 Response to How to count a purchase date of medicines?
Post a Comment