A survey of people in Iowa showed that 40 out of 400 prefer watching TV comedy shows. Another survey in Colorado showed that 90 out of 600 prefer watching TV comedy shows. At a 1% significance level, would it seem that the true proportions of people that prefer TV comedy shows in the two states are the same?
Give the null and alternate hypotheses.