Challenge
Bayes Theorem is crucial for a data scientist, so try to consolidate knowledge!
Swipe to start coding
Imagine that we decided to conduct medical research. You gathered data about two groups of people: 750
people with heart problems and 800
people with chronic stomachache. You know that 7%
of interviewed from the first group have diabetes; meanwhile, 12%
of respondents from the second group have diabetes too. Calculate the probability that a randomly selected person with diabetes has a chronic stomachache.
- Calculate the probability that a randomly selected person has a heart problem.
- Calculate the probability that the randomly selected person has a stomachache.
- Calculate the probability that you randomly select a person that has diabetes.
- Calculate the probability that a randomly selected person with diabetes has a chronic stomachache (already done).
Solución
¡Gracias por tus comentarios!
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Resumir este capítulo
Explicar el código en file
Explicar por qué file no resuelve la tarea
Awesome!
Completion rate improved to 3.7
Challenge
Desliza para mostrar el menú
Bayes Theorem is crucial for a data scientist, so try to consolidate knowledge!
Swipe to start coding
Imagine that we decided to conduct medical research. You gathered data about two groups of people: 750
people with heart problems and 800
people with chronic stomachache. You know that 7%
of interviewed from the first group have diabetes; meanwhile, 12%
of respondents from the second group have diabetes too. Calculate the probability that a randomly selected person with diabetes has a chronic stomachache.
- Calculate the probability that a randomly selected person has a heart problem.
- Calculate the probability that the randomly selected person has a stomachache.
- Calculate the probability that you randomly select a person that has diabetes.
- Calculate the probability that a randomly selected person with diabetes has a chronic stomachache (already done).
Solución
¡Gracias por tus comentarios!
Awesome!
Completion rate improved to 3.7single