Hi,
this may seem very basic, but I’m quite new to Stata - I need to compare incidents rates of mortality with the first 6 months following diagnosis of event X. Because event X is not given as binary but it’s the date of diagnosis, I was thinking to use “stsplit” newvar, after(dateX) at(), but how do I cut for months instead of years?
thanks
Related Posts with Splitting follow-up time in months
2 sequential loops, second loop only runs those instances that converged in the firstHello all, I'm running several instances of a maximum likelihood routines in a first set of loops. …
Interaction variable (using dummy and date variables)Hello everyone, I am trying to create an interaction variable by multiplying a dummy variable (0,1)…
regress help requestedI have a dataset in which all the dependent variables are for the years 2020 & 2021. I have 4 de…
Need help with i.year output in aregHello, Thanks for all the help I've received through this forum. I wanted to understand why I got 2 …
Keep only first part of string up until any number, comma, or before the state nameHi All, I am trying to separate an area name in a dataset so I just have the particular city and no…
Subscribe to:
Post Comments (Atom)
0 Response to Splitting follow-up time in months
Post a Comment