Professional Documents
Culture Documents
W1 2 Hypothesis Testingpopulation MeanNQ
W1 2 Hypothesis Testingpopulation MeanNQ
T E S T I NG
Module 1-2:
Null and Alternative
Hypotheses,
Parameters
Hypothesis testing
H0 : p = 52%
Ha : p ≠ 52%
EXAMPLE 1
H0 : p 15%
Ha : < 15%
EXAMPLE 3
H0 : p= 95%
Ha : > 95%
EXAMPLE 5
Two-tailed test
EXAMPLE 2
H0 : 120
Ha : > 120
Critical Region/Rejection
region
A critical region or rejection
region is the set of values of the
test statistic for which the null
hypothesis will be rejected.
n = 12 n < 30 t- test
=5 is unknown
Module 5 :
Critical Value
Level of Significance ( Acceptance and Rejection
Region
a
H0: m = 3 Critical
Confidence
alpha level
Level
90% 0.10
95% 0.05
99% 0.01
Establishing critical region using critical value
• What is needed?
– T-table
– tailed-test
– Level of significance
– Degrees of freedom
Establishing critical region
1. α = 0.01, right-tailed test, n = 40
c. v. = 2.33 df = 14
2.33
2. α = 0.05, 2-tailed test, n = 15
c. v. = +2.15
-2.15 2.15
3. α = 0.10, left-tailed test, n = 23
c. v. = -1.32 df = 22
-1.32
Establishing critical region
4. α = 0.01, 2-tailed test, n = 11
df = 10
c. v. = +3.17
-3.17 3.17
5. α = 0.01, left-tailed test, n = 100
c. v. = -2.33
-2.33
6. α = 0.05, right-tailed test, n = 20
df = 19
c. v. = 1.73
1.73
Module 7:Decision and
Conclusion
Decision
Decision: Do not Reject
When the computed t-value falls in the
Acceptance Region (Unshaded part)
Conclusion: There is no significant difference between
population and sample mean
Decision: Reject
When the computed t-value falls in the Rejection
Region (Shaded part)
Conclusion: There is a significant difference between
population and sample mean
Establishing critical region
1. c. v. = 2.33
Computed t = 1.64
Computed t is at Acceptance Region
2.33
Do not Reject
2. c. v. = +2.15
Computed t = -3.15 -2.15 2.15
Computed t is at Rejection Region
Reject
3. c. v. = -1.32
Computed t = -2.15 -1.32
Computed t is at Rejection Region
Reject
Module 8
Problem Solving
HYPOTHESIS TESTING
=8
n = 50
=5
n = 100
• Step 5. Make a decision.
Do not Reject Ho . Since the computed z = -4
can be found in the acceptance region.
• Step 6. Conclusion
2.33
– Since the decision is Do not Reject Ho , there is no significant difference
between the population mean and sample mean. The average capacity of
bottled fruit juice is 250 ml.
– The claim is not true.
EXAMPLE 3
3. A study claims that all of the students spend an average of less than 5
hours answering module per day. A researcher wanted to check if this claim
is true. A random sample of 25 students showed that they spend an
average of 4.20 hours working on their module per day with a standard
deviation of 2.1 hours. Using the 90% confidence level, test the claim.
• Step 1. Ho : = 5 Given:
5
Ha < 5 4.20
• Step 2.Tailed test : one-tailed left-tailed test = 2.1
n = 25
90%, then Level of significance α = 0.10
• Step 3. Test statistic: n = 25 students, t -test
df = 25-1 = 24, critical values Z = -1.32 -1.32
EXAMPLE 3 continuation …
Step 4. Computation
Given:
t= =
= -1.91
= 2.1
n = 25
• Step 5. Make a decision.
Reject Ho . Since the computed z = -1.91
can be found in the rejection region.
• Step 6. Conclusion
-1.32
– Since we Reject Ho , there is a significant difference between the population
mean and sample mean. The students spend an average of less than 5 hours
answering their modules.
– The claim is true.