WordGPT

Binomial distribution, n = 30, p = 0.25

For X ~ Binomial(n = 30, p = 0.25) the mean is 7.500, the variance 5.625 and the standard deviation 2.372. The most likely number of successes is 7, with probability 0.1662.

00.050.10.150.212345678910111213141516kP(X = k)
P(X = k) for n = 30, p = 0.25; the orange bar is the most likely value, k = 7.

How to work it out

  1. 1

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

    X∼Bin(30, 0.25)X \sim \mathrm{Bin}(30,\ 0.25)
  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 = 8 (the nearest whole number to the mean):

    P(X=8)=(308) 0.258 0.7522=0.1593P(X=8) = \binom{30}{8}\,0.25^{8}\,0.75^{22} = 0.1593
  4. 4

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

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

    Both np = 7.500 and n(1āˆ’p) = 22.500 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.25^{k}\,0.75^{30-k} \]
\[ X \sim \mathrm{Bin}(30,\ 0.25) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=8) = \binom{30}{8}\,0.25^{8}\,0.75^{22} = 0.1593 \]
\[ \mu = np = 7.500,\qquad \sigma = \sqrt{np(1-p)} = 2.372 \]

Binomial(30, 0.25) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
10.00180.00200.9998
20.00860.01060.9980
30.02690.03740.9894
40.06040.09790.9626
50.10470.20260.9021
60.14550.34810.7974
70.16620.51430.6519
80.15930.67360.4857
90.12980.80340.3264
100.09090.89430.1966
110.05510.94930.1057
120.02910.97840.0507
130.01340.99180.0216
140.00540.99730.0082
150.00190.99920.0027
160.00060.99980.0008

Summary

QuantityValue
Mean np7.500
Variance np(1āˆ’p)5.625
Standard deviation2.372
Most likely value7
P(at least one success)0.9998
P(no success)0.0002
Normal approximation usableyes

Questions

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

μ = np = 7.500.

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

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

What is the probability of exactly 8 successes in 30 trials with p = 0.25?

0.1593.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.25)^30 = 0.9998.

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

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

Other n for the same p

Other p for the same n

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