Combine Your Knowledge
It is time to deal with three experiments; they are very similar, so firstly, let's recall some theory.
Function | Explanation |
---|---|
binom.pmf(k, n, p) | Calculate the probability to archive exactly k successes among n trials with the probability of success p |
binom.sf(k, n, p) | Calculate the probability to archive k or more successes among n trials with the probability of success p |
binom.cdf(k, n, p) | Calculate the probability to archive k or less successes among n trials with the probability of success p |
Uppgift
Swipe to start coding
Here, it would be best if we coped with several tasks.
- Calculate the probability that among
50
unique pictures, exactly5
have a defect; the probability that a picture has a defect is25%
. - Calculate the probability that at least
9
(9 or more) employees are satisfied with their salary if we know that there are20
workers in the project. The probability for the positive answer is75%
. - Calculate the probability that
6
or fewer thefts this month will be revealed; we know that in the specific city, the amount of thefts is10
. The probability of revealing is5%
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Suggested prompts:
Sammanfatta detta kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 3.7
Combine Your Knowledge
Svep för att visa menyn
It is time to deal with three experiments; they are very similar, so firstly, let's recall some theory.
Function | Explanation |
---|---|
binom.pmf(k, n, p) | Calculate the probability to archive exactly k successes among n trials with the probability of success p |
binom.sf(k, n, p) | Calculate the probability to archive k or more successes among n trials with the probability of success p |
binom.cdf(k, n, p) | Calculate the probability to archive k or less successes among n trials with the probability of success p |
Uppgift
Swipe to start coding
Here, it would be best if we coped with several tasks.
- Calculate the probability that among
50
unique pictures, exactly5
have a defect; the probability that a picture has a defect is25%
. - Calculate the probability that at least
9
(9 or more) employees are satisfied with their salary if we know that there are20
workers in the project. The probability for the positive answer is75%
. - Calculate the probability that
6
or fewer thefts this month will be revealed; we know that in the specific city, the amount of thefts is10
. The probability of revealing is5%
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 3.7Avsnitt 3. Kapitel 4
single