2.2 Contigency table and probability
Another useful way to calculate probabilities is having the data arranged in a contingency table
Contingency table displays the joint probabilities \(P(A_i \cap B_j)\) at all possible intersections of row \(i\) and column \(j\), the marginal probabilities \(P(A_i)\) in the summary column, and the marginal probabilities \(P(B_j)\) in the summary row. The marginal probabilities are consider as unconditional probabilities
Union probabilities and conditional probabilities can be computed from the joint and marginal probabilities


What is the probability that a company is listed on the stock exchange?
What is the probability that a company deals with trade AND is not listed on the stock exchange?
What is the probability that a company deals with trade OR is not listed on the stock exchange?
What is the probability that a company deals with trade GIVEN that is not listed on the stock exchange?
What is the probability that a company is not listed on the stock exchange GIVEN that deals with trade?
Using multiplication rule check if two qualitative variables are independent.
Create another contingency table assuming independence between type of branch and company’s listing.