Let's say I have 2 sets of grades from students. Maybe I'm looking at gender differences or some such but the disaggregating factor could be continuous or multinomial.
Group A: 3 D's, 5 C's, 13 B's and 2 A's. Group B: 2 D's, 3 C's, 7 B's and 11 A's.
How do I perform a statistical analysis to determine whether the grades of B are significantly better than those of group A?
Would it just be a case of multiple chi-squared or Fisher tests, pivoting on grade X or better? Is there a Mann-Whitney-U equivalent that I could use?
It would be preferable that I could also include confounding variables. Like whether students had any additional tutoring on the side. But it's not necessary.