Test of Independence Using Chi-Square Distribution