6 Lecture Notes Hypothesis Testing - 2025
6 Lecture Notes Hypothesis Testing - 2025
Sharkay Izally
Department of Statistics
2025
Aims
To understand concepts and procedure of carrying out an hypothesis
test
Perform test of hypothesis for µ, σ 2 , and p.
P(T > 1.833) <P(T > 1.5811) < P(T > 1.383)
0.05 <p-value < 0.10
310 315 415 365 445 375 300 410 365 350
Solution
From the data n = 10, x = 365 and s = 48.3046
Hypotheses:
H0 : µ = 400 vs H1 : µ < 400
Test statistic:
X −µ
√ ∼ tn−1
T = s/ n
Rejection region:
Reject H0 if Tobs < −tn−1,α = −t9,0.01 = −2.821
Calculations:
365−400
Tobs = 48.3046/ √
10
= −2.2913
P-value:
P(T9 > 2.821) <P(T9 > 2.6352) < P(T9 > 2.262)
p − value
0.01 < < 0.025
2
0.02 <p − value < 0.05
The hypotheses
(n − 1) S 2
χ2 = ∼ χ2 (n − 1)
σ02
where σ02 is the value of the population variance specified under H0 .