I have the below data fields. How to count the number of admissions pre 30 days and post 30 days from the programerolldate with asthma?
id programenrolldate admitvistdate dischargedate los asthma
1 23/01/2013 05/02/2015 14/02/2015 9 0
1 23/01/2013 20/02/2015 28/02/2015 8 0
1 23/01/2013 08/03/2015 04/04/2015 27 1
1 23/01/2013 07/05/2015 07/05/2015 27 1
1 23/01/2013 17/08/2015 17/08/2015 16 1
Appreciate your help.
Related Posts with Counting readmission rate from the index date
Panel data set with spaced time periodsHello Statalist, I am currently analyzing a panel data set of 45 firms across 3 years. However, the…
egen total Addition error in 15.1Dear Statalist Members, I am running into a peculiar issue with Stata 15.1 with the following [i bel…
Geodist datasets into a panelDear all, I have 3 sets of data - the first is 565,000 gridpoint observations of rainfall, with lat…
defining group numbersDear All, I found this question here (https://bbs.pinggu.org/thread-7407152-1-1.html). The data is …
Asdoc QueryHey I have two small questions 1) How to end a nested table and start a new one? 2) How to export A…
Subscribe to:
Post Comments (Atom)
0 Response to Counting readmission rate from the index date
Post a Comment