38.0k views
3 votes
At a coffee shop, the first 100 customers'

orders were as follows.
Hot
Cold
Small Medium Large
5
48
22
8
12
5
Find the probability a customer ordered a
medium, given that they ordered a hot drink.
P(B|A) =
P(medium | hot) = [? ]
P(ANB)
P(A)

1 Answer

3 votes

Final answer:

To find the probability of a customer ordering a medium given that they ordered a hot drink, we can use conditional probability by dividing the number of customers who ordered a hot medium drink by the number of customers who ordered a hot drink. The probability is approximately 0.0962.

Step-by-step explanation:

To find the probability of a customer ordering a medium given that they ordered a hot drink, we need to use conditional probability.

P(medium | hot) = P(medium and hot) / P(hot)

From the given data, we can see that out of the first 100 customers, there were 5 who ordered a hot medium drink. So, P(medium and hot) = 5/100 = 0.05.

The number of customers who ordered a hot drink is 5 + 22 + 8 + 12 + 5 = 52. So, P(hot) = 52/100 = 0.52.

Now we can substitute the values into the formula: P(medium | hot) = 0.05 / 0.52 = 0.0962 (rounded to four decimal places).

User Damzaky
by
8.4k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.