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
Rolling average using a variable as weight with tssmooth or otherI would like to calculate the rolling average of the estimated beta coefficient via statsby (say "_b…
test posting results Code: Cohort | Freq. Percent Cum. ------------+---------------------------------…
Bug in "tsegen"There is a bug in "tsegen" when the number of lags increase above 100. Is there any way to fix it? …
Overlapping maps from two different coordinate datasets.I have constructed two maps of Nepal both attached below. One reflects 7 provinces while the other r…
Encoding strings stored as negative numbersHello I noticed something which puzzled me when trying to convert a variable stored partly as negat…
Subscribe to:
Post Comments (Atom)
0 Response to plot hazard ratio and confidence intervals
Post a Comment