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?
Двухвостый:
\(\le \hat p \le \)
Левохвостый:
\( \hat p \le\)
Правохвостый:
\( \hat p \ge \)

More About Sampling Distribution of 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.

The mean and standard error of the sample proportion are:

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

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

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

Войдите в свою учетную запись

У вас нет учетной записи?
зарегистрироваться

Сброс пароля

Вернуться к
авторизоваться

зарегистрироваться