Good morning,
I have a basic question. I'm starting with stata running a cox model
xi:stcox i.tertile_smoke age sex ...
I'd like to plot the HR of the different tertiles of smoke with the 95% confidence interval as I have in the output of STATA. I tried margins but there are predictive values. I'd like to plot the exact 95% CI that appears in the output of stata for my tertiles of smoke.
I know it's a very basic thing...but any help would be +++ appreciated !
thank you a lot!
Cheng LY
Related Posts with plot hazard ratio and confidence intervals
Loop for moving rangeGoodafternoon, I have a file which includes a significant amount of cusips (S&P1500) and dates …
How to change a line pattern within a same graph? Hi, I would like to plot a graph using Code: twoway line and draw a different graph pattern after …
Panel data: xtoverid rejects RE for model with only time controls; odd result or information?Dear Statalisters, I am using interrupted time series methods on household panel data. I have month…
Creating new outcome variable - invalid syntax r(198) problemI have twelve disease variables in my dataset. I want to to create an outcome variable "multimorbidi…
Need help with dataset with multiple datesHi I am working with a dataset which ahs multiple dates for the same diagnosis for a patient and I o…
Subscribe to:
Post Comments (Atom)
0 Response to plot hazard ratio and confidence intervals
Post a Comment