Challenge: Solving Task Using Binomial Distribution
Let's consider a task about shooting at a target.
The probability of hitting the target in a single shot is 0.6
. We want to calculate the probability of hitting the target 4
times in 10
shots.
We can't solve this task using the classic definition of probability because elementary events of this stochastic experiment have different probabilities of occurring. In addition, we are conducting not one stochastic experiment but ten, and we need to consider the results of all individual experiments.
This stochastic experiment is a Bernoulli trial: we have only two possible outcomes ( shoot and fail to shoot the target).
Shots are independent, so we have a Bernoulli process and can calculate probability using Binomial distribution.
Swipe to start coding
You have to calculate the probability of hitting the target 4
times in 10
shots.
Use .pmf()
method and specify n
and p
parameters to calculate the corresponding probability.
Soluzione
Grazie per i tuoi commenti!
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 3.85
Challenge: Solving Task Using Binomial Distribution
Scorri per mostrare il menu
Let's consider a task about shooting at a target.
The probability of hitting the target in a single shot is 0.6
. We want to calculate the probability of hitting the target 4
times in 10
shots.
We can't solve this task using the classic definition of probability because elementary events of this stochastic experiment have different probabilities of occurring. In addition, we are conducting not one stochastic experiment but ten, and we need to consider the results of all individual experiments.
This stochastic experiment is a Bernoulli trial: we have only two possible outcomes ( shoot and fail to shoot the target).
Shots are independent, so we have a Bernoulli process and can calculate probability using Binomial distribution.
Swipe to start coding
You have to calculate the probability of hitting the target 4
times in 10
shots.
Use .pmf()
method and specify n
and p
parameters to calculate the corresponding probability.
Soluzione
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 3.85single