The following contingency table shows the distribution of grades earned by students taking a midterm exam in an MBA class, categorized by the number of hours the students spent studying for the exam. Complete parts a. and b. below.
a. Using a = 0.025, perform a chi-square test to determine if a student's grade on the exam and the hours spent studying for it are independent of one another.
|Less than 3 hours||5||16||10|
|More than 5 hours||23||13||4|