<m>\chi^2</m> Test

Text of section.

A store owner wants to determine how much shelf space to allocate to each of the drinks that they sell. They survey their customers about their favorite drinks. Is the data below consistent with the null hypothesis that each type of drink will be equally preferred?

drink type water soda tea coffee energy drinks favorite 28 17 15 26 14

A particular drug is administered in 100 independent trials. In each trial, the drug is administered to four people, and we count how many respond to the drug. The table below shows how many trials have each different count of people who respond to the drug.

# who respond to drug 0 1 2 3 4 # of trials 3 11 31 34 21

Is the data consistent with a binomial distribution with parameter p = 0.7?

What is the total number of people who have been administered the drug? What is the total number who have responded to it? What is the maximum likelihood estimation for the probability p that a person will respond to the drug?

Is the data consistent with a binomial distribution with the MLE value of p?