In: Math
James was eating a bag of candies that came in eight different colors. He noticed that there appeared to be far fewer green candies than any of the other colors and wondered if the true proportion of green candies was lower than the 12.5% that would be expected if all of the candies came in even amounts. For the sake of statistics, he decided that he would need to buy more candy to test his hypothesis. James randomly selected several bags and candies and recorded the color of each piece of candy. He found that out of the first 400 candies that he chose, 39 of them were green.
James conducts a one-proportion hypothesis test at the 5% significance level, to test whether the true proportion of green candies was lower than 12.5%.
(a) H0:p=0.125; Ha:p<0.125, which is a left-tailed test.
(b) Use a TI-83, TI-83 plus, or TI-84 calculator to test whether the true proportion of green candies is less than 12.5%. Identify the test statistic, z, and p-value from the calculator output, rounding to three decimal places.