Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge | Probabilities of Several Events
Probability Theory

bookChallenge

Bayes Theorem is crucial for a data scientist, so try to consolidate knowledge!

Opgave

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.

  1. Calculate the probability that a randomly selected person has a heart problem.
  2. Calculate the probability that the randomly selected person has a stomachache.
  3. Calculate the probability that you randomly select a person that has diabetes.
  4. Calculate the probability that a randomly selected person with diabetes has a chronic stomachache (already done).

Løsning

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 8
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Opsummér dette kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 3.7

bookChallenge

Stryg for at vise menuen

Bayes Theorem is crucial for a data scientist, so try to consolidate knowledge!

Opgave

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.

  1. Calculate the probability that a randomly selected person has a heart problem.
  2. Calculate the probability that the randomly selected person has a stomachache.
  3. Calculate the probability that you randomly select a person that has diabetes.
  4. Calculate the probability that a randomly selected person with diabetes has a chronic stomachache (already done).

Løsning

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 2. Kapitel 8
single

single

some-alt