Final answer:
To construct a contingency table, we create a table with two rows and three columns representing the genders and drink choices, respectively. We then fill in the frequencies based on the given data.
Step-by-step explanation:
To construct a contingency table for the given data, we will create a table with two rows representing the genders (male and female) and three columns representing the drink choices (beer, wine, and soft drink). We will then fill in the frequencies in each cell based on the given information.
Males: 152 ordered beer, 42 ordered wine, and 29 asked for soft drinks.
Females: 34 ordered beer, 17 ordered wine, and 13 asked for soft drinks.
BeerWineSoft DrinkMale1524229Female341713
a. Contingency table:
Beer
Wine
Soft Drink
Male
152
42
29
Female
34
17
13
Total
186
59
42
Male
Female
Total
Beer
152
34
186
Wine
42
17
59
Soft Drink
29
13
42
b. Probability that a customer orders wine:
�
(
Wine
)
=
Number of customers ordering wine
Total number of customers
=
59
287
≈
0.2056
P(Wine)=
Total number of customers
Number of customers ordering wine
=
287
59
≈0.2056
c. Probability that a male customer orders wine:
�
(
Wine | Male
)
=
Number of male customers ordering wine
Total number of male customers
=
42
223
≈
0.1883
P(Wine | Male)=
Total number of male customers
Number of male customers ordering wine
=
223
42
≈0.1883
d. To check for independence, we compare
�
(
Wine | Male
)
P(Wine | Male) with
�
(
Wine
)
P(Wine).
If the events are independent, then
�
(
Wine | Male
)
P(Wine | Male) should be equal to
�
(
Wine
)
P(Wine). In this case,
0.1883
0.1883 is not equal to
0.2056
0.2056, so the events "Wine" and "Male" are not independent.