Question

In: Computer Science

A marketing survey looked at the preferences of hot drink size among 1275 random customers of...

A marketing survey looked at the preferences of hot drink size among 1275 random
customers of a coffee shop chain. The survey was also interested in whether the customer’s gender
affects their preference. The results of the survey were used to estimate the probabilities in this joint
probability distribution:
Tall (T) Grande (G) Venti (V)
Female (F) 0.12 0.24 0.06
Male (M)    0.08 0.38    0.12


a) What is p (M, T), the joint probability that a customer in the survey was both male and prefers tall
drinks?
b) What is p (F), the marginal probability that a customer in the survey was female?
c) What is p(G), the marginal probability that a customer in the survey prefers Grande drinks?
d) What is p (V | M), the conditional probability, given a customer in the survey was male, that he prefers
venti drinks?
e) What is p (F | V), the conditional probability, given a customer in the survey prefers venti drinks, that the customer was female?
f) There are two random variables in this situation, drink size and gender. Are they independent or dependent? Explain how you arrived at the answer and show your calculations.

Solutions

Expert Solution

Tall (T) Grande (G) Venti (V)
Female (F) 0.12 0.24 0.06
Male (M) 0.08 0.38 0.12

Probability: Probability always lies between 0<=p(x)<=1

a) What is p (M, T), the joint probability that a customer in the survey was both male and prefers tall
drinks?

Ans:

before answering we need to find out total probability for the all rows and columns.

Tall Grande Venti Total

Female 0.12 0.24 0.06 0.42

Male 0.08 0.38 0.12 0.58

Total 0.20 0.62 0.18 1(Total always 1)

Figure

Joint probability: As the name suggests "JOINT", this is the probability that two or more events occur jointly (at the same time).

Otherwise It is the intersection of certain outcomes of the variables.

We can represent it as P(X ∩ Y) or P(X and Y).

We need to find intersection of male and tall drinks (joint probability):

from the table,intersection of bold numbers is P(maletall) = 0.08.

explanation : first consider only male row. then consider the Tall drink column. so intersection of both row and column is 0.08(from figure underlined number).

b) What is p (F), the marginal probability that a customer in the survey was female?

Tall Grande Venti Total

Female 0.12 0.24 0.06 0.42

Male 0.08 0.38 0.12 0.58

Total 0.20 0.62 0.18 1(Total always 1)

Figure

Marginal Probability : As its name suggests "MARGIN", It is the probability of an outcome of each individual variable irrespective of other variables. It is also called as Simple probability.

marginal probability that a customer in the survey was female P(F) (underlined number from figure):

So we need find out outcome of female to the every drink.

From the figure: Sum of the all outcomes of female is 0.42 (respective to all drinks 0.12+0.24+0.06)

c) What is p(G), the marginal probability that a customer in the survey prefers Grande drinks?

Tall Grande Venti Total

Female 0.12 0.24 0.06 0.42

Male 0.08 0.38 0.12 0.58

Total 0.20 0.62 0.18 1(Total always 1)

Figure

the marginal probability that a customer in the survey prefers Grande drinks P(G) (underlined number from figure) :​  

So we need find out outcome of Grande drink to the every row(male and female).

From the figure: Sum of the all outcomes of Grande drink is 0.62 (respective to male and female 0.24+0.38)

d) What is p (V | M), the conditional probability, given a customer in the survey was male, that he prefers
venti drinks

Conditional Probability:The conditional probability of an event is the probability that event will occur given the that another event has already occurred (As a name states itself Conditional).

for example there are two events A,B, P(A/B) is given by P(A ∩ B)/P(B)

p (V | M) = P(V ∩ M) /P(M)

P(V ∩ M) is the joint probability of, customer in the survey was both male and prefers venti drinks:

Tall Grande Venti Total

Female 0.12 0.24 0.06 0.42

Male 0.08 0.38 0.12 0.58

Total 0.20 0.62 0.18 1(Total always 1)

figure for P(V ∩ M)

From figure P(V ∩ M) (We need to find intersection of male and venti drinks) ) = 0.12 (underlined number from figure)

P(M) the marginal probability that a customer in the survey was male.

Tall Grande Venti Total

Female 0.12 0.24 0.06 0.42

Male 0.08 0.38 0.12 0.58

Total 0.20 0.62 0.18 1(Total always 1)

figure for P(M)

P(M) = 0.58 (Sum of male with respective to drinks 0.08+0.38+0.12) (underlined number from figure for P(M))

p (V | M) = P(V ∩ M) /P(M) = 0.12/0.58 = 0.20689655172.

e) What is p (F | V), the conditional probability, given a customer in the survey prefers venti drinks, that the customer was female?

p (F | V) = P(F ∩ V) /P(V)

P(F ∩ V) is the joint probability of customer in the survey was both female and prefers venti drinks:

From figure P(F ∩ V) (We need to find intersection of female and venti drinks) = 0.06

P(V) the marginal probability that a customer in the survey drinks Venti.

