Professional Documents
Culture Documents
HYPOTHESIS TESTING
Inferential Statistics
+ offers varied tools and techniques that help
researcher draw valid and reliable
inferences or generalizations about the
population on a basis of a sample.
2
data
+ Hypothesis Testing
4
Research Problem: How effective is a certain
drug in treating a disease?
Specific Objectives: This can be answered
by ESTIMATION
1. To estimate the population proportion of patients who will show
improvement after being treated with the certain drug.
This can be answered by
HYPOTHESIS TESTING
2. To determine whether treatment using the drug is better than the
existing treatment that is known to show improvement among 40%
of patients with the disease.
8
What is a Hypothesis?
+ an assumption about a population or an assertion
about the possible value of a population parameter
+ a claim or statement about the population parameter
+ Examples of parameters are population mean
and population proportion
+ The parameter must be identified before analysis
Example of Hypothesis
+ The mean body temperature for patients
admitted to elective surgery is not equal to
37.0oC.
21
Note About Testing the Validity of
Someone Else’s Claim
Sometimes we test the validity of someone else’s claim,
such as the claim of the Coca Cola Bottling Company that
“the mean amount of Coke in cans is at least 355 ml,”
which becomes the null hypothesis of Ho: 355
+ Type I Error
+ Type II Error
Type I Error
+ The mistake (error) of rejecting the null hypothesis when it
is true.
32
Controlling Type I and Type II Errors
+ The usual practice in research and industry is to
determine in advance the values of and n, so the value
of is determined.
p-value Decision
Yes
Does (Reject (This is the
the Ho) “The sample data only case in
original Do you reject support the claim which the
claim contain Ho? that….(original claim).” original
the condition claim is
of supported.)
equality
No
“The sample does not
No (Original claim (Fail to provide sufficient evidence to
does not contain Reject support the claim
equality and Ho) that….(original claim).”
becomes Ha)
Wording of Final Conclusion
Start
“The sample provides (This is the
Yes sufficient evidence to only case in
Does warrant rejection of the which the
(Reject claim that….(original original
the Ho)
original claim).” claim is
Do you reject rejected.)
claim contain Ho?
the condition
of
equality
No
“The sample does not
Yes (Original claim (Fail to provide sufficient sample
contains equality Reject evidence to warrant rejection
and becomes Ho) Ho) of the claim that….(original
claim).”
Example in Making Final Conclusion
+ If you want to justify the claim that the
mean body temperature is different from
37.0oC, then make the claim that
37.0. This claim will be an alternative
hypothesis that will be supported if you
reject the null hypothesis of Ho: = 37.0.
Example in Making Final Conclusion
H0 is rejected H0 is rejected
H0 is not rejected
One-tailed and Two-tailed test
• Two-tailed test is used when the rejection region is
located on both tails of the distribution.
Steps in Hypothesis Testing
H0: = K
H1: < K
One-tail Test
H0 is not rejected H0 is rejected
One-tailed and Two-tailed test
Steps in Hypothesis Testing
+ Step 3: Specify the level of significance,
+ Specifies the area within H1 is accepted.
+ 1- is the Level of confidence
+ is the Level of significance
+ divides the graph into 2 regions, the
region of the acceptance of H0 and the
region of the acceptance of H1 (critical
region).
+ It is customary to use an of 0.05 or 0.01.
Level of Significance
H0: = K
H1: ≠ K
Two-tail Test
1-
/2 /2
1-
1-
1-
/2 /2
1-
1-
78
Example 4:
+ A manufacturer of sports equipment has developed a
new synthetic fishing line that the company claims has a
mean breaking strength of 8 kilograms with a standard
deviation of 0.5 kilogram. Test the hypothesis that 𝜇 = 8
kilograms against the alternative that 𝜇 ≠ 8 kilograms if
a random sample of 50 lines is tested and found to have
a mean breaking strength of 7.8 kilograms. Use a 0.01
level of significance.
79
Example 5:
+ The Edison Electric Institute has published figures on the
annual number of kilowatt-hours expended by various
home appliances. It is claimed that a vacuum cleaner
expends an average of 46 kilowatt-hours per year. If a
random sample of 12 homes included in a planned study
indicates that vacuum cleaners expend an average of 42
kilowatt-hours with a standard deviation of 11.9 kilowatt-
hours, does this suggest at the 0.05 level of significance
that vacuum cleaners expend, on the average, less than 46
kilowatt-hours annually?
Example 6:
+ A new process for producing synthetic diamonds can be
operated at a profitable level only if the average weight of
the diamonds is greater than 0.5K. To evaluate the
profitability of the process, 6 diamonds are generated
with a mean and a standard deviation of 0.53 and 0.0559
respectively. Do the 6 diamonds’ measurements present
sufficient evidence to indicate that the average weight of
the diamond produced by the process is in excess of 0.5K?
Example 7:
+ Historically, evening long-distance calls from a
particular city have averaged 15.2 minutes per
call. In a random sample of 35 calls, the
sample mean time was 14.3 minutes. Assume
the standard deviation is known to be 5
minutes. Using a 0.05 level of significance, is
there sufficient evidence to conclude that the
average evening long-distance call has
decreased?
82
Seatwork / Assignment
+ It is claimed that automobiles are driven on average more than 20,000
kilometers per year. To test this claim, 100 randomly selected
automobile owners are asked to keep a record of the kilometers they
travel. Would you agree with this claim if the random sample showed
an average of 23,500 kilometers and a standard deviation of 3900
kilometers? Use a 0.02 level of significance.
+ In a research report, Richard H. Weindruch of the UCLA Medical
School claims that mice with an average life span of 32 months will live
to be about 40 months old when 40% of the calories in their diet are
replaced by vitamins and protein. Is there any reason to believe that
𝜇 < 40 if 64 mice that are replaced on this diet have an average life of
38 months with a standard deviation of 5.8 months? Use a 0.05 level of
significance.
83
Tests on the Variance and
Standard Deviation of a
Normal Distribution
86
Example:
+ The population standard deviation of strengths of steel bars
produced by a large manufacturer is 2.95. In order to meet
tighter specifications engineers are trying to reduce the
variability of the process. A sample of 28 bars gives a sample
standard deviation of 2.65. Assume that the strengths of
steel bars are normally distributed. Is there evidence at the
5% level of significance that the standard deviation has
decreased?
87