Hi there, I'm trying to asses if is there an increased risk of virological failure in one year following only the first virological blip among a cohort of HIV patients.
For each participant i have:
Date of entry,
Date of exit (death for those who died)
Date of a virological blip.
Blip is a time depending variable. I would like to expand those patients who had a blip in three different times.
1) entry to time of blip
2) time of blip to one year later
3) one year after the blip to the end of follow-up
I would like to say to stata to cut the follow-up at the time of the blip only for those who have the blip. But they all have blip on different dates and i can't find a command to cut at the time of the blip event.
I hope it was clear.
Hope someone could help.
Pilade
Related Posts with stsplit at specific date which is different for every observation
Generate a new variable based on character ("/") of another variable Code: +-------------------------------------------+ | …
SYS-GMM: Problem of overidentifying restrictionsHello everybody, I want to analyse determinants of corporate leverage in the past twenty years (wit…
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 …
(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…
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 …
Subscribe to:
Post Comments (Atom)
0 Response to stsplit at specific date which is different for every observation
Post a Comment