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
Help with reshape.Hi, this is my data - Code: * Example generated by -dataex-. To install: ssc install dataex clear …
Spanning the columns of the each of two rows using esttabI would like to make the first table, Want This Result. What I have made so far is the second table,…
Collinearity with fixed effectsHello everyone, I have the following doubt, and would really appreciate any help. I am trying to q…
Coding Missing Values for a large set of variablesHi everyone, Im trying to code negative values in my dataset as missing values.i want to do this ac…
How can I plot distinct color for different cluster results in a map setting?Hello everyone! I am doing the hierarchical clustering model in Stata on the county level. My resul…
Subscribe to:
Post Comments (Atom)
0 Response to stsplit at specific date which is different for every observation
Post a Comment