a) Define a null hypothesis and an alternative hypothesis
1. A machine is set to produce bags of sugar whose weights are normally distributed with mean 1000g and standard deviation 5g to check the accuracy. The samples of 9 bags are taken and mean weight is found to be 1003g.
a) Define type I error and type II error.
b) Using the one tail test, is the machine`s setting set to high?
c) Using a two tail test, is the machine correctly set.
2. A random sample of 10 flash lights batteries with a mean operating life of 58 hours and a sample standard deviation of 1hour is picked from a production line known to be produced battery with normally distributing operating lives. The manufacturer claims that the mean operating life is 8hourd.
a) Define a null hypothesis and an alternative hypothesis.
b) Explain the steps in hypothesis testing.
c) Test the manufacturers claim at 5%.