Statistics 4.1 - Discrete and binomial probability distributions

Statistics 4.1 - Discrete and binomial probability distributions

Use a probability distribution to describe a whole set of possible outcomes. Build Binomial models, calculate individual and cumulative probabilities, and decide whether the assumptions fit the situation.

What a discrete distribution tells you

If a spinner has four possible scores, must each score have probability 14\frac14? A spinner with four equal sectors labelled 11, 22, 33 and 44 does. Change the sector sizes, and the same four scores can have quite different probabilities. The list of possible values is only half the story.

You already know

Probabilities lie between 00 and 11. Mutually exclusive outcomes covering every possibility have probabilities adding to 11.

A capital letter names the random variable; a lower-case letter names a possible value. For example, XX is the score on a fair six-sided die, while x=4x=4 is one possible score.

Discrete probability distribution

A discrete random variable takes separate countable values. Its probability distribution lists every possible value xx and its probability P(X=x)P(X=x), with

0≤P(X=x)≤1,∑xP(X=x)=1.0\le P(X=x)\le1,\qquad \sum_x P(X=x)=1.

A discrete uniform distribution has equal probabilities for all its possible values.

The fair die has six probabilities of 16\frac16. A distribution need not be uniform: the Binomial bars on the right have different heights because some counts can occur in more ways than others.

[DIAGRAM: asset_slug: p3_4_1_understand_and_use_simple_discrete_probability_distributions__diagram_01; asset_name: Statistics 4.1 - Discrete and binomial probability distributions - diagram 01; description: Equal-height probabilities for a fair six-sided die beside the unequal probabilities of a Binomial B(6, 0.4) count.]
Diagram

To find an event's probability, add the probabilities of the values it includes. First see this with equal sectors.

Worked example 1: equal spinner sectors

Question. A fair spinner has four equal sectors labelled 11, 22, 33 and 44. Let XX be its score. State its distribution and find P(X≥3)P(X\ge3).

Plan. Give each equally likely score the same probability, then add the included scores.

P(X=x)=14(x=1,2,3,4)four equal sectorsP(X≥3)=P(X=3)+P(X=4)list the included scores=14+14=12add disjoint outcomes\begin{aligned} P(X=x)&=\frac14\quad (x=1,2,3,4) &&\text{four equal sectors}\\ P(X\ge3)&=P(X=3)+P(X=4) &&\text{list the included scores}\\ &=\frac14+\frac14=\frac12 &&\text{add disjoint outcomes} \end{aligned}

Why add? The spinner cannot land on both scores in one spin, so the outcomes are mutually exclusive.

Answer. XX has a discrete uniform distribution on {1,2,3,4}\{1,2,3,4\}, and P(X≥3)=12P(X\ge3)=\frac12.

Check. The full distribution sums to 4×14=14\times\frac14=1; the event uses two of the four equal sectors.

Now change only the sector sizes. The labels stay the same, but equal probabilities can no longer be assumed.

Worked example 2: unequal spinner sectors

Question. A spinner has scores 11, 22, 33 and 44, with P(X=x)=kxP(X=x)=kx. Find kk and P(X≥3)P(X\ge3).

Plan. Use the total probability to find the scale factor, then add the required probabilities.

k+2k+3k+4k=1all probabilities sum to one10k=1⇒k=110solve for the scaleP(X≥3)=3k+4k=710include scores three and four\begin{aligned} k+2k+3k+4k&=1 &&\text{all probabilities sum to one}\\ 10k&=1\quad\Rightarrow\quad k=\frac1{10} &&\text{solve for the scale}\\ P(X\ge3)&=3k+4k=\frac7{10} &&\text{include scores three and four} \end{aligned}

Why find kk first? The numbers 1,2,3,41,2,3,4 describe relative weights; they become probabilities only after scaling their sum to 11.

Answer. k=110k=\frac1{10} and P(X≥3)=710P(X\ge3)=\frac7{10}. The distribution is discrete but not uniform.

Check. Its probabilities are 0.1,0.2,0.3,0.40.1,0.2,0.3,0.4, all nonnegative and summing to 11.

A familiar trap is to divide by the number of values when those values are not equally likely.

Watch out

Four possible scores do not imply P(X=4)=14P(X=4)=\frac14. In the second spinner, P(X=4)=4k=0.4P(X=4)=4k=0.4. Equal probabilities need a reason.

Try the same scaling argument with one extra score. General discrete means and variances are outside this lesson's required calculations.

Building a binomial model

A Binomial variable counts how often one chosen outcome occurs in a fixed number of trials. If a sample contains 3030 bulbs, the random variable is the number of defective bulbs, not the condition of one bulb.

Binomial distribution

Write X∼B(n,p)X\sim B(n,p) when XX counts successes in nn independent trials, each with the same success probability pp. Each trial is classified as success or failure, and nn is fixed before the trials begin. The possible counts are 0,1,…,n0,1,\ldots,n.

“Success” is a mathematical label: a faulty bulb can be a success if faults are what you count. A die has six faces, yet “six” versus “not six” gives two classifications. What matters is the event being counted.

Worked example 3: defining a success

Question. A very large production run has a defect probability of 0.070.07 per bulb. A random sample of 3030 bulbs is inspected. Define XX, state a Binomial model and give the assumptions about defects.

Plan. Identify one trial, the success event and the fixed number of trials.

success=one inspected bulb is defectivechoose the counted eventn=30,p=0.07read the trial parametersX∼B(30,0.07)count defective bulbs\begin{aligned} \text{success}&=\text{one inspected bulb is defective} &&\text{choose the counted event}\\ n&=30,\qquad p=0.07 &&\text{read the trial parameters}\\ X&\sim B(30,0.07) &&\text{count defective bulbs} \end{aligned}

Why mention the large run? Sampling a small fraction makes any change caused by removal negligible; it does not by itself rule out faults clustered by machine or time.

Answer. XX is the number of defective bulbs among the 3030. Use B(30,0.07)B(30,0.07), assuming defect statuses are independent and each sampled bulb has defect probability 0.070.07.

Check. A possible value such as X=2X=2 means two faulty bulbs. A value X=31X=31 is impossible.

Keep the same sampling situation and change only which outcome is called a success. The complement probability must change with it.

Worked example 4: counting the opposite outcome

Question. In the same sample, YY is the number of bulbs that are not defective. State a Binomial model and relate YY to XX.

Plan. Use the non-defective probability and keep the number of trials unchanged.

P(not defective)=1−0.07=0.93use the complementY∼B(30,0.93)count the new successesY=30−Xeach bulb has one classification\begin{aligned} P(\text{not defective})&=1-0.07=0.93 &&\text{use the complement}\\ Y&\sim B(30,0.93) &&\text{count the new successes}\\ Y&=30-X &&\text{each bulb has one classification} \end{aligned}

Why is pp now 0.930.93? It belongs to the event the variable counts, rather than to the story in general.

Answer. Y∼B(30,0.93)Y\sim B(30,0.93), under the same independence and constant-probability assumptions, and Y=30−XY=30-X.

Check. If two bulbs are defective, 2828 are not defective; the two counts total 3030.

When a question asks for an assumption, name it in context: “the bulbs' defect statuses are independent” or “every bulb has the same defect probability”. Saying a probability is “independent” mixes two different ideas.

Exam tip

Write the random variable and distribution, such as X∼B(30,0.07)X\sim B(30,0.07). A list of calculator inputs does not state a statistical model.

Now change the probability, still counting the non-defective outcome.

Finding exact binomial probabilities

For eight independent trials, exactly two successes can occur in many different positions. One particular order has probability p2(1−p)6p^2(1-p)^6; there are (82)=28\binom82=28 such orders.

Binomial probability

For X∼B(n,p)X\sim B(n,p), where nn is a fixed nonnegative integer and 0≤p≤10\le p\le1,

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

In the formula booklet.

The combination factor counts positions, not extra trials. Here is a pleasing consequence: six fair coins have 6464 equally likely head-tail strings, but exactly three heads occurs in 2020 of them. Its probability is 2064=516\frac{20}{64}=\frac5{16}, while six heads has probability just 164\frac1{64}. Equally likely strings produce unequal count probabilities.

Continue this lesson.

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

Create free account