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
GMM problem - Sargan Arellano-Bond testDear Statalist members, I have been trying to implement xtdpdsys in my paper. However, based on my …
Multiple variable names in one rowHello all, I run multiple regressions with mostly the same variable names, but still some different…
merge dataHello everyone, sorry for asking many questions …
Fill column based on simple rulesSAMPLE DATA: Code: input person var1 1 1 1 2 1 . 1 3 1 1 1 4 2 2 2 2 2 . 2 . 2 3 2 3 3 3 3 4 3 . 3 …
iterations to find 2 breakpointshi! is there any suggestion to find two breakpoints in an equation other than iterating over a nl es…
Subscribe to:
Post Comments (Atom)
0 Response to Grouping dates
Post a Comment