Binomial Distribution

Compact study note.

Summary

The binomial distribution counts successes in a fixed number of independent Bernoulli trials with common success probability.[1]

Prerequisites

Definition

X∼Binomial(n,p) when X=∑i=1nXi for IID Xi∼Bernoulli(p) .

Notation and Assumptions

Trials are independent, n is fixed before observing data, and p is constant across trials.

Parameters

n∈{0,1,2,…} and 0≤p≤1 .

Support

{0,1,…,n} .

PMF or PDF

P(X=k)=(nk)pk(1−p)n−k for k=0,…,n .

CDF

FX(k)=∑j=0⌊k⌋(nj)pj(1−p)n−j .

Moments

E[X]=np , Var(X)=np(1−p) , and MX(t)=(1−p+pet)n .

Essential Result

The binomial model fixes the number of trials and randomizes the number of successes.

Small Example

For five fair coin flips, P(X=3)=(53)(0.5)3(0.5)2=0.3125 .

Common Mistakes

Connections

References


  1. OpenStax, Introductory Statistics 2e, "Chapter 4: Discrete Random Variables", https://openstax.org/books/introductory-statistics-2e/pages/4-introduction ↩︎