Sampling Distribution of the Sample Proportion Calculator


Instructions: Use this calculator to compute probabilities associated to the sampling distribution of the sample proportion. You just need to provide the population proportion (p)(p), the sample size (nn), and specify the event you want to compute the probability for in the form below:

Population Proportion (p)(p) =
Sample Size (n)(n) =
Use Continuity Correction?
Two-Tailed:
p^\le \hat p \le
Left-Tailed:
p^ \hat p \le
Right-Tailed:
p^ \hat p \ge

More About Sampling Distribution of the Sample Proportion

The sample proportion is defined as p^=Xn\displaystyle \hat p = \frac{X}{n} , where XX is the number of favorable cases and nn is the sample size. This situation can be conceived as nn successive Bernoulli trials XiX_i, such that Pr(Xi=1)=p\Pr(X_i = 1) = p and Pr(Xi=0)=1p\Pr(X_i = 0) = 1-p. In this context, the number of favorable cases is i=1nXi\displaystyle \sum_{i=1}^n X_i, and the sample proportion p^\hat p is obtained by averaging X1,X2,....,XnX_1, X_2, ...., X_n. This indicates that when the sample size is large enough we can use the normal approximation by virtue of the Central Limit Theorem.

The mean and standard error of the sample proportion are:

μ(p^)=p\mu (\hat p) = p σ(p^)=p(1p)n\sigma (\hat p) = \displaystyle \sqrt{\frac{p(1-p)}{n}}

Therefore, when the sample size is large enough, and np10np \geq 10 and n(1p)10n(1-p) \geq 10, then we can approximate the probability Pr(p1p^p2)\Pr( p_1 \le \hat p \le p_2) by

Pr(p1p^p2)=Pr(p1pp(1p)np^pp(1p)np2pp(1p)n) \Pr( p_1 \le \hat p \le p_2) = \Pr( \frac{p_1-p}{\sqrt{\frac{p(1-p)}{n}}} \le \frac{\hat p-p}{\sqrt{\frac{p(1-p)}{n}}} \le \frac{p_2-p}{\sqrt{\frac{p(1-p)}{n}}}) Pr(p1pp(1p)nZp2pp(1p)n)\approx \Pr( \frac{p_1-p}{\sqrt{\frac{p(1-p)}{n}}} \le Z \le \frac{p_2-p}{\sqrt{\frac{p(1-p)}{n}}} )

It is customary to apply a continuity correction factor cf=0.5ncf = \frac{0.5}{n} to compensate for the fact that the underlying distribution is discrete, especially when the sample size is not sufficiently large. If you are looking for the sampling distribution of the sample mean, use this calculator instead

log in to your account

Don't have a membership account?
REGISTER

reset password

Back to
log in

sign up

Back to
log in