To distinguish between groups, this test is used. Discriminate testing group in a class is comparison. Z-test for large two-sample comparisons, t-tests for small two-sample comparison, ANOVA for multiple group comparison, and nonparametric tests for each comparing is a part of homework. Use of chi-square tests is done to test independence between variables. It is used in above described test and as a part of procedure in regression.