Amol J. answered 05/05/21
Aerospace/Mech Engineer: Math/Physics, Excel/PPT, PMP, Public Speaking
Question 1
Event A: Stopping to talk to Walt
- The probability of event A occurring is (5/12+2/9). Here the question intends somewhat to misdirect you. By adding these two numbers found in the statement, we find that this represents ALL customers who stopped to talk to Walt, whether they bought candy or not.
- P(A) = 5/12+2/9 = 23/36 = 64%
Event B: Buying candy from Walt
- The probability of event B occurring is 50/120 or 5/12, based on the number of customers that bought candy from Walt
- P(B) = 50/120 = 5/12 = 42%
Event A & B: Stopping to talk to Walt AND buying candy from Walt
- We are given that the probability of a customer stopping to talk to Walt and buying some candy is 2/9
- P(A∩B) = 2/9 = 22%
Rewording the question in terms events A & B, we get: What is the probability of Event B given Event A P(B|A)?
Using the conditional probability formula, we have
P(B|A) = P(A∩B) / P(A)
Using our values and simplifying, we get: P(B|A)=(2/9) ⁄ (23/36) = 8/23 = 35%
Question 2
Events A and B are independent if P(B|A) = P(B) AND P(A|B) = P(A). Since we know that P(B|A) = 35% and P(B) = 42%, the first part of the statement above is incorrect, thus we know that that the two events are dependent. In other words, talking to Walt does affect whether or not the customer will buy candy.
Question 3
Let's apply the same principles here.
Event A: Owning a dog
- P(A) = 1/4 = 25%
Event B: Owning a cat
- P(B) = 1/3 = 33%
Event A & B: Owning a dog AND a cat
- P(A∩B) = 1/12 = 8%
Rewording the question: What is the probability that given Event A, Event B also occurs P(B|A)?
P(B|A) = P(A∩B) / P(A) = (1/12) / (1/4) = 1/3 = 33%
Question 4
Since P(B|A) = P(B) = 33%, we now must check if P(A|B) = P(A)
P(A|B) = P(A∩B) / P(B) = (1/12) / (1/3) = 1/4 = 25% OR P(A|B) = P(A)
Thus, the conditions are satisfied and we have determined that the two events are independent. In other words, owning a dog has not effect on whether the student owns a cat.