A sample of 150 individuals (males and females) was surveyed,and the individuals were asked to indicate their yearly incomes.Their incomes were categorized as follows.
Category 1 | $20,000 | up to | $40,000 |
Category 2 | $40,000 | up to | $60,000 |
Category 3 | $60,000 | up to | $80,000 |
Income Category | Male | Female |
Category 1 | 10 | 30 |
Category 2 | 35 | 15 |
Category 3 | 15 | 45 |
We want to determine if yearly income is independent ofgender.
a. Compute the test statistic.
b. Using the p-value approach, test to determine if yearlyincome is independent of gender. Use ? = .05. Briefly discuss.