Test the null hypothesis of independence of the two qualitative variables A (political affiliation: A1 = Republican; A2 = Democrat; A3 = Independent) and B (education: B1 = high school; B2 = college; B3 = graduate school) summarized in the 3x3 contingency table shown below. Use alpha = 0.05.
B1 B2 B3
A1 40 72 36
A2 63 53 21
A3 31 38 12