Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Binomial Distribution | Discrete Distributions
Probability Theory
course content

Course Content

Probability Theory

Binomial Distribution

It is time to figure out what Binomial distribution is.

To work with this distribution, we should import the binom object from scipy.stats, and then you can apply numerous functions to this distribution like pmf, sf, and cdf that were already learned.

Key characteristics:

This distribution is the same as the Bernoulli distribution, which is repeated several times.

Example:

Tossing a coin is a Bernoulli distribution, but tossing one coin 3 times creates a binomial distribution.

binomial

By the way, Y-axis defines the probability in percents, for the better understanding(in this chapter and the next).

Do you remember the function .cdf()? The function shows the probability of having k or fewer successes among n trials with the defined probability p. It is time to recall it!

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Everything was clear?

Section 4. Chapter 4
toggle bottom row

Binomial Distribution

It is time to figure out what Binomial distribution is.

To work with this distribution, we should import the binom object from scipy.stats, and then you can apply numerous functions to this distribution like pmf, sf, and cdf that were already learned.

Key characteristics:

This distribution is the same as the Bernoulli distribution, which is repeated several times.

Example:

Tossing a coin is a Bernoulli distribution, but tossing one coin 3 times creates a binomial distribution.

binomial

By the way, Y-axis defines the probability in percents, for the better understanding(in this chapter and the next).

Do you remember the function .cdf()? The function shows the probability of having k or fewer successes among n trials with the defined probability p. It is time to recall it!

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Everything was clear?

Section 4. Chapter 4
toggle bottom row

Binomial Distribution

It is time to figure out what Binomial distribution is.

To work with this distribution, we should import the binom object from scipy.stats, and then you can apply numerous functions to this distribution like pmf, sf, and cdf that were already learned.

Key characteristics:

This distribution is the same as the Bernoulli distribution, which is repeated several times.

Example:

Tossing a coin is a Bernoulli distribution, but tossing one coin 3 times creates a binomial distribution.

binomial

By the way, Y-axis defines the probability in percents, for the better understanding(in this chapter and the next).

Do you remember the function .cdf()? The function shows the probability of having k or fewer successes among n trials with the defined probability p. It is time to recall it!

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Everything was clear?

It is time to figure out what Binomial distribution is.

To work with this distribution, we should import the binom object from scipy.stats, and then you can apply numerous functions to this distribution like pmf, sf, and cdf that were already learned.

Key characteristics:

This distribution is the same as the Bernoulli distribution, which is repeated several times.

Example:

Tossing a coin is a Bernoulli distribution, but tossing one coin 3 times creates a binomial distribution.

binomial

By the way, Y-axis defines the probability in percents, for the better understanding(in this chapter and the next).

Do you remember the function .cdf()? The function shows the probability of having k or fewer successes among n trials with the defined probability p. It is time to recall it!

Task

Imagine you passing a test that includes 12 questions; there are just two answers for each question (one of them is correct, another isn't correct). The probability of getting the right answer is 50% or 0.5. Here is the distribution:

binom

You have excellent marks, and you know that if you receive less than 6 or exactly 7 points, you will spoil it.

  1. Import binom object.
  2. Calculate the probability of receiving 6 or less points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  3. Calculate the probability of receiving exactly 7 points in the test where the probability of answering right is 0.5 and the number of questions is 12.
  4. Calculate the whole probability.

Section 4. Chapter 4
Switch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt