- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Hazard ratio and 95% CI figures
I want to make a figure similar to the one attached. My data consists of person year, intake, adjusted hazard ratio and CI. Is it possible to create a figure using this data previously obtained? If so, how can I create it?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Hazard ratio and 95% CI figures
Hi,
I had to extrapolate the format of your data table based on the limited information you provided.
Assuming that your table looks like the one attached, you can create the plot below by adding both the Lower CI and Upper CI values in the INTERVAL box and turning the Interval Style as BAND.
Graph Builder(
Fit to Window( "Off" ),
Graph Spacing( 5 ),
Spacing Borders( 1 ),
Variables(
X( :"Age (Years)"n ),
Y( :Adjusted Log Hazard Ratio ),
Interval( :LOWER CI ),
Interval( :UPPER CI )
),
Elements( Line( X, Y, Legend( 8 ), Interval Style( "Band" ) ) )
)
Let me know if it works for you.
Best,
TS
Thierry R. Sornasse