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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 417 views
  • 0 likes
  • 2 in conversation