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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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