STAT 3011 Fall 2026: Binomial distribution in inference
Overview
Prof Kazeem Adepoju introduces the binomial distribution as a discrete model for counting successes across a fixed number of independent trials, each with two outcomes and a constant success probability. He distinguishes Bernoulli and negative binomial experiments, reviews the binomial mean and standard deviation, then applies the formula and R's `dbinom` function to a three-question guessing example with a 0.25 chance of a correct answer per question.
Key takeaways
- A binomial model requires a fixed trial count, two outcomes per trial, independent trials, and the same success probability p on every trial.
- Bernoulli describes one success-or-failure trial, while the binomial distribution counts successes across n such trials.
- Stopping only after reaching a target number of successes produces a negative binomial setup because the number of trials is not fixed in advance.
- Sampling without replacement can change probabilities between trials, as when drawing from an urn with three red and two blue marbles.
- For a binomial random variable, the possible counts are 0 through n, the mean is np, and the standard deviation is √(np(1-p)).
- For three independent guesses with a 0.25 chance of correctness each, the probability of exactly one correct answer is 0.421875, and the probability of at least one is 0.578125.
Chapters
- The lesson shifts from continuous uniform and normal distributions to the discrete binomial distribution.
- The random variable counts occurrences of a defined characteristic, such as the number of vaccinated people who contract COVID-19.
- Examples include counting adverse reactions among 50 people receiving a new drug or heads in five coin flips.
- The number of trials must be fixed in advance, rather than determined while the experiment proceeds.
- Each trial must have two possible outcomes, conventionally called success and failure.
- Trials must be independent, and the probability of success, p, must stay constant from trial to trial.
- Sampling with replacement preserves independence; sampling without replacement can change the probability on later trials.
- Adepoju identifies Jacob Bernoulli, who lived from 1655 to 1705, with the historical development of repeated independent success-or-failure trials.
- One trial with outcomes coded 0 and 1 follows a Bernoulli distribution.
- A binomial distribution generalizes the one-trial Bernoulli case to n trials, with possible success counts from 0 through n.
- Three flips of a fair coin qualify as binomial when X counts heads: n = 3 and p = 0.5.
- For a sample of 100 people asked whether they approve of the current U.S. president, the class discusses the need for a suitable sampling frame.
- A biased sampling frame, such as one drawn from a politically unrepresentative district, can undermine the poll's conclusions.
- Flipping a coin until 10 tails occur does not fix the number of trials in advance, so it is a negative binomial setup rather than a binomial one.
- Binomial questions fix the trial count and ask how many successes occur; negative binomial questions fix the target number of successes and ask how many trials are needed.
- Drawing two marbles without replacement from an urn containing three red and two blue marbles changes later probabilities, violating the binomial independence and constant-p conditions.
- A binomial random variable is specified by n, the number of trials, and p, the probability of success on each trial.
- Its possible values are the integers 0, 1, 2, up to n; for n = 10, the count can range from 0 to 10.
- The mean is np, and the standard deviation is the square root of np(1-p).
- For three multiple-choice questions, each coded C for correct or W for wrong, there are 2³ = 8 possible outcome sequences.
- With four answer choices and one correct choice per question, P(C) = 1/4 and P(W) = 3/4.
- The eight C/W sequences are not equally likely because correct and incorrect answers have different probabilities.
- The probability formula combines the number of ways to choose x successes, n choose x, with p^x and (1-p)^(n-x).
- For exactly one correct answer among three guesses, use n = 3, x = 1, and p = 0.25.
- The calculation is 3 choose 1 times 0.25 times 0.75², which equals 0.421875.
- Adepoju demonstrates that the formula can be evaluated directly with a calculator or verified in R.
- R's `dbinom` function returns the probability of an exact count; for one correct answer, the inputs are x = 1, size = 3, and prob = 0.25.
- The argument `size` represents the number of trials, while `prob` represents the success probability on each trial.
- At least one correct answer means P(X ≥ 1), which is easier to calculate as 1 - P(X = 0).
- For three guesses with p = 0.25, the complement is 1 - 0.75³ = 0.578125.
- In R, the same result can be obtained by subtracting `dbinom(0, size = 3, prob = 0.25)` from 1.
Transcript excerpt
0:57 Okay. Uh good morning everyone. I want to welcome you to another week. Of course um another topic we are see on chapter 6 and of course uh we're moving gradually to mamm one and of course I need you to pay attention what we're going to be doing uh from now is actually going to be very crucial. So um I want to welcome you to another probability uh distribution. Of course uh before now I walk you through uh the probability
1:46 uh distribution of a continuous type under the continuous type. We're talking about the probability or uniform distribution and normal distribution. Of course, a normal distribution is a probability distribution of a continuous random variable. But you know what we want to talk about today? We want to focus on probability distribution of a discrete type. Okay, probability distribution of a discrete random variable. Okay, now that we call binomial distribution. Okay, now let's get started. Now, when am I going to know we're
2:33 dealing with binomial distribution? Okay, I'm actually going to know we're dealing with binomial distribution or if uh I perform series of independent trials and of course uh you know there are two possible outcome in each trial you know in this trial is either you know I record success or failure. I think I remember in this class I use a vacine example. Okay. So if um uh out of uh you know the individuals that were vaccinated okay uh if we conduct experiment you know testing them after uh you know exposing them to COVID okay
3:22 it's either they get COVID or not okay so if I go from one individual uh to the other of course it's either they have a COVID or they do not have a COVID. So generally speaking uh if we conduct
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Prof Kazeem Adepoju.