BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am using PROC FREQ to do a one-way table to get proportions and need binomial confidence intervals. By requesting the binomial option in the tables statement, I get the binomial CI for the first level in the one-way table. For example, say I want to get the proportion of Y in table that has 2 levels, Y and N. If the prop Y is 1, I get the bin CI for Y, if the proportion N is 1, I get the bin CI for N. If the prop Y is .3 and the prop N is .7, I get the bin CI for the first level, in this case N. The problem is when the prop Y or N is 1, I don't know what the bin CI applies to. Is there a way around this?
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
This is not a question related to ODS or the Reporting procedures (PRINT, REPORT or TABULATE). Your best bet for help with this question is to contact Tech Support.

cynthia

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

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