From figure:

P(F ∩ V) = 0.06

P(V) = 0.18 (Sum of Venti drinks with respective to male and female 0.06+0.12)

p (F | V) = P(F ∩ V) /P(V) = 0.06/0.18 =0.33333333333

explanation is same above.


Related Solutions

A pet store completed a survey of customers regarding pet preferences and ownership. The results for...
A pet store completed a survey of customers regarding pet preferences and ownership. The results for dog ownership and feelings about cats are displayed in the table. Use them to answer the following questions. Likes cats & Owns a dog =13 Likes cats & does not own a dog= 30 Total=43 Dislikes cats & owns a dog=18 Dislikes cats & does not own a dog=18 Total=36 No opinion about cats & owns a dog= 0 No opinion about cats &...
1. Determine the sample size to survey the customers of a store in a mall, if...
1. Determine the sample size to survey the customers of a store in a mall, if there are 500 customers out of 11,000 that are in the stores of the corporation. Assume that the confidence level is 95% and the accepted margin of error is 0.05. 2. Determine the sample size from the previous exercise, assuming that the customer sample was taken from department stores where there are a total of 200 customers.
Survey question: Do you prefer tea or coffee as a mid-afternoon hot drink?•Findings: tea = 20%,...
Survey question: Do you prefer tea or coffee as a mid-afternoon hot drink?•Findings: tea = 20%, coffee = 80% and n = 150 •Fill in the sentence: We found that ____% of the sample ___________________. We are very confident that if the survey is repeated a large number of times, 95% of the findings will fall in the range of _____% and _____%.
12.52 Christmas Drink.(P576) In a 2014 nationwide Harris Poll survey about beverage preferences, 195 1 American...
12.52 Christmas Drink.(P576) In a 2014 nationwide Harris Poll survey about beverage preferences, 195 1 American adults were asked about their preferred beverages during different holidays throughout the year. Overall, 47% of the adults voted for table wine as their preferred beverage for Christmas. Determine and interpret a 95% confidence interval for the proportion, p, of all American adults who prefer wine during holiday
In the survey on the quality of coffee A carried out among 90 randomly selected customers...
In the survey on the quality of coffee A carried out among 90 randomly selected customers of the company dealing with its distribution, the following ratings were obtained: Rating 1 2 3 4 5 6 7 8 9 Number of people 2 4 4 10 17 18 21 8 6 a) Based on the above data, the hypothesis was verified that 40% of all customers put coffee higher than '6' with the alternative that less than 40% giving such a...
A survey is taken among customers of a fast-food restaurant to determine preference for hamburger or...
A survey is taken among customers of a fast-food restaurant to determine preference for hamburger or chicken. Of 200 respondents selected, 75 were children and 125 were adults. 120 preferred hamburger and 80 preferred chickens. 55 of the children preferred hamburger and 20 preferred chickens. Set up a 2x2 contingency table using this information and answer the following questions: Age/ Food Hamburger Chicken Total Child Adult Total 200 What is the probability that a randomly selected individual is an adult?...
Nike is completing a survey to get customers feedback about their athletic shoes. 1. The marketing...
Nike is completing a survey to get customers feedback about their athletic shoes. 1. The marketing manager at Nike is concerned about data accuracy issues in primary data research. To show that you are a trained researcher, provide two examples of how data accuracy can be compromised by inappropriate choices of the researcher in each of the following areas; a. Survey questionnaire design; b. Sampling plan for a survey, and, c. Data collection and recording. (3pts) 2. After much work,...
As part of a​ survey, a marketing representative asks a random sample of 3030 business owners...
As part of a​ survey, a marketing representative asks a random sample of 3030 business owners how much they would be willing to pay for a website for their company. She finds that the sample standard deviation is ​$34043404. Assume the sample is taken from a normally distributed population. Construct 9090​% confidence intervals for​ (a) the population variance sigmaσsquared2 and​ (b) the population standard deviation sigmaσ. Interpret the results. ​(a) The confidence interval for the population variance is ​(nothing​,nothing​). ​(Round...
As part of a​ survey, a marketing representative asks a random sample of 29 business owners...
As part of a​ survey, a marketing representative asks a random sample of 29 business owners how much they would be willing to pay for a website for their company. She finds that the sample standard deviation is​ $3419. Assume the sample is taken from a normally distributed population. Construct 99​% confidence intervals for​ (a) the population variance σ2 and​ (b) the population standard deviation σ. Interpret the results. ​(a) The confidence interval for the population variance is (___​,___​). ​(Round...
A national survey conducted among a simple random sample of 1513 adults shows that 835 of...
A national survey conducted among a simple random sample of 1513 adults shows that 835 of Americans think the Civil War is still relevant to American politics and the political life. Conduct a hypothesis test to determine if these data provide strong evidence that the majority of the Americans think the Civil War is still relevant. Give answers to at least 4 decimal places. A)Identify the claim B)What are the correct hypotheses? (Select the correct symbols and use decimal values...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT