Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PROBLEM 1 with solution: A survey examines customers’ preferences in having a su

ID: 3125190 • Letter: P

Question

PROBLEM 1 with solution:

A survey examines customers’ preferences in having a sunroof in their car.

Sunroof (S)

No Sunroof (S’)

Woman (W)

800

650

1450

Man (M)

1500

300

1800

2300

950

3250

a) Compute the Marginal Probabilities and the Joint Probabilities.

b) Compute: P(W), P(S|M), P(S’|W), P(M and S), P(W or S).

c) Is there any relationship between sex (woman or man) and preferring to have a sunroof?

SOLUTION

a) Compute the Marginal Probabilities and the Joint Probabilities.

Marginal

Joint

P(S) = 2300/3250 = 71%

P(S and W) = 800/3250 = 25%

P(S’) = 950/3250 = 29%

P(S and M) = 1500/3250 = 46%

P(W) = 1450/3250 = 45%

P(S’ and W) = 650/3250 = 20%

P(M) = 1800/3250= 55%

P(S’ and M) = 300/3250 = 9%

b) Compute: P(W), P(S|M), P(S’|W), P(M and S), P(W or S) .

P(W) =45%

P(S|M) = P(S and M)/P(M) = 46%/55% = 84%    

P(S’|W) = P(S’ and W)|P(W)=44%

P(M and S) =46%

P(W or S) = P(W)+P(S)-P(W and S) = 45% + 71% - 25% = 91%

c) Is there any relationship between sex (woman or man) and wanting to have a sunroof?

P(S) = ? P(S | W) =? P(S|M)

P(S) = 71%          P(S|W) = 55%               P(S|M) = 84%

If we don’t have equality among the above probabilities then there IS a relationship.

If all the above probabilities are equal then there is NO relationship.

In Conclusion: There is a greater probability of owning a car with sunroof given you are a man.

Note: discussing relationship should be done based on the given probabilities values (A|B) and not just yes or no.

Another way of testing:

Multiplication rule. If two events ARE INDEPENDENT then:

P(A and B) = P(A)*P(B)       // P(A and B) = P(A|B) P(B) = P(B|A) P(A)

Note: If you have an intersection between the events do not use the above rule.

Addition Rule. The correct way to compute P(A or B):

P(A or B) = P(A) + P(B) – P(A and B)

Sunroof (S)

No Sunroof (S’)

Woman (W)

800

650

1450

Man (M)

1500

300

1800

2300

950

3250

Explanation / Answer

The marginal probabilities are:

P(S) = 2300/3250 = 0.707

P(S’) = 950/3250 = 0.29

P(W) = 1450/3250 = 0.44

P(M) = 1800/3250= 0.55

The joint probabilities are:

P(S and W) = 800/3250 = 0.25

P(S and M) = 1500/3250 = 0.46

P(S’ and W) = 650/3250 = 0.20

P(S’ and M) = 300/3250 = 0.09

b)Compute:

P(W) =0.45

P(S|M) = P(S and M)/P(M) = 0.46/0.55 = 0.84

P(S’|W) = P(S’ and W)|P(W)=0.20/0.44=0.45

P(M and S) =0.46

P(W or S) = P(W)+P(S)-P(W and S) = 0.44 + 0.71 - 25% = 0.91

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote