Question #174867

1.     The students at a swimming class consists of 10 girls, 30 boys and 10 adults. After a month lesson, 3 of the girls, 10 of the boys and 3 of the adults were able to swim. If a student is chosen at random from this class and is found to be able to swim, what is the probability that the student is a boy?


1
Expert's answer
2021-03-25T08:50:20-0400

Let A={Student is able to swim}A = \{Student \ is \ able \ to \ swim\}

Hi={Chosen at random student is i} i{boy,girl,adult}H_i = \{Chosen \ at \ random \ student \ is \ i\} \ \forall i \in \{boy, girl, adult\}

Then using Bayes formula:

Pr(HboyA)=Pr(AHboy)Pr(Hboy)Pr(A)=Pr(AHboy)Pr(Hboy)iPr(AHi)Pr(Hi)Pr(H_{boy} | A) = \frac{Pr(A|H_{boy})Pr(H_{boy})}{Pr(A)} = \frac{Pr(A|H_{boy})Pr(H_{boy})}{\sum_{i}Pr(A|H_i)Pr(H_i)}

Let's find these probabilities:

Pr(AHboy)=1030=13Pr(A|H_{boy}) = \frac{10}{30} = \frac13

Pr(AHgirl)=310=0.3Pr(A|H_{girl}) = \frac{3}{10} = 0.3

Pr(AHadult)=310=0.3Pr(A|H_{adult}) = \frac{3}{10} = 0.3

Pr(Hboy)=3050=0.6Pr(H_{boy}) = \frac{30}{50} = 0.6

Pr(Hgirl)=1050=0.2Pr(H_{girl}) = \frac{10}{50} = 0.2

Pr(Hadults)=1050=0.2Pr(H_{adults}) = \frac{10}{50} = 0.2

Pr(HboyA)=1/30.61/30.6+0.30.2+0.30.2=0.625Pr(H_{boy}|A) = \frac{1/3 * 0.6}{1/3 * 0.6 + 0.3 * 0.2 + 0.3 * 0.2} = 0.625

So, required probability is approximately 62.5%


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS