6. (10%) The following table contains observed frequencies of a sample of 500. Test for independence of the row and column variables using α=0.01 level of significance.