Hypothesis Testing: Dr. Indra, S.Si, M.Si
Hypothesis Testing: Dr. Indra, S.Si, M.Si
Hypothesis Testing: Dr. Indra, S.Si, M.Si
The null
hypothesi
s ussually
contains
equality
The
alternative
Hyphotesis:
Three
possibilitie
s regarding
means
Example 1:
• The US population statistics bureau claims that the average of life span in
Oklahoma City is more than 70 years old. If a random sample of 100 recorded
deaths showed an average life span of 71.8 years with a standard deviation of
8.9 years. Test the bureau claim with a 5% significance level.
• Solution:
1. H0 : µ = 70 years
2. H1 : µ > 70 years
3. α = 0.05
4. Critical region: z>1.645
5. Test statistic from sampel:
71.8 − 70
z= = 2.02
8.9
100
6. Conclusion:
Reject H0 and conclude that the mean life span today is greater
than 70 years.
Example 2:
Example 3:
• The Edison Electric Institute has published figures on the number of kilowatt hours
used annually by various home appliances. It is claimed that a vacuum cleaner
uses an average, less than from 46 kilowatt hours per year. If a random sample of
12 homes included in a planned study indicates that vacuum cleaners use an
average of 42 kilowatt hours per year with a standard deviation of 11.9 kilowatt
hours, does this suggest at the 0.05 level of significance that vacuum cleaners use,
on average, less than 46 kilowatt hours annually? Assume the population of
kilowatt hours to be normal.
• Solution:
Example 4:
• The Anderson=s Super Dollar had two grocery stores in Erie,
Pennsylvania. The mean time customers wait in the checkout line at
the Byrne Road store is 3.7 minute with a standard deviation of .8
minutes, for a sample of 40 customers. The mean waiting time for the
I-90 store is 3.5 minutes with a standard deviation of .7 minutes for a
sample of 45 customers. At the .05 significance level can we
conclude there is a difference in the waiting time for the two stores?
• Solution:
H 0 : B = 90
H 1 : B 90
Reject H 0 if z −1.96 or z 1.96.
3.7 - 3.5
z= = 1.22
2 2
.8 .7
+
40 45
Do not reject H 0 . We cannot conlude there is a difference in the mean
waiting time for the two stores.
Example 5:
Example 5: Solution
Hypothesis Testing of Population
Proportion
Example 6:
• The Appliance Center reports on it TV commercials that “more than
70 percent of our customers have purchased an appliance with us
before.” The president of the company hired a marketing research
firm to independently validate this claim. In a sample of 200 recent
buyers, 160 reported that they had, in fact, purchased and an
appliance from the Appliance Center before. At the .01 significance
level, is the claim of the commercial correct?
• Solution:
H 0 : .70
H1 : .70
Reject H 0 if z 2.33.
160
− .70
z= 200 = 3.09
(.70)(1 − .70)
200
Reject H 0 . It is reasonable that more than 70 percent of the customers are repeat buyers.
Example 7:
• A vote is to be taken among the residents of a town and the surrounding county to
determine whether a proposed chemical plant should be constructed. The construction
site is within the town limits, and for this reason many voters in the county believe that
the proposal will pass because of the large proportion of town voters who favor the
construction. To determine if there is a significant difference in the proportions of town
voters and county voters favoring the proposal, a poll is taken. If 120 of 200 town voters
favor the proposal and 240 of 500 county residents favor it, would you agree that the
proportion of town voters favoring the proposal is higher than the proportion of county
voters? Use an α = 0.05 level of significance.
• Solution:
Assignment No.1
• The Exchange Bank wishes to determine the
mean balance on mortgages it holds. A sample of
36 mortgages showed the mean balance to be
$86,000 with a sample standard deviation of
$12,000. Would it be reasonable to conclude that
the population mean is less than $90,000? Use
the .05 significance level.
• Test the hypothesis that the average content
of containers of a particular lubricant is 10 liters if
the contents of a random sample of 10 containers
are 10.2, 9.7, 10.1, 10.3, 10.1, 9.8, 9.9, 10.4, 10.3,
and 9.8 liters. Use a 0.01 level of significance and
assume that the distribution of contents is normal
Assignment No.2
• A marketing expert for a pasta-making company
believes that 40% of pasta lovers prefer lasagna. If
9 out of 20 pasta lovers choose lasagna over other
pastas, what can be concluded about the expert’s
claim? Use a 0.05 level of significance.
• In a study to estimate the proportion of residents in
a certain city and its suburbs who favor the
construction of a nuclear power plant, it is found
that 63 of 100 urban residents favor the
construction while only 59 of 125 suburban
residents are in favor. Is there a significant
difference between the proportions of urban and
suburban residents who favor construction of the
nuclear plant? Use a 0.05 level of significance.