Let "A_1" denote asian student, "A_2" denote american student, "A_3" denote european student, "A_4" denote african student, and "G" denote that a tudent is a girl.
Given
"P(A_1)=0.3,"
"P(A_2)=0.4,"
"P(A_3)=0.2,"
"P(A_4)=0.1,"
"P(G|A_1)=0.4,"
"P(G|A_2)=0.5,"
"P(G|A_3)=0.6,"
"P(G|A_4)=0.2"
"+P(A_3)P(G|A_3)+P(A_4)P(G|A_4)="
"=0.3(0.4)+0.4(0.5)+0.2(0.6)+0.1(0.2)=0.46"
Use the Bayes' Theorem
Comments
Leave a comment