Given the table, compute the conditional probability P(Student = ‘Yes’| Buys_Computer = ’Yes’) =
Bayes Method
Given the table, compute the conditional
P(Student = ‘Yes’| Buys_Computer = ’Yes’) =
It is given that,
The number of favorable cases with "Buys_computer = Yes" is = 9
Total number of cases =14
Thus,
The probability of "Buys_computer = Yes" is,
P(Buys_computer = Yes) = Number of favorable cases / Total number of cases
=9/14
Now,The total number of favorable case with "student = ‘Yes’ and Buys_Computer = ’Yes’" is =6
Total number of cases =14
Now, the Probability of "student = ‘Yes’ and Buys_Computer = ’Yes’" is,
P("student = ‘Yes’ and Buys_Computer = ’Yes’" ) = Number of favorable cases / Total number of cases
=6/14
Step by step
Solved in 3 steps