turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- SAS Programming
- /
- SAS Procedures
- /
- Assymetrical confidence intervals in PHREG, how po...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-02-2017 11:50 AM

Hi all,

This afternoon I decided to plot my hazard ratio's and confidence intervals in a forest plot (horizontal bars). However, when I plot my effect sizes and confidence intervals, they are not symmmetrical (e.g. the length from the effect size to the upper and lower bound are not equal....). I have no clue how this could have happened.

I obtained by data with the PHREG procedure. The piece of syntax I used looks basically like this:

PROC PHREG data=mydata;

CLASS var1 var2 var3/ref=first;

MODEL survival*censor(0) = var1 var2 var3 / RL;

RUN;

Really hope someone can help me out!

Kind regards,

Marjolein

Accepted Solutions

Solution

01-02-2017
03:16 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-02-2017 01:43 PM

I believe this is correct. Your likely plotting on a linear scale, while the model developed is an exponential model.

Answe is similar to this :

All Replies

Solution

01-02-2017
03:16 PM

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-02-2017 01:43 PM

I believe this is correct. Your likely plotting on a linear scale, while the model developed is an exponential model.

Answe is similar to this :

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-02-2017 03:16 PM

Ah! That makes sense!!! Thank you so much. This is quite a relief

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

01-03-2017 03:05 PM

By default the oddsratio plot is on a linear scale. You can use the LOGBASE=10 option on the PLOTS=ODDSRATIO option to generate the oddsratio plot on a log scale, which I think is more natural. See the discussion and example in the article "Odds ratio plots with a logarithmic scale in SAS."