Suppese X is a discrete random variable taking four values : x1, x2, r3 and x4, and Y is a discrete random variable taking two values: y1 and y2. Based on the following contingency table to test whether X and Y are independent.
X1 x2 x3 x4
y1 135 23 42 56
y2 160 43 73 90