Precision based sample size for a proportion

How can i get the probability of obtaining a confidence interval(CI), (for a proportion) less than or equal to the CI that i specified when using ranges of sample sizes (given the probability of outcome )?
I am actually asking about some library that is equivalent to PROC POWER/onesamplefreq statement in SAS.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.