Hello.
I have a dataset with multiple follow-up dates (fu1, fu2 etc.) and corresponding morbidity scores (morb_a1, morb_b1, morb_a2, morb_b2 etc).
I seek to identify the follow-up dates closest to certain time points after start of radiotherapy (RTstart) and very importantly their corresponding morbidity scores. The time points are 3, 6, 12, 24, 36, 48 and 60 months.
If the follow-up date closest to this time point has a missing value for its corresponding morbidity, I wish to identify the second-nearet follow-up date and its corresponding morbidity score and so forth.
The format of my follow-up dates are %tdnn/dd/CCYY.
id RTstart fu1 morb_a1 morb_b1 fu2 morb_a2 morb_b2 fu3 morb_a3 morb_b3
Thanks a lot in advance,
Line.
Related Posts with identifying follow-up dates closest to a certain value
Problem regarding how to create categories under categories.Hello, this is my question. Thank you. Array …
Help with xtabond2 and xtdpdsysDear Statalist, I already searched for this topic and found similar threads, but I still have probl…
Seeking guidance for the interval specification of rangestat commandDear Stata community, I have stock returns file from CRSP where the date format follows business ca…
New to this - anova testI am very new to stata so bear with me.. I have conducted an experiment where we measure a hormone i…
generate four categories from two variablesDear all, This is a very annoying problem and the solution is most definitely very simple. I would…
Subscribe to:
Post Comments (Atom)
0 Response to identifying follow-up dates closest to a certain value
Post a Comment