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?
VAR Model: Ommited data for lagged variablesDear All, Firstly, sorry I can't attach my result tables here. I am struggling to figure out how to…
Loop Error When Mathematical Functions Performed on LocalI am trying to do the following: Code: local i 10 local j 20 quietly summ n local t r…
Using GSEM to predict multinomial logit with different choice setsI am trying to build a multinomial logit model using GSEM as I want to incorporate random effects. M…
General questions on Latent Class Analysis / no. of variables / model fitDear all, I have some general questions on Latent Class Analysis that are probably not really Stata…
Coefficients above 1I am running a two regression analysis. One between DA and both PROT and AUFEE (DA is the dependent …
Subscribe to:
Post Comments (Atom)
0 Response to How to count a purchase date of medicines?
Post a Comment