Cans of black olives are filled by two machines (A and B) in a food processing factory. The distribution of the gross mass is known to be normal with mean 500 g and standard deviation 5.3 g for machine A, and normal with mean 504 g and standard deviation 4.8 g for machine B.
A batch of canned black olives have been filled by the same machine, but it is not known which machine was used. As some substandard olives have accidently been used by machine A, it is decided to test
H0: batch is from machine A, against
H1: batch is from machine B
By weighing a random sample of 6 cans and rejecting H0 if the mean mass exceeds a pre-determined mass of k g.
(a) Determine constant k such that the risk of type I error is 5%. What is the corresponding risk of type II error?
(b) Apply and carry out the test for a sample of 6 cans with masses 511, 499, 500, 498, 507, 495 g.
(a)
"H_o:a=a_o=500\\\\\n\n H_1:a>a_o=500"
a=population mean
"\\alpha=0.05"
"\\phi{u_{cr}}=\\dfrac{1-2\\alpha}{2}=0.45"
So critical value "u_{cr}=1.64"
We will use the following random variable:
"U=\\dfrac{\\bar{X}-a_o)\\sqrt{n}}{\\sigma}"
"\\dfrac{(k-500)\\sqrt{6}}{5.3}>1.64"
"k=503.55"
TYPE II Error:
"\\beta=\\dfrac{1}{\\sqrt{2\\pi}(4.8)} \\int_{-\\infty}^{503.55}e^{-\\dfrac{(x-504)^2}{2(4.8)^2}dx}"
"=(t=\\dfrac{x-594}{4.8}, dt=\\dfrac{1}{4.8}dx)"
"=\\dfrac{1}{\\sqrt{2\\pi}}\\int_{-\\infty}^{-0.09375}e^{-\\dfrac{t^2}{2}}dt"
"=0.5-\\phi(0.09375)=0.4627"
(b)As "\\bar{x}=501.7"
"u_{obs}=\\dfrac{501.7-500)\\sqrt{6}}{5.3}=0.79"
"u_{obs}<u_{cr}"
So we accept "H_o:a=a_o=500"
Comments
Leave a comment