WordGPT

Binomial distribution, n = 25, p = 0.3

For X ~ Binomial(n = 25, p = 0.3) the mean is 7.500, the variance 5.250 and the standard deviation 2.291. The most likely number of successes is 7, with probability 0.1712.

00.050.10.150.2123456789101112131415kP(X = k)
P(X = k) for n = 25, p = 0.3; the orange bar is the most likely value, k = 7.

How to work it out

  1. 1

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

    X∼Bin(25, 0.3)X \sim \mathrm{Bin}(25,\ 0.3)
  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)=(258) 0.38 0.717=0.1651P(X=8) = \binom{25}{8}\,0.3^{8}\,0.7^{17} = 0.1651
  4. 4

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

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

    Both np = 7.500 and n(1āˆ’p) = 17.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{25}{k}\,0.3^{k}\,0.7^{25-k} \]
\[ X \sim \mathrm{Bin}(25,\ 0.3) \]
\[ P(X=k) = \binom{n}{k} p^{k} (1-p)^{n-k} \]
\[ P(X=8) = \binom{25}{8}\,0.3^{8}\,0.7^{17} = 0.1651 \]
\[ \mu = np = 7.500,\qquad \sigma = \sqrt{np(1-p)} = 2.291 \]

Binomial(25, 0.3) probabilities

kP(X = k)P(X ≤ k)P(X ≄ k)
10.00140.00160.9999
20.00740.00900.9984
30.02430.03320.9910
40.05720.09050.9668
50.10300.19350.9095
60.14720.34070.8065
70.17120.51180.6593
80.16510.67690.4882
90.13360.81060.3231
100.09160.90220.1894
110.05360.95580.0978
120.02680.98250.0442
130.01150.99400.0175
140.00420.99820.0060
150.00130.99950.0018

Summary

QuantityValue
Mean np7.500
Variance np(1āˆ’p)5.250
Standard deviation2.291
Most likely value7
P(at least one success)0.9999
P(no success)0.0001
Normal approximation usableyes

Questions

What is the mean of a binomial with n = 25 and p = 0.3?

μ = np = 7.500.

What is the standard deviation of Binomial(25, 0.3)?

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

What is the probability of exactly 8 successes in 25 trials with p = 0.3?

0.1651.

What is the probability of at least one success?

1 āˆ’ (1 āˆ’ 0.3)^25 = 0.9999.

Can I use the normal approximation for n = 25, p = 0.3?

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

Other n for the same p

Other p for the same n

    Binomial distribution n = 25, p = 0.3: probabilities, mean and standard deviation | WordGPT