1. Learn
  2. /
  3. Courses
  4. /
  5. Basic Statistics

Exercise

Conditional Probability I

Enter plants into your console to see information about whether 90 plants live indoors or outdoors, and whether they are a flower, a succulent or a tree. The values in this table represent probabilities, calculated from frequencies.

Let's use these probability values to find some conditional probabilities. To do this you need to use the formula \(P(A|B) = P(A + B)/ P(B)\).

Instructions

100 XP
  • In your console, calculate the answers to the questions in your script
  • Report the answers in your script to 2 decimal places (you can always use the round() function for this, with the argument digits = 2)
  • Remember to use () when necessary in your calculations