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
Help with merging two datasetsDear all, I am using Stata 16, on mac. I have attached the two excel datasets that I am working wit…
Problem with variables names inside loopsHi all, I have a set of variables named "ratio_##########_co_###" (where # are numbers). My proble…
replace with the last row in each goup Hi STATALIST, Could you please help me to replace meacstdivol_1 with last row within each study_1?…
Fine and Gray calculate individual risksDear all, I would like to calculate the 10-year risk of stroke for each individual in my dataset, g…
DID (Differences-in-difference) regressionDear All, I’m having a problem with DID regression equation. I am using Stata 12. when I ran the re…
Subscribe to:
Post Comments (Atom)
0 Response to Grouping dates
Post a Comment