From the course: Machine Learning Foundations: Probability

Unlock this course with a free trial

Join today to access over 25,600 courses taught by industry experts.

Joint probability tables

Joint probability tables

- [Instructor] Let's consider a company that has 500 employees, of which 200 workers are seniors working full-time. 50 workers are seniors working part-time. 150 workers are juniors working full-time, and 100 workers are juniors working part-time. If an employee is selected at random, what is the probability that the person is a full-time employee? Before calculating the probability, we can arrange the data in the table. The tail data is in the center of two by two numerical portion of the table. In the columns we have employees divided by employment type, full-time and part-time. In the rows we have employees grouped by seniority, seniors and juniors. The final row is the sum of the columns, and the final column is the sum across the rows. The sum of the final row or column is in the last cell, which sums up to 500 employees. This type of table is called a contingency table. Now, we can easily transform the contingency…

Contents