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
Resize graphs for putexcel but obtain good qualityDear all I am creating a data report with Excel and use putexcel to transfer the Stata graphs to ex…
Plot the estimated hazard curve at mean-1*SD mean, and mean+1*SD after fitting survival analysis using Stata.Hi, everybody, I have a dataset like this, * Example generated by -dataex. clear input int id int ti…
GLS Fixed Effects regression, Omitted because of CollinearityDear Stata community, Hi, I have a panel data (Company ID, years) independent variables(MTB, size, …
generating a new variable based on 2 conditionshello there new stata user i have a dataset that look like this date_m com date com_ret Date com_c…
Unbalanced Panel - Structural BreaksI have an unbalanced panel dataset. I am looking to do structural break analysis and came across xtb…
Subscribe to:
Post Comments (Atom)
0 Response to Splitting follow-up time in months
Post a Comment