Lecture 7 Test
Lecture 7 Test
Lecture 7
P(Type I Error) = α
Null hypothesis H0 : µ = µ0
x − µ0
Test statistic value: z = √
σ/ n
Alternative Hypothesis Rejection Region for Level α Test
Ha : µ > µ0 z ≥ zα (upper-tailed test)
Ha : µ < µ0 z ≤ −zα (lower-tailed test)
Ha : µ ̸= µ0 |z| ≥ zα/2 (two-tailed test)
Null hypothesis H0 : µ = µ0
x − µ0
Test statistic value: z = √
s/ n
Alternative Hypothesis Rejection Region for Level α Test
Ha : µ > µ0 z ≥ zα (upper-tailed test)
Ha : µ < µ0 z ≤ −zα (lower-tailed test)
Ha : µ ̸= µ0 |z| ≥ zα/2 (two-tailed test)
X −µ
T = √
S/ n
Solution.
p = the true proportion of all commercial chardonnay bottles considered
spoiled to some extent by cork-associated characteristics.
Null hypothesis H0 : p = 0.15. Alternative Hypothesis Ha : p > 0.15
16
With n = 91, p̂ = = 0.1758, test statistic value:
91
p̂ − 0.15 0.1758 − 0.15
z=p =p = 0.69
(0.15)(0.85)/n (0.15)(0.85)/91
proportion
E (pˆ1 − pˆ2 ) = p1 − p2 ,
Null hypothesis H0 : p1 − p2 = ∆0
pˆ1 − pˆ2
Test statistic value: z = s
1 1
p̂ q̂ +
m n
X +Y
where p̂ = và q̂ = 1 − p̂.
m+n
Alternative Hypothesis Rejection Region for Approximate Level α Test
Ha : p 1 − p 2 > ∆ 0 z ≥ zα
Ha : p 1 − p 2 < ∆ 0 z ≤ −zα
Ha : p1 − p2 ̸= ∆0 |z| ≥ zα/2
Null hypothesis: H0 : µD = ∆0
(where D = X − Y is the difference between the first and second observa-
tions within a pair, and µD = µX − µY ).
Test statistic value:
d − ∆0
t= √
sD / n
(where D and sD re the sample mean and standard deviation, respectively,
of the di ’s).
Alternative Hypothesis Rejection Region for Level α Test
H a : µD > ∆ 0 t ≥ tα,n−1
H a : µD < ∆ 0 t ≤ −tα,n−1
Ha : µD ̸= ∆0 |t| ≥ tα/2,n−1
Sxy
r=√ p
Sxx Syy
. Properties.
i. r ∈ [−1; 1]
ii. If r = 0 then two random variables have no correlation.
iii. The linear dependence of the two variables is shown in the following
table
Weak Moderate Strong
|r | ≤ 0.5 −0.8 < r < −0.5, 0.5 < r < 0.8 |r | ≥ 0.8
fx-570
1. (frequent column) Shift → Mode → ⇓ 4 → 1.on
2. Mode → 3:STAT → 2.
Input data, then press AC.
3. Shift → 1 → 5. Reg → 1. A
Shift → 1 → 5. Reg → 2. B
Shift → 1 → 5. Reg → 3. r: correlation
fx-580
1. MODE → 6 → 2
Input data, then press AC.
2. OPTN → 3
Note: The linear regression equation is Y = A + BX .