a chi-square test of independence is done to determine if there is a relationship between gender and optimal study time (morning, afternoon, evening, late night). the degrees of freedom for this test are: