In: Math
A psychologist is interested in whether or not handedness is related to gender. Specifically she wants to know if the percentage left-handed men in the population is different from the percentage of left-handed women. She collected data on handedness for 200 men and 200 women.
Then she used Chi-square test of independence.
We have the frequencies of left- and right-handed men and women. The null hypothesis is that the proportions are the same for men and women. This can be expressed as hypothesizing that handedness is independent of gender. The chi-square test for independence can applied to frequency data to test whether whether the distributions of frequencies differ for two groups.
The null hypothesis is that the proportions of left-handedness are the same for men and women. This can be expressed as hypothesizing that handedness is independent of gender. The observed data are the frequencies of left- and right-handed men and women.
The data can be summarized in a 2×2 table with gender (male, female) on one axis and handedness (left, right) on the other. The chi-square test for independence can applied to this table of frequency data to test whether whether the relative frequencies of handedness differ for men and women.