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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 1176 views
  • 1 like
  • 2 in conversation