Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
R.Venkatesakumar
Department of Management Studies
School of Management, Pondicherry University
Puducherry, INDIA
Hypothesis Testing
Basic Concepts / Definitions
Hypothesis Testing
1.8 x scale
H 0
90
20 m= 50
Sample Means Sample Means
H0
Two-Tail Hypothesis Tests-Example
One-Tailed Test
It is unlikely that
we would get a ... therefore, we
sample mean of reject the
this value ... hypothesis that
μ = 50.
20 m= 50 Sample Means
H0
One-Tail Hypothesis Tests-Example
The Logic of Hypothesis Testing
17
The Logic of Hypothesis Testing-
[Text book approach!]
Starts with an assumption that if the null hypothesis is
true…
Then, compute appropriate TEST STATIC [Mostly
Error Value]
If the error is higher than NORMS [Table Value]…
Then reject null hypothesis
If the error is smaller - than NORMS [Table Value]…
Then accept null hypothesis
The null hypothesis is tested using sample data
The sample result provides enough evidence to reject the null or does not
provide enough evidence to reject
The Logic of Hypothesis Testing-
[Software / Significance approach!]
Starts with an assumption that if the null hypothesis is true…
Then, compute appropriate TEST STATIC [Mostly Error
Value]
If the probability /chance of getting the value is smaller - …
Then reject null hypothesis
If the probability /chance of getting the value is higher - …
Then accept null hypothesis
The null hypothesis is tested using sample data
The sample result provides enough evidence to reject the null or does not provide
enough evidence to reject
Type-1 Error / Type-2 Error
Confidence & Significance levels
20
The Difference Between Type I
and Type II Errors
Actual State of H0
Type I Error
Reject H0 P(Type I Error) = Correct Outcome
9-23
Type-1 Error / Type-2 Error
Do not reject H0
Reject H0 Acceptance Region Reject H0
/Probability
1.8
x scale
H 0
Do not reject H0
Reject H0 Acceptance Region Reject H0
/Probability β
1.8
x scale
H 0
Actual State of H0
Decision H0 is True H0 is False
Type I Error
P(Type I Error) =
Reject H0 Correct Outcome
28
Type I and Type II Errors
37
CASE1 One Sample Mean Test Exercise1
Large samples – with Sigma-P is known
Mean
SD -P
N
SE Ho: μ=
H1: μ≠
Z= α 0.05
Zcrit
Z-Dist
38
CASE1 One Sample Mean Test Exercise2
Large samples – with Sigma-P is known
39
CASE1 One Sample Mean Test Exercise3
Large samples – with Sigma-P is known
40
CASE1 One Sample Mean Test Exercise4
Large samples – with Sigma-P is known
41
CASE1 One Sample Mean Test Exercise5
Large samples – with Sigma-P is known
42
CASE1 One Sample Mean Test Exercise6
Large samples – with Sigma-P is known
43
CASE2 One Sample Mean Test
Large samples – with Sigma-P is unknown
44
CASE2 One Sample Mean Test Exercise1
Large samples – with population SD is unknown
45
CASE2 One Sample Mean Test Exercise2
Large samples – with population SD is unknown
46
CASE2 One Sample Mean Test Exercise3
Large samples – with population SD is unknown
47
CASE3 One Sample Proportion Test
Large samples – with population SD is known/unknown
48
CASE3 One Sample Proportion Test
Large samples – with population SD is known/unknown
Sampling Distribution of pˆ
pq p̂q̂
p̂ z 2 p̂ p̂ z 2 p̂ z 2
n n
x
where p̂ and q̂ 1 p̂.
n
.053 p .107
CASE3 One Sample Proportion Test Exercise1
Large samples – with population SD is known/unknown
54
CASE3 One Sample Proportion Test Exercise2
Large samples – with population SD is known/unknown
55
CASE3 One Sample Proportion Test Exercise3
Large samples – with population SD is known/unknown
56
CASE4 One Sample Mean Test
Large samples from Finite Population– with population
SD is known/unknown
57
CASE4 One Sample Mean Test
Large samples from Finite Population– with population
SD is known/unknown
58
CASE4 One Sample Mean Test Exercise1
Large samples from Finite Population– with population
SD is known/unknown
59
CASE4 One Sample Mean Test Exercise2
Large samples from Finite Population– with population
SD is known/unknown
60
CASE4 One Sample Mean Test Exercise3
Large samples from Finite Population– with population
SD is known/unknown
61
CASE5 One Sample Mean Test
Small samples – with population SD is unknown
Normal
distribution
t (df = 13)
t-distributions are bell-shaped
and symmetric, but have t (df = 5)
‘fatter’ tails than the normal
t
Using the Student’s t-distribution
Comparing t-scores and z-scores:
Confidence t t t z
Level (10 df ) (20 df ) (30 df )
Note: t z as n increases
Using the Student’s t-distribution
2. t
Find /2 for (15 – 1) = 14 df and 95% confidence
(from Table): t / 2 t0.025 2.145
Based on our sample mean of 5.11, we are 95% confident that the
population mean is between 4.64 and 5.58
CASE5 One Sample Mean Test Exercise1
Small samples – with population SD is unknown
71
CASE5 One Sample Mean Test Exercise2
Small samples – with population SD is unknown
72
Thank You
73