Challenge: Solving the Task Using Bayes' Theorem
Oppgave
Swipe to start coding
Imagine that we decided to conduct medical research.
You gathered data about two groups: 750
people with heart problems and 800
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.
We can use Bayes' theorem to calculate the corresponding probability.
- 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.
Løsning
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 2. Kapittel 6