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)\), the sample size (\(n\)), and specify the event you want to compute the probability for in the form below:

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

Open this calculator in the Dashboard →

More About Sampling Distribution of the Sample Proportion

The sampling distribution of the sample proportion describes how the proportion \(\hat p\) varies across repeated random samples drawn from a population with a known proportion \(p\). Understanding this distribution is essential for constructing confidence intervals and performing hypothesis tests involving proportions.

Sampling Distribution Sample Proportion Calculator

Defining the Sample Proportion

The sample proportion is defined as \(\displaystyle \hat p = \frac{X}{n} \), where \(X\) is the number of favorable cases and \(n\) is the sample size. This situation can be conceived as \(n\) successive Bernoulli trials \(X_i\), such that \(\Pr(X_i = 1) = p\) and \(\Pr(X_i = 0) = 1-p\).

In this context, the number of favorable cases is \(\displaystyle \sum_{i=1}^n X_i\), and the sample proportion \(\hat p\) is obtained by averaging \(X_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.

Mean and Standard Error

The mean and standard error of the sample proportion are:

\[\mu (\hat p) = p\] \[\sigma (\hat p) = \displaystyle \sqrt{\frac{p(1-p)}{n}}\]

Normal Approximation of Probability

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

\[ \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}}}) \] \[\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}}} ) \]

Continuity Correction Factor

It is customary to apply a continuity correction factor \(cf = \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