Hello
I have a dataset with lots of repeated measures and dates. I currently have this in the long format
Patient ID . Chemotherapy date blood test date
a 1/5/19 29/4/19
a . 1/5/19
I am trying to group the blood test dates for the patients with the corresponding chemotherapy date. I have all the dates in STATA format. Then I want to understand how many tests typically a patient will have for each of their chemotherapy dates. I am really stuck as how to do this as I am fairly new to STATA.
Would be grateful for any advice or pointers!
Related Posts with Grouping dates
How to check correlation among 2000+ variables in a quick way?Hi, all, I had a data set of 2000+ variables (all binary or categorical), for example, 1000+ are …
From SPSS to StataDear All, I need some help in converting a couple of SPSS files to Stata 13. Thanks, Dapel …
Plotting a (curvilinear) mediated relationI am working with a mediated-moderated model like that in Fig. 1. All variables in the model are con…
Convert composite string variable delimited by commas into separate dummy variablesHi, I have observations of building tenants which has a string variable recording the floors they oc…
Can anyone explain to me what the meaning of %9.0g is?I'm confused about Stata formats. I try to see Stata help format file, but I'm still confused. …
Subscribe to:
Post Comments (Atom)
0 Response to Grouping dates
Post a Comment