Mathematics · Ch 15 — Binomial Distribution
Binomial distribution
Binomial distribution
Binomial Distribution
Take an experiment made of several Bernoulli trials - say, tossing a coin repeatedly, with = success (heads) and = failure (tails) in each trial. Suppose the coin is tossed 6 times and we want exactly one success among the 6 trials. Listing every arrangement with exactly one and five 's gives exactly 6 distinct outcomes: - one for each position the single could occupy. Similarly, the number of arrangements with exactly two successes and four failures among 6 trials is . As the number of trials grows, listing out every arrangement like this becomes impractical, so a general formula is needed instead.
Deriving the distribution for trials. Consider three Bernoulli trials with probability of success and of failure in each. The sample space is , and the number of successes, , can take the values . Because the trials are independent, the probability of any particular outcome is the product of the individual trial probabilities:
- .
- (there are 3 arrangements with exactly one , each with probability ).
- (3 arrangements with exactly two 's, each with probability ).
- .
These four probabilities, , are exactly the four terms of the binomial expansion , in order: the probability of successes is the -th term of . Since , the four probabilities automatically add up to 1, as any valid probability distribution must.
The general case. For Bernoulli trials, the same reasoning generalises: the probability of successes turns out to be the st, nd, rd, ..., -th term of the expansion of . To see why, note that successes together with failures, in some order, is exactly what " successes in trials" means. The number of ways to choose which of the trial-slots are successes is . In every one of those arrangements, independence again means the probability is the product of factors of (one per success) and factors of (one per failure), i.e. , regardless of which particular arrangement it is. Multiplying the count of arrangements by the probability of each arrangement gives
which is precisely the -th term of .
Written out for every value of , the probability distribution of the number of successes in Bernoulli trials is:
This distribution is called the binomial distribution with parameters and , because once and are fixed, the entire distribution is determined. It is written , read " follows a binomial distribution with parameters ". The probability of exactly successes, , is also written and is given by the probability function (probability mass function, p.m.f.) of the binomial distribution:
A binomial distribution with Bernoulli trials and success probability in each trial is denoted or .
Two conditions to keep in mind: (i) the number of trials should be fixed; (ii) the trials should be independent.
Worked examples.
Ex.1 - A fair coin is tossed 10 times, so with , , and .
(i) Exactly six heads: . …
Worked out. Applies X~B(10, 1/2) to find three related probabilities from the same 10-toss experiment: exactly six heads via a single p.m.f. term, at least six heads by summing the terms for six through ten, and at most six heads via the complement of more-than-six. Working through this worked example after reading the theory above helps consolidate the method before attempting the exercise questions that follow it in the textbook. …
Worked out. Sets up X~B(10, 1/10) for eggs drawn with replacement (so the 10% defective rate is genuinely constant across draws) and finds the probability of at least one defective egg using the complement of zero defectives, 1 minus (9/10) to the tenth power. …