BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
desireatem
Pyrite | Level 9

I have this data with three classes that I wish to plot a forest plot on the same axis with three colors to distinguish between the three classes. The data is as follow;

 

Diagnosis       est.    LCL      UCL      Type

Acne             2        1            3          Class I head       

Acne             3        2.5         4.5       Class II head       

Acne             3.2     2.5         4.3       Class III head     

Asthma          4        1            6          Class I head       

Asthma           5       3.5        7.5       Class II head       

Asthma          7.2     4.5         8.3       Class III head 

.....

The forest plot is for the diagnosis with point estimate (est.), lower confidence limit (LCL) and upper confidence limit (UCL) for each class (distinguish by a color for class I, a color for class II and a color for class III).

Thank you for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
1 REPLY 1
PaigeMiller
Diamond | Level 26

Perhaps this will help

https://blogs.sas.com/content/tag/forest-plot/

--
Paige Miller

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 682 views
  • 1 like
  • 2 in conversation