Home work 3. EXPLAIN ALL ANSWERS
PROBLEM 2 (20 points):
The Gift Basket Store had the following premade gift baskets containing the following combinations in stock:
Cookies Mugs Candy
Coffee 20 13 10
Tea 12 10 12
Cookies Mugs Candy Row Total
Coffee 20 13 10 43
Tea 12 10 12 34
Column Total 32 23 22 77
Choose one basket at random. Find the probability that it contains
a) Tea or Cookies
b) Coffee given that it contains Candies
c) Tea and Mugs
d) Is there any relation between picking cookies and the type of drink (coffee, tea)?
(consider P(cookies|coffee), P(cookies|tea), P(cookies))
PROBLEM 3: (15 points) Educational level and Smoking
At a large factory the employees were surveyed and classified according to their level of education and whether they smoked.
Not HS graduate HS graduate College Graduate
Smoke 21 11 14
Do not smoke 3 9 20
Not HS graduate HS graduate College Graduate Row Total
Smoke 21 11 14 46
Do not smoke 3 9 20 32
Column Total 24 20 34 78
If an employee is selected at random, find these probabilities:
a) The employee smokes, given that he or she graduated from college.
b) Given that the employee did not graduate from high school, he or she is a smoker.
c) Is there any relationship between education and the smoking habit? Explain it based on the probabilities’ values.