Finding Probability by using loop
Afficher commentaires plus anciens
I want to find the probability using the following equation:

where n=48, k=7, α=0.995
6 commentaires
the cyclist
le 1 Juin 2023
Torsten
le 1 Juin 2023
Dyuman Joshi
le 1 Juin 2023
The question looks simple, what have you attempted yet?
Yaseen
le 2 Juin 2023
Yaseen
le 2 Juin 2023
Réponses (1)
Febo Cincotti
le 1 Juin 2023
1 vote
I would proceed to implement the formula step by step.
First, compute the addends of the sum.
Hint: nchoosek(n,m) returns
, (1-alpha)^m returns
and alpha^(n-m) returns 
Then you only need to compute Pr = 1 - sum(addends)
Hope this helped with your homework
Catégories
En savoir plus sur Binomial Distribution dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!