The following two-way table shows the distribution of a random sample of travelers and their preferences for accommodations and method of travel.

\begin{tabular}{|c|c|c|c|}
\hline
& Drive & Fly & Total \\
\hline
Home Sharing & 16 & 4 & 20 \\
\hline
Hotel & 64 & 16 & 80 \\
\hline
Total & 80 & 20 & 100 \\
\hline
\end{tabular}

Suppose a traveler is selected from this sample at random. Let event [tex]$A$[/tex] be home sharing and event [tex]$B$[/tex] be fly. Are events [tex]$A$[/tex] and [tex]$B$[/tex] independent?

A. No, [tex]$P(A) = P(A \mid B)$[/tex].
B. No, [tex]$P(A) \neq P(B \mid A)$[/tex].
C. Yes, [tex]$P(A) = P(A \mid B)$[/tex].
D. Yes, [tex]$P(A) \neq P(B \mid A)$[/tex].



Answer :

To determine whether events [tex]\( A \)[/tex] (home sharing) and [tex]\( B \)[/tex] (fly) are independent, we need to compare [tex]\( P(A) \)[/tex] (the probability of home sharing) with [tex]\( P(A \mid B) \)[/tex] (the probability of home sharing given that the traveler flies).

First, let's calculate [tex]\( P(A) \)[/tex]:

[tex]\( A \)[/tex] represents travelers who prefer home sharing. According to the table, there are 20 travelers who prefer home sharing out of a total of 100 travelers.

[tex]\[ P(A) = \frac{\text{Number of travelers who prefer home sharing}}{\text{Total number of travelers}} = \frac{20}{100} = 0.2 \][/tex]

Next, let's calculate [tex]\( P(B) \)[/tex]:

[tex]\( B \)[/tex] represents travelers who fly. According to the table, there are 20 travelers who fly out of a total of 100 travelers.

[tex]\[ P(B) = \frac{\text{Number of travelers who fly}}{\text{Total number of travelers}} = \frac{20}{100} = 0.2 \][/tex]

Now, let's calculate [tex]\( P(A \cap B) \)[/tex], the probability that a traveler both prefers home sharing and flies. According to the table, there are 4 travelers who both prefer home sharing and fly.

[tex]\[ P(A \cap B) = \frac{\text{Number of travelers who prefer home sharing and fly}}{\text{Total number of travelers}} = \frac{4}{100} = 0.04 \][/tex]

Now, we can calculate [tex]\( P(A \mid B) \)[/tex], the conditional probability that a traveler prefers home sharing given that they fly:

[tex]\[ P(A \mid B) = \frac{P(A \cap B)}{P(B)} = \frac{0.04}{0.2} = 0.2 \][/tex]

Finally, we compare [tex]\( P(A) \)[/tex] with [tex]\( P(A \mid B) \)[/tex]:

[tex]\[ P(A) = 0.2 \][/tex]
[tex]\[ P(A \mid B) = 0.2 \][/tex]

Since [tex]\( P(A) = P(A \mid B) \)[/tex], the events [tex]\( A \)[/tex] (home sharing) and [tex]\( B \)[/tex] (fly) are independent.

Therefore, the correct statement is:
Yes, [tex]\( P(A) = P(A \mid B) \)[/tex].