BookmarkSubscribeRSS Feed
nab102
Fluorite | Level 6

Hi,

I'm new to sas and want to make confidence for braplots ( bounding at 0-100%) . I have dataset with three variables and they are all categorical. This is how the data looks like. 

                 Area_of_interst , Meds, Response, 
                 "Internal Med", "asprin", "yes",
                 "Internal Med", "vitamins","no",
                  "Internal Med", "folic acid","yes",
                  "Emergency Med", "asprin", "yes",
                 "Emergency Med", "vitamins","no",
                  "Emergency Med", "folic acid","yes",

 This is the SAS code I have . Please help me

proc sgplot data = out2;
vbar meds / response = RowPercent group=area_of_interest groupdisplay=cluster ;
where response = "yes";
run;

 

1 REPLY 1
sbxkoenk
SAS Super FREQ

SAS/STAT® 15.2 User's Guide

 

The FREQ Procedure
Example 46.4 Binomial Proportions
https://go.documentation.sas.com/doc/en/statug/15.2/statug_freq_examples04.htm


Statistical Computations -- Binomial Proportion
https://go.documentation.sas.com/doc/en/statug/15.2/statug_freq_details37.htm

 

Usage Note 30333: FASTats: Frequently Asked-For Statistics
https://support.sas.com/kb/30/333.html

Look for the key-term << proportion >> : 20 hits

 

Cheers,

Koen

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 649 views
  • 0 likes
  • 2 in conversation