WordGPT

Binomial distribution, n = 30, p = 0.8

For X ~ Binomial(n = 30, p = 0.8) the mean is 24.000, the variance 4.800 and the standard deviation 2.191. The most likely number of successes is 24, with probability 0.1795.

00.050.10.150.2161718192021222324252627282930kP(X = k)
P(X = k) for n = 30, p = 0.8; the orange bar is the most likely value, k = 24.

How to work it out

  1. 1

    A binomial counts the successes in n = 30 independent trials, each with probability p = 0.8 of success.

    X∼Bin(30, 0.8)X \sim \mathrm{Bin}(30,\ 0.8)
  2. 2

    The probability of exactly k successes is the number of ways to choose them times the probability of one such sequence.

    P(X=k)=(nk)pk(1āˆ’p)nāˆ’kP(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k}
  3. 3

    For example, the most common value k = 24 (the nearest whole number to the mean):

    P(X=24)=(3024) 0.824 0.26=0.1795P(X=24) = \binom{30}{24}\,0.8^{24}\,0.2^{6} = 0.1795
  4. 4

    The mean and the standard deviation come straight from n and p.

    μ=np=24.000,σ=np(1āˆ’p)=2.191\mu = np = 24.000,\qquad \sigma = \sqrt{np(1-p)} = 2.191
  5. 5

    Both np = 24.000 and n(1āˆ’p) = 6.000 are at least 5, so a normal curve with this mean and standard deviation approximates the distribution well.

LaTeX source of the formulas on this page
\[ P(X=k) = \binom{30}{k}\,0.8^{k}\,0.2^{30-k} \]
\[ X \sim \mathrm{Bin}(30,\ 0.8) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=24) = \binom{30}{24}\,0.8^{24}\,0.2^{6} = 0.1795 \]
\[ \mu = np = 24.000,\qquad \sigma = \sqrt{np(1-p)} = 2.191 \]

Binomial(30, 0.8) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
160.00070.00090.9998
170.00220.00310.9991
180.00640.00950.9969
190.01610.02560.9905
200.03550.06110.9744
210.06760.12870.9389
220.11060.23920.8713
230.15380.39300.7608
240.17950.57250.6070
250.17230.74480.4275
260.13250.87730.2552
270.07850.95580.1227
280.03370.98950.0442
290.00930.99880.0105
300.00121.00000.0012

Summary

QuantityValue
Mean np24.000
Variance np(1āˆ’p)4.800
Standard deviation2.191
Most likely value24
P(at least one success)1.0000
P(no success)0.0000
Normal approximation usableyes

Questions

What is the mean of a binomial with n = 30 and p = 0.8?

μ = np = 24.000.

What is the standard deviation of Binomial(30, 0.8)?

σ = √(np(1āˆ’p)) = 2.191.

What is the probability of exactly 24 successes in 30 trials with p = 0.8?

0.1795.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.8)^30 = 1.0000.

Can I use the normal approximation for n = 30, p = 0.8?

Yes: np = 24.000 and n(1āˆ’p) = 6.000 are both at least 5.

Other n for the same p

Other p for the same n

    Binomial distribution n = 30, p = 0.8: probabilities, mean and standard deviation | WordGPT