Professional Documents
Culture Documents
Presented by:
MOHAMMAD FAROOQ
Head of
MATHEMATICS
LEARNING OBJECTIVES
What is a Hypothesis?
Process of Hypothesis Testing
Hypothesis Test of Mean
◦ population proportion
Example: The proportion of adults in this
city with cell phones is π or p = .68
4
Test of Hypothesis
• Hypothesis- Hypothesis is generally
considered the most important instrument
in research. Its main function is to suggest
new functions and ideas. In social sciences
where direct knowledge of population
parameters is rare hypothesis testing is the
often used for deciding whether sample
data supports our purpose
Characteristics of a hypothesis
• Hypothesis should be clear and precise
• Hypothesis must be consistent with most
known facts
• Hypothesis must be testable within a
reasonable time
• Hypothesis must explain the facts which most
need explaining
• Hypothesis should be able to relate to a
variable
Concept of Hypothesis Testing
Process of Hypothesis Testing
8
1 tailed and 2 tailed test
a
Level of significance =
a a a /2 a/
2
- 0 0 zα - 0 zα/2
zα zα/2
Reject Do not Do not Reject Reject Do not Reject
H0 reject H0 reject H0 H0 H0 reject H0 H0
9
Hypothesis Test of Mean
Test Statistic Formula
Hypothesis
Tests for
σ Known σ Unknown
The test statistic is: The test statistic is:
x μ x μ
z t n1
σ s
n n
1 tailed and 2 tailed test
Level of significance =a
a a a /2 a/2
11
Example of upper tail test
Is there evidence that the average monthly cell phone bill is
now higher than $40?Test at = 0.05.
Given the information below:-
12
a = 0.05
0.5 0.45
zα = 1.645
x μ 45 40
z 9.55 = 2.62 Test Statistic
σ
n 25
zα = 1.645 z = 2.62
14
Practice Question
A hospital ‘s recovery rate for heart bypass surgery is 42
days with a standard deviation of 5 days. A new
procedure was invented but the board of directors will
not recommend the new procedure unless there is
evidence to suggest that it’s is better than the existing
procedure.
15
t test: Example of Two Tailed Test (σ Unknown, s known)
The Dairy Fresh ice cream plant uses a filling machine for its 64-ounce cartons.
There is some variation in the actual amount of ice cream that goes into the
carton. The machine can go out of adjustment and put a mean amount more or less
than 64 ounces into each carton.
The production manager selects a random sample of 16 cartons each day to
monitor the filling process. Sample mean was 64.2 and the sample standard
deviation 0.72. Test at 5% significance level.
Specify population parameter of interest
We are interested in the mean recovery time,
= 64 x = 64.2 n = 16 s = 0.72
Step 1 Formulate the null and alternative hypotheses
H0: = 64 ounces (status quo)
H1: ≠ 64 ounces
16
Step 2 Define the rejection region, identify the critical value & set the
decision rule:
This will be a two tailed test.
The critical t value (with a d.f. of n-1 = 15 & = 0.05 from the t-distribution
table) is = -2.1315
The decision rule is:
If t >2.1315 or t < - 2.1315, reject H0; otherwise do not reject H0
18
Mean Test with σ known (z test)
Example of two Tailed Test
The Wilson Glass Company has a contract to
supply plate glass for homes. The contract
specifies a mean thickness of 0.375 inches.
The standard deviation is 0.05 inch.
Wilson managers has test measured a random
sample of 100 plate glasses to see if they are
meeting the requirements. The tests reveal a
sample mean of 0.378 inches. Test at 5%
significance level.
19
Mean Test with σ known (z test)
Example of two Tailed Test
Write down relevant information
= 0.375 x = 0.378 n = 100 = 0.05
Step 1 Formulate the null and alternative hypotheses
H0: = 0.375 (status quo)
H1: ≠ 0.375
Step 2 Specify the desired significance level, α
level of significance (α = 0.05)
20
Step 2 (continue) Define the rejection region, identify the critical value &
set the decision rule
This will be a 2 tailed test. a/2 = 0.025 a/2 = 0.025
The critical za/2 value is = ±1.96
0.475 0.475
The decision rule is:
If the test statistic, z> -1.96 or z <-1.96, reject Reject H0 Do not reject H0 Reject H0
H0; otherwise (else) do not reject H0 -zα/2 0 zα/2
= -1.96 = 1.96
Step 3 Compute the test statistic, z
x μ 0.378 0.375
z 0.6
σ 0.05
n 100
Step 4 Reach a decision and draw a conclusion
Because -1.96 < 0.6 < 1.96, do not reject H0
Expected Value
E ( x1 x2 ) 1 2
12 22
x1 x2
n1 n2
Sample #1 Sample #2
Par, Inc. Rap, Ltd.
Sample Size 120 balls 80 balls
Sample Mean 275 yards 258 yards
H0: m - j < 0
Ha: m - j > 0
a = .05
( x1 x2 ) D0 (29.8 27.3) 0
t 4.003
s12 s22 (2.56) 2 (1.81) 2
n1 n2 24 28
Researcher
Null Accept Reject
Hypothesis H0 H0
28
THANK
YOU