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
Import all files from a folderA folder contains a lot of csv files with similar rows and columns. Without having to list all their…
ONE QUESTION about GSEMDear stata users in GSEM , Is it logically correct to have such a model in general? Array …
Exporting results of Ttests with Unequal variancesI have a bunch of variables and I want to conduct a 2-group mean comparison test with unequal varian…
changing string to floatHi all, greetings! I have a variable named "pcgdp" stored as string. Observations are numeric values…
Converting Weekly Data to Monthly DataI have weekly data that is issued say every Friday (different data sets have different issuance date…
Subscribe to:
Post Comments (Atom)
0 Response to identifying follow-up dates closest to a certain value
Post a Comment