Chapter 4. Probability Distributions: Discrete Probability Distributions
The Binomial Probability Distribution
Binomial Experiment
In a binomial experiment:
- We conduct independent Bernoulli trials.
- The probability of success is the same for each trial.
- The variable of interest is the total number of successes observed.
Binomial Distribution
Let be the number of successes among trials in a binomial experiment, then is a binomial random variable with range:
We say that is binomially distributed with parameters and and write this as:
Suppose we flip a coin times and define a success as the coin coming up Heads.
Let be the number of successes among the inquiries.
Then is binomially distributed with and :
Suppose that of people in a large population are smokers. Choose people at random and ask them: "Are you a smoker"? Define a person answering "Yes" as a success.
Let be the number of successes among the observations.
Then is binomially distributed with and :
Computation of Binomial Probabilities with Statistical Software
Let be a binomial random variable with parameters and .
To compute in Excel, make use of the following function:
BINOM.DIST(x, n, p, cumulative)
- x: The number of successes.
- n: The number of trials.
- p: The probability of success for each trial.
- cumulative: A logical value that determines the form of the function.
- TRUE - uses the cumulative distribution (at most x successes),
- FALSE - uses the probability mass function (exactly x successes),
To compute in R, make use of the following function:
dbinom(x, size, prob)
- x: The number of successes.
- size: The number of trials.
- prob: The probability of success for each trial.
Compute . Round your answer to decimal places.
There are a number of different ways we can calculate . Click on one of the panels to toggle a specific solution.
To calculate in Excel, make use of the following function:
Thus, to calculate , run the following command:BINOM.DIST(x, n, p, cumulative)
- x: The number of successes.
- n: The number of trials.
- p: The probability of success of each trial.
- cumulative: A logical value that determines the form of the function.
- TRUE - uses the cumulative distribution (at most x successes),
- FALSE - uses the probability mass function (exactly x successes),
This gives:
To calculate in R, make use of the following function:
Thus, to calculate , run the following command:dbinom(x, size, prob)
- x: The number of successes.
- size: The number of trials.
- prob: The probability of success of each trial.
This gives:
Computation of Cumulative Binomial Probabilities with Statistical Software
Let be a binomial random variable with parameters and .
To calculate cumulative probabilities for a binomial distribution in Excel, make use of the following function:
BINOM.DIST(x, n, p, cumulative)
- x: The number of successes.
- n: The number of trials.
- p: The probability of success for each trial.
- cumulative: A logical value that determines the form of the function.
- TRUE - uses the cumulative distribution (at most x successes),
- FALSE - uses the probability mass function (exactly x successes),
To calculate cumulative probabilities for a binomial distribution in R, make use of the following function:
pbinom(q, size, prob)
- q: The number of successes.
- size: The number of trials.
- prob: The probability of success for each trial.
There are a number of different ways we can calculate . Click on one of the panels to toggle a specific solution.
To calculate in Excel, make use of the following function:
BINOM.DIST(x, n, p, cumulative)
- x: The number of successes.
- n: The number of trials.
- p: The probability of success of each trial.
- cumulative: A logical value that determines the form of the function.
- TRUE - uses the cumulative distribution (at most x successes),
- FALSE - uses the probability mass function (exactly x successes),
Thus, to calculate , run the following command:
This gives:
To calculate in R, make use of the following function:
Thus, to calculate , run the following command:pbinom(q, size, prob)
- q: The number of successes.
- size: The number of trials.
- prob: The probability of success of each trial.
This gives:
Mean, Variance, and Standard Deviation of a Binomial Random Variable
Let be a binomially distributed random variable with parameters and .
Then the expected value of calculated with the following formula:
The variance of is calculated with the following formula:
And the standard deviation of is calculated with the following formula:
The expected value of a binomial random variable is calculated as follows:
Or visit omptest.org if jou are taking an OMPT exam.