


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Reality H 0 HA Decision accept Ok β H 0 Type II error Rule reject α Ok H 0 Type I error
Two types of error:
α = probability of rejecting H 0 when it is true.
Type I error
β = probability of accepting H 0 when it is false.
Type II error
Objective: For a fixed level α, use the test with the smallest β.
Both of these are quantities relating the decision rule and not the particular data.
The critical region is C = {|z| ≥ 1. 96 }, for
z =
x¯ − μ 0 σ/
n
By design the probability of C if μ = μ 0 is α = 0.05. The type I error is fixed beforehand and the critical region is designed with this in mind. Why is this a good critical region?
μ 0 = 100 σ^2 = 25 n = 64
C 1 =
¯x − 100 5 / 8
x¯ − 100 5 / 8
Both of these have level α,
Power 1 = P
¯x − 100 5 / 8
¯x − 100 5 / 8
= P{x <¯ 100 − 5 /8(1.96)} + P{x >¯ 100 + 5/8(1.96)}
= P
¯x − 98 5 / 8
x¯ − 98 5 / 8
Power 2 = P {x¯ ≥ 100 + (5/8)1. 645 }
= P
¯x − 98 5 / 8
To test H 0 : λ = 2 versus HA : λ 6 = 2. Again the sum is the test statistic. The critical region is C = {Y ≤ 3 or Y ≥ 16 }.
α = P 2 {Y ≥ 16 or Y ≤ 3 } =. 059
Y 2 3 4 5 6 P .002 .008 .02 .04. Y 16 17 18 19 20 P .02 .01 .008 .004.
Possible critical regions P{Y ≥ 17 or Y ≤ 4 } =. 056 P{Y ≥ 16 or Y ≤ 3 } =. 059 P{Y ≥ 17 or Y ≤ 3 } =. 037 P{Y ≥ 18 or Y ≤ 4 } =. 043
Which critical region should we use?
P 1 {Y ≥ 16 or Y ≤ 3 } = 0 + 0.265 = 0. 265
P 4 {Y ≥ 16 or Y ≤ 3 } = 0.8435 + 0 = 0. 8435
f 0 (x) fA(x)
≤ c or
P 0 (k) PA(k)
≤ c