You are on page 1of 1

One Sample t Test for Mean

H 0 : µ = 3 (The average number of TV sets in M’sia ho mes is equal t o 3) H 1 : µ 3 (The average number of TV sets in M’sia ho mes is not equal to 3)

α = 0.05, d.f = n – 1 = 99 Critical Value: t αααα/2,n-1 = t 0.025,99 = ±±±±1.98 Decisi on Rule:

= 100 0.8 n s Decisi on: t = µ 2.84 X − 3 − Reject
=
100
0.8
n
s
Decisi on:
t =
µ
2.84
X −
3
Reject H 0 if t > 1.98 or t < −1.98
Test S tatistics:
= − 2
X = 2.84, n = 100, s = 0.8
X = 2.84,
n = 100,
s = 0.8
X = 2.84, n = 100, s = 0.8

t = 2 less t han t α/2,n-1 = 1.98, r eject H 0 at α = 0.05 Conclusion:

There is sufficient evidence to conclude t hat the average number of TV sets in M ’sia ho mes is not eq ual to 3.

H 0 : µ 3 (The average number of TV sets in M’sia ho mes is at least 3) H 1 : µ < 3 (T he average number of TV sets in M’sia ho mes is less t han 3)

α = 0.05, d.f = n – 1 = 99 Critical Value: t αααα,n-1 = t 0.05,99 = 1.658 Decisi on Rule:

= 100 0.8 n s Decisi on: t = µ 2.84 X − 3 − Reject
=
100
0.8
n
s
Decisi on:
t =
µ
2.84
X −
3
Reject H 0 if t < −1.658
Test S tatistics:
= − 2
X = 2.84, n = 100, s = 0.8
X = 2.84,
n = 100,
s = 0.8
X = 2.84, n = 100, s = 0.8

t = 2 less t han t α,n-1 = 1.658, rej ect H 0 at α = 0.05 Conclusion:

There is sufficient evidence to conclude t hat the average number of TV sets in M ’sia ho mes is less tha n to 3.

H 0 : µ 3 (The average number of TV sets in M’sia ho mes is at most 3) H 1 : µ > 3 (T he average number of TV sets in M’sia ho mes is more t han 3)

α = 0.05, d.f = n – 1 = 99 Critical Value: t αααα,n-1 = t 0.05,99 = +1.658 Decisi on Rule:

Reject H 0 if t > 1.658 Test S tatistics:

 

X

µ

2.84

3

t =

s

=

0.8

 

n

100

= − 2

Decisi on:

X = 2.84, n = 100, s = 0.8
X = 2.84,
n = 100,
s = 0.8
X = 2.84, n = 100, s = 0.8

t = 2 less t han t α,n-1 = 1.658, do not reject H 0 at α = 0.05 Conclusion:

There is insufficient

evidence to co nclud e that the

aver age

number of TV sets in M ’sia ho mes is more tha n to 3.

 

p-value = P(t > 2) + P(t < 2)

α/2 = 0.025 α/2 = 0.025 -1.98 0 1.98 t 99
α/2 = 0.025
α/2 = 0.025
-1.98
0
1.98
t 99
 
 

-2.0

2.0

 

α

=

0.05

0.025

0.01

0.005

 

α

=

 

v =

40

1.684

2.021

2.423

2.704

v =

40

 

60

1.671

2.000 2.390 1.980 < t < 2.358 1.960 2.326
2.000
2.390
1.980
< t <
2.358
1.960
2.326
  • 2.660 60

120

1.658

  • 2.617 120

1.645

  • 2.576

   
 

(0.01)(2) < p-value < (0.025)(2) = 0.02 < p -value < 0.05 p-value < 0.05, reject H 0

 
 

p-value = P(t < 2)

α = 0.05 -1.658 0
α = 0.05
-1.658
0

t 99

 
 

-2.0

 

0.05

0.025

0.01

0.005

 

α

=

1.684

2.021

2.423

2.704

v =

40

1.671

2.000 2.390 1.980 < t < 2.358 1.960 2.326
2.000
2.390
1.980
< t <
2.358
1.960
2.326
  • 2.660 60

1.658

  • 2.617 120

1.645

  • 2.576

   

0.01 < p-value < 0.025 p-value < 0.05, reject H 0

   

p-value = P(t > 2)

1.658 t 99 α = 0.05 0
1.658 t 99
α = 0.05
0

-2.0

0.05

0.025

0.01

0.005

2.000 2.390 1.980 2.358 1.960 2.326 < t < 2.423 1.645 2.576 2.660 2.617 2.704 1.684
2.000
2.390
1.980
2.358
1.960
2.326
< t <
2.423
1.645 2.576
2.660
2.617
2.704
1.684
1.658
2.021
1.671

1 – (0.01 < p-value < 0.025) = 0.975 < p -value < 0.99 p-value > 0.05, do not reject H 0