S2 1.1, S2 1.2 - The binomial distribution

S2 1.1, S2 1.2 - The binomial distribution

A fixed number of independent attempts produces a count of successes. Learn when the binomial model fits, calculate individual and cumulative probabilities, and use its mean and variance to work backwards to the model's parameters.

Binomial assumptions and model choice

If a player succeeds on three quarters of their attempts, should you expect exactly six successes in eight attempts? Six is a useful average, but the count can vary. A distribution describes that variation.

Imagine eight attempts, each independently successful with probability 0.750.75. Record each attempt as success or failure, then let XX count successes. The possible values are 0,1,…,80,1,\ldots,8, rather than every real number between zero and eight.

Binomial distribution

Write X∼B(n,p)X\sim\mathrm{B}(n,p) when XX counts successes in a fixed number nn of independent trials, each having two categories, success and failure, with the same success probability pp. Its possible values are the integers from 00 to nn.

“Success” names the category counted; it need not be desirable. For example, a defect can be a success in a count of defective components. A trial may have many physical outcomes, provided each is classified into one of two categories: a die throw is either a six or not a six.

For the eight attempts, X∼B(8,0.75)X\sim\mathrm{B}(8,0.75). The picture shows that six is most likely, yet several nearby counts have substantial probability.

[DIAGRAM: asset_name: A binomial success count; asset_slug: s2-binomial-count; caption: Eight independent attempts with success probability 0.75 give a distribution of counts.; description: Bar chart of the binomial distribution with n equal to 8 and p equal to 0.75. Integer counts 0 to 8 are labelled. The bar at 6 has probability approximately 0.311 and is highlighted.]
Eight independent attempts with success probability 0.75 give a distribution of counts.

Consider a different procedure: keep throwing a die until the first six, and count throws. The success probability is constant, but the number of trials is not fixed. This count is not binomial. Checking only one assumption is insufficient.

Key idea

Identify the count, the trial, the fixed number of trials and the success category before writing nn and pp.

Apply that checklist to a new count.

Point and cumulative probabilities

A point probability selects one possible count; a cumulative probability adds all counts up to a boundary.

For three successes among ten trials, any particular ordering has probability p3(1−p)7p^3(1-p)^7. There are (103)\binom{10}{3} possible choices of the three successful positions, so multiply by that number. This is the same coefficient that appears in a binomial expansion.

Binomial point probability

If X∼B(n,p)X\sim\mathrm{B}(n,p), then

P(X=r)=(nr)pr(1−p)n−r,r=0,1,…,n.\mathrm{P}(X=r)=\binom nr p^r(1-p)^{n-r},\qquad r=0,1,\ldots,n.

In the formula booklet. The binomial tables give P(X≤r)\mathrm{P}(X\le r), including the endpoint.

For integer counts, “at least three” is the complement of zero, one or two. Thus P(X≥3)=1−P(X≤2)\mathrm{P}(X\ge3)=1-\mathrm{P}(X\le2). Likewise, “more than three” uses 1−P(X≤3)1-\mathrm{P}(X\le3). Write the count boundaries before using your calculator or tables.

Worked example 1: one count

For X∼B(10,0.3)X\sim\mathrm{B}(10,0.3), find P(X=3)\mathrm{P}(X=3).

Plan. Choose the three successes, then multiply their probability by that of the seven failures.

P(X=3)=(103)(0.3)3(0.7)7=0.266827932….\mathrm{P}(X=3)=\binom{10}{3}(0.3)^3(0.7)^7 =0.266827932\ldots.

Answer. 0.26680.2668, to four decimal places.

Check. The cumulative table gives P(X≤3)−P(X≤2)=0.6496−0.3828=0.2668\mathrm{P}(X\le3)-\mathrm{P}(X\le2)=0.6496-0.3828=0.2668, agreeing after rounding.

Keep the model unchanged and change just the event, from a single count to an inclusive interval.

Worked example 2: an interval of counts

For the same XX, find P(2≤X≤4)\mathrm{P}(2\le X\le4).

Plan. Include counts up to four, then remove counts zero and one.

P(2≤X≤4)=P(X≤4)−P(X≤1)=0.8497−0.1493=0.7004.\begin{aligned} \mathrm{P}(2\le X\le4) &=\mathrm{P}(X\le4)-\mathrm{P}(X\le1)\\ &=0.8497-0.1493\\ &=0.7004. \end{aligned}

Answer. 0.70040.7004, using the supplied table precision.

Check. Adding the three point probabilities gives 0.23347444…+0.26682793…+0.20012095…=0.70042332…0.23347444\ldots+0.26682793\ldots+0.20012095\ldots=0.70042332\ldots.

If p>0.5p>0.5 and you want to use the booklet tables, count failures instead: Y=n−X∼B(n,1−p)Y=n-X\sim\mathrm{B}(n,1-p). For example, X≥8X\ge8 out of ten means Y≤2Y\le2. The event must change with the variable. Direct calculation is also valid.

Watch out

For 2≤X≤42\le X\le4, subtract P(X≤1)\mathrm{P}(X\le1), not P(X≤2)\mathrm{P}(X\le2). The latter removes the required count two.

Use fresh parameters and retain both endpoints.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account