Calculate a dynamic sample size based on a given population of numbers

Viewed 22

I am trying to dynamically calculate a sample size of a list of observations (population). Every week I get a list of purchase orders to audit and I want to calculate a number of the population to audit.

For example this week the list has 7907 items, and a sample of the list to give me a 90% confidence, with a 10% margin of error and 50% response distribution is 68 (used an online calculator to get the number). Is there a way to do this in SAS?

Would "proc power" be the best route to take?

0 Answers
Related