BookmarkSubscribeRSS Feed
Ayven
Calcite | Level 5
I was using proc freq to calculate sample size for a binomial proportion and I got numbers that disagree with what I have used in the past for 95% confidence with 95% reliability. Using a sample size of 59 I get:

result Frequency Percent Cumulative

Frequency Cumulative
Percent
Fail 0 0.00 0 0.00
Pass 59 100.00 59 100.00


Binomial Proportion for result = Pass
Proportion (P) 1.0000
ASE 0.0000
95% Lower Conf Limit 1.0000
95% Upper Conf Limit 1.0000

Exact Conf Limits
95% Lower Conf Limit 0.9394
95% Upper Conf Limit 1.0000

I was just curious why SAS gives me a confidence just under 94% and not 95%
1 REPLY 1
ballardw
Super User
When you ask for EXACT you get what points actually in the Binomial distribution. For the sample size you have 0.9394 is as close as the distribution allows without going over.

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!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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