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?
Fractional or beta regression, with weights that reflect the inverse variance of the proportionDear Statalisters, I am thinking of fitting a fractional response or beta regression for Y on X, fo…
Interaction terms for two dummiesHi I have a question about the interaction term for two dummies (In fact, my question is little bit …
MATA Error "Nothing found where while expected"I am studying from the STATA guide. I typed MATA and then copied and entered the following command a…
Is the normalized dependent variable suitable for fractional model or tobit model?The range of my dependent variable Y is [0,inf). Since it is left censored to zero, the tobit model …
Hausman TestHello, I am performing a hausman test to test if i should perform a fixed or a random effects regre…
Subscribe to:
Post Comments (Atom)
0 Response to How to count a purchase date of medicines?
Post a Comment