A quality control engineer at a potato chip company tests the bag filling machine by weighing bags of potato chips. Not every ba
g contains exactly the same weight. But if more than 15% of bags are over-filled then they stop production to fix the machine. They define over-filled to be more than 1 ounce above the weight on the package. The engineer weighs 100 bags and finds that 21 of them are over-filled. He plans to test the hypotheses: H0: p = 0.15 versus Ha: p > 0.15 (where p is the true proportion of overfilled bags). What is the test statistic?
We have a large sample size n = 100, the point estimate for the true proportion of overfilled bags p is given by . The test statistic is given by which is distributed as a standard normal variable approximately because we have a large sample. The observed value for the test statistic in this case is