Dear Stata team,
hi again,
I am trying to run the survival analysis. I have multiple records per subject. the participant come to the clinic and the specimen is taken to measure the outcome (it takes many days for the outcome to be detected) and some times the participant may come to the next visit when the second sample is collected from him before the results of the first sample shows up.
these overlapping between the visit2 and the outcome of visit1 should be independent meaning that it doesn't matter if they result of visit1 comes before sampling in visit2. what matters is the duration that we observe for each sampling to be detected.
is there a way where I can get rid of this overlapping issue? does it affect the analysis?
I have these variables:
date of sampling
date of detection
detection result (0 for positive and 1 for negative)
I used the following
stset date of detection, id(id) failure(detection result==1) time0(date of sampling)
any help on this ?
thank you very much
best regards
Umama
hi again,
I am trying to run the survival analysis. I have multiple records per subject. the participant come to the clinic and the specimen is taken to measure the outcome (it takes many days for the outcome to be detected) and some times the participant may come to the next visit when the second sample is collected from him before the results of the first sample shows up.
these overlapping between the visit2 and the outcome of visit1 should be independent meaning that it doesn't matter if they result of visit1 comes before sampling in visit2. what matters is the duration that we observe for each sampling to be detected.
is there a way where I can get rid of this overlapping issue? does it affect the analysis?
I have these variables:
date of sampling
date of detection
detection result (0 for positive and 1 for negative)
I used the following
stset date of detection, id(id) failure(detection result==1) time0(date of sampling)
any help on this ?
thank you very much
best regards
Umama
Comment