Hi there,
I'm working on data from 2012-2018 concerning HIV-positive pregnant women in treatment and loss to follow-up. For those who have been in treatment more than once in relation to having more children, their ID occurs two, three or four times. The information attached to the duplicate ID's are, among other, start and end date (some end dates are missing) of treatment. I need to maintain the "latest" IDs and date variables for those that occur more than once in order to trace their lastes contact (among those where end date is missing) with the clinic and register whether or not they are LTFU. Each woman is only supposed to occur once during the study period. If I make a simple "duplicates drop idp, force" I will have to use the start date of their first treatment and their latest contact with the clinic from later visits to calculates their follow-up time which then will be too long.
Any thoughts? (I'm using Stata 14 on a Mac)
Thank you!
Best regards, Laura
Array
Related Posts with How to choose which duplicates to drop/keep?
How do do multilevel multinomial regression for multiply imputed data?Hello Everyone, I'm doing a project on how high school racial segregation may impact racial/ethnic …
Cross-sectional regression for each ind and yearDear All, I need to estimate a model using a cross-sectional regression for each industry and year …
(Easy) Quadratic term of variable in regression: Joint hypothesis testHello, when a variable enters an estimation model in a quadratic term as well, there are two coeffic…
SYS-GMM: Problem of overidentifying restrictionsHello everybody, I want to analyse determinants of corporate leverage in the past twenty years (wit…
Calculating global score for an indicatorI'd like to request for some explanation on how to calculate GLOBAL SCORE in Stata. I am not sure if…
Subscribe to:
Post Comments (Atom)
0 Response to How to choose which duplicates to drop/keep?
Post a Comment