MathorynMathematical Formula Database

Statistics & Probability

Mean and Variance of a Binomial Distribution

A binomial random variable counting successes in nn independent trials with probability pp has mean npnp and variance np(1−p)np(1-p). These are used to describe expected counts and to apply the normal approximation.

μ=np,σ2=np(1−p)\mu=np,\qquad \sigma^2=np(1-p)
LaTeX\mu=np,\qquad \sigma^2=np(1-p)

Variables

nn
number of trials
pp
success probability
μ, σ2\mu,\ \sigma^2
mean and variance

Example

Find μ\mu, σ2\sigma^2 and σ\sigma for n=100n=100, p=0.3p=0.3.

  1. μ=100⋅0.3=30\mu=100\cdot0.3=30.
  2. σ2=30⋅0.7=21\sigma^2=30\cdot0.7=21.

Answer: μ=30\mu=30, σ2=21\sigma^2=21, σ≈4.583\sigma\approx4.583.

Related formulas