You are on page 1of 6

PROBABILITY AND STATISTICS INSTRUCTOR:

M ADNAN WAHEED

Z TEST
Population mean (µ) and (∂2) known or unknown variance
sample size n ≥ 30

Question of z test .
PROBABILITY AND STATISTICS INSTRUCTOR:
M ADNAN WAHEED

A random sample of size 36 is taken from normal population with known variance = 25.if the
mean of sample =42.6 . Test the null hypothesis against less or equal 45 and alternative
hypothesis greater then 45.

Table

1=Hypothesis test: null or alternative

Ho : µ ≤ 45
H1 : µ > 45
2= level of significance Level of Two tail One tail
significance
α =5% = 0.05 =1.645 10% 1.645 1.28
5% 1.96 1.645
1% 2.58 2.33
(x̄− µ)
3= test statistic Z= 𝛛x̄
4= Computation
x̄ = 42.6 µ=45 ∂2= 25 n=36 𝛛 5
𝛛x̄ = = =0.833
√𝑛 6
∂= 5

(42.6− 𝟒𝟓) −𝟐.𝟒


Zcal = 𝟎.𝟖𝟑𝟑 = = -2.8811
𝟎.𝟖𝟑𝟑
Zcal = -2.8811
5= Critical region Z calculated > Z𝛼

-2.8811 > 1.645

6= Interpretation
Rejected H1 Accepted H0
PROBABILITY AND STATISTICS INSTRUCTOR:
M ADNAN WAHEED

T TEST
PROBABILITY AND STATISTICS INSTRUCTOR:
M ADNAN WAHEED

Testing hypothesis of population mean (µ) and ∂2 unknown variance sample size < 3

Question:
Four individual are chosen at random from a population are height are found to be in feet.
Discuss the suggestion that mean height in the population is 7 feet.

Sol .

1=Hypothesis test: null or alternative


Ho : µ= 7
H1 : µ ≠ 7

2. level of significance
α=5% =0.05
(x̄− µ)
3. test statistic t= 𝐬
√𝑛

4. Computation
x X2
6 36
7 49
5 25
3 9

∑x= 21 ∑x2=119
PROBABILITY AND STATISTICS INSTRUCTOR:
M ADNAN WAHEED

∑𝒙 𝟐𝟏 119 21
𝐱̄̄= = =5.25 √s2=√ 4 –[ 2 ]2
𝒏 𝟒
s=1.479

𝐬 𝟏.𝟒𝟕𝟗
= =0.739
√𝑛 2

(5.25− 𝟕)
tcal = 𝟎.𝟕𝟑𝟗 = -2.368
t calculated= -2.368

5= Critical region
𝑎
|t|≥ t2 (n-1)

|2.369|≥ t0.025(3)
2.369 ≥ 3.182

6= Interpret
H1= Reject H0= Accept
PROBABILITY AND STATISTICS INSTRUCTOR:
M ADNAN WAHEED

TABLE (T TEST)

You might also like