An online coffee bean retailer is investigating whether the type of coffee beans that their customers buy and the age of the customers are related. Each customer in a random sample of size 330 from their customer list is categorized by their age and the type of coffee beans they order. The data are in the table below.
Coffee bean type | |||||
Arabica | Robusta | Liberica | Excelsa | ||
Age (years) | Less than 30 | 48 | 61 | 57 | 17 |
Greater than or equal to 30 | 29 | 45 | 50 | 23 |
Which of the following procedures would be most appropriate to use for investigating whether there is a relationship between age and coffee bean type?
A two-sample -test
A two-sample t-test
A chi-square test for homogeneity
A chi-square goodness of fit test
A chi-square test for independence
Did this page help you?