David B. answered 05/20/21
Math and Statistics need not be scary
Badly written question (getting a lot of those these days)
If I assume the question is as follows we might be able to come up with an answer.
"Along the highway there is a restaurant called the "Weeping Willow". The ratio of cars to trucks traveling along the highway is 4:1. On the average, 8% of truck drivers and 2% of car drivers passing by stop for a meal at the restaurant. What is the likelihood that a random driver entering the restaurant to eat is a car driver?
This is a question in conditional probability. In other words, given that a driver has stopped for a meal, what is the probability that the driver is an auto driver.
Out of 500 random vehicles passing by, 400 will be auto drivers and of those 400*.02 or 8, will stop to eat.
Out of the same 500 passing by, 100 will be truck drivers and of those 100*.08 or 8 will stop to eat.
Out of the 16 people stopping to eat (of the 500 random vehicles), half will be truck drivers and half will be car drivers. (only drivers are counted, not passengers).
The likihood ratio is then 1:1. ( ie there is a 50% chance that a driver walking thru the door of the Weeping Willow restaurant for a meal will be a car driver).
We can also write this as a conditional probability statement.
P(A|B) = [P(B|A)P(A)] / [P(B|A)P(A) + P(B|Ac)P(Ac)]
Where B is stoping for a meal
and A is being a car driver with the overall probability of being a car driver = .8
Ac is being a not car (truck) with the overall probability of .2
and we are given the probability of B|A (stopping if car driver) as .02
and the probability of B|Ac (stopping if truck driver) as .08
P(B|Ac)·P(Ac) = .08*.2 or .016. P(B|A)·P(A) = .02*.80 or .016
Thus P(A|B) = .016 / (.016+.016). = .5 , so the likelyhood of being a car driver if entering the restaurant is .5 or 50%
So logic, or laws of probability, the answer is the same.
David B.
Hi tony, you started out ok but you skipped a step. the 4:1 ratio is for vehicles going BY the restaurant, not stopping. You have to take into consideration that while there is a 4:1 ratio of cars to trucks driving by, there is a 1:4 ratio of car drivers stopping to truck drivers stopping (of those driving by). This makes the ratio of patrons entering the restaurant to be 1:1 (auto driver to trucker) and the probability in this case is 50% not 25% (also, a ratio of 4:1 gives a 20% probability, not a 25% because 4:1. means 4 out of 5 on one side and 1 out of 5 on the other , that was your second mistake. Odds ratios are not probabilities)05/20/21