knitr::include_graphics("table.png")
Are being female and liking Five Guys Burgers mutually exclusive?
No, we can observe we have 6 women that likes Five Guys Burgers.
What is the probability that a randomly chosen male likes In-N-Out the best?
P( In-N-Out | Male)
P = 162/248 = 0.65 = 65%
What is the probability that a randomly chosen female likes In-N-Out the best?
P( In-N-Out | Female)
P = 181/252= 0.72 = 72%What is the probability that a man and a woman who are dating both like In-N-Out the best? Note any assumption you make and evaluate whether you think that assumption is reasonable.
I made the assumntion they are disjoint/ mutually exclusive variables.What is the probability that a randomly chosen person likes Umami best or that person is female?
P(likes Umami or Female)
P(A U B) = P(A) + P(B) - P(A and B)
6 + 252 - 1
0.012 + 0.504 - 0.002 = 0.514 = 51.4 %