45-733 PROBABILITY AND STATISTICS I Topic #8A
29 February 2000
We have a large shipment of devices delivered to our manufacturing
plant. Suppose we know with certainty that either the proportion of
defective devices is either .01 or .001. We take a random sample and
Ù Ù
compute p. Given p, how do we decide between .01 and .001?
In the classical theory of two simple hypotheses we denote these two
possibilities as:
True State of World
H0 H1
--------------
Accept H0 |1 - a | b |
| | |
Decision |------|-----|
| | |
Reject H0 | a |1 - b|
| | |
--------------
_ If Xn > m0 + c then Reject H0: _ If Xn < m0 + c then Do Not Reject H0:Where c is some constant. In most circumstances m0 < m0 + c < m1.
_
a = P[Xn > m0 + c | m = m0]
_
b = P[Xn < m0 + c | m = m1]
_
a = P[Xn > 100 + c ] = .05 =
_
P[(Xn - 100)/20/5 > (100 + c - 100)/4 ] = P[Z > c/4]
Now, since P[Z > 1.645] = .05, c/4 = 1.645, and c = 6.58
_
b = P[Xn < 106.58 | m = 110] =
_
P[(Xn - 110)/4 < (106.58 - 110)/4 ] =
P[Z < -.855] = F(-.855) = 1 - F(.855) = .1967
The only way to simultaneously reduce
a and
b is to
increase the sample size. With fixed sample size, n, reducing
a causes
b to increase and vice versa.
There are many
situations in which it is desirable to make
a or
b as small
as possible even at the cost of greatly increasing the other error. A good
example of this is disease testing:
True State of World
Has Not
Disease Have
Disease
--------------
Patient Has Disease |1 - a | b |
| | |
Doctor's Decision |------|-----|
| | |
Patient Does Not Have | a |1 - b|
Disease | | |
--------------
_ If Xn > mo + c then Reject H0: _ If Xn < mo + c then Do Not Reject H0:Which is equivalent to:
_
If (Xn - mo)/s/n1/2 > za then Reject H0:
_
If (Xn - mo)/s/n1/2 < za then do not Reject H0:
