The chi-square test

Chi-square measures how far observed counts are from the counts a hypothesis expects, and comparing it with a critical value says whether the gap is too large to put down to chance.

From AP Biology.