Professional Documents
Culture Documents
UNIT-4
Reading Material on Hypothesis Testing with Single Sample
Example:
The TIV Telephone Company provides long-distance telephone service in an area. According
to the company’s records, the average length of all long-distance calls placed through this
company in 2009 was 12.44 minutes. The company’s management wanted to check if the mean
length of the current long-distance calls is different from 12.44 minutes. A sample of 150 such
calls placed through this company produced a mean length of 13.71 minutes. The standard
deviation of all such calls is 2.65 minutes. Using the 2% significance level, can you conclude
that the mean length of all current long-distance calls is different from 12.44 minutes? (Critical
values at 2% significance level is - 2.33 and 2.33).
Solution
Let µ be the mean length of all current long-distance calls placed through this
company and X be the corresponding mean for the sample. From the given information
N = 150, = 13.71 minutes, and σ = 2.65 minutes
We are to test whether or not the mean length of all current long-distance calls is different from
12.44 minutes. The significance level α is .02; that is, the probability of rejecting the null
hypothesis when it actually is true should not exceed .02. This is the probability of making a
Type I error. We perform the test of hypothesis using the five steps as follows.
1
Step 1. State the null and alternative hypotheses.
Notice that we are testing to find whether or not the mean length of all current long distance
calls is different from 12.44 minutes. We write the null and alternative hypotheses as follows.
H0: µ = 12.44 (The mean length of all current long-distance calls is 12.44 minutes.)
H1: µ + 12.44 (The mean length of all current long-distance calls is different from 12.44 minutes.)
2
The value of from the sample is 13.71. We calculate the z value as follows:
The value of µ in the calculation of the z value is substituted from the null hypothesis. The
value of z = 5.87 calculated for is called the computed value of the test statistic z. This is the
value of z that corresponds to the value of observed from the sample. It is also called the
observed value of z.
3
Hypothesis Tests- when σ Not known and sample > 30 or population normal
If the following conditions fulfilled, then we use t distribution to perform a test of hypothesis
about µ
The population standard deviation (σ) is not known
The sample size is small (i.e., < 30) and the population from which the sample is
selected is normally distributed. (Or) The sample size is large (i.e., > 30).
When the above mentioned conditions are satisfied, the random variable has a t distribution.
Here, the t is called the test statistic to perform a test of hypothesis about a population mean
µ
The steps used in these procedures are the same as previous. The only difference
is that we will be using the t distribution in place of the normal distribution.
Example
The management at Massachusetts Savings Bank is always concerned about the quality of
service provided to its customers. With the old computer system, a teller at this bank could
serve, on average, 22 customers per hour. The management noticed that with this service rate,
the waiting time for customers was too long. Recently the management of the bank installed a
new computer system, expecting that it would increase the service rate and consequently make
the customers happier by reducing the waiting time. To check if the new computer system is
more efficient than the old system, the management of the bank took a random sample of 70
hours and found that during these hours the mean number of customers served by tellers was
27 per hour with a standard deviation of 2.5. Testing at the 1% significance level, would you
conclude that the new computer system is more efficient than the old computer system?
Solution:
Let µ be the mean number of customers served per hour by a teller using the
new system, and let be the corresponding mean for the sample. Then, from the given
information,
n = 70 hours, = 27 Customers, s = 2.5 Customers, and α = .01
Step 1. State the null and alternative hypotheses.
We are to test whether or not the new computer system is more efficient than the old system.
The new computer system will be more efficient than the old system if the mean number of
customers served per hour by using the new computer system is significantly more than
22; otherwise, it will not be more efficient. The null and alternative hypotheses are
4
H0: µ = 22 (The new computer system is not more efficient)
H1: µ + 22 (The new computer system is more efficient.)
df = n - 1 = 70 - 1 = 69
From the t distribution table, the critical value of t for 69 degrees of freedom and .01 area in
the right tail is 2.382. This value is shown in below Figure.
5
Hypothesis Tests about a Population Proportion: Large Samples
Often we want to conduct a test of hypothesis about a population proportion.
For example, 33% of the students American High School Students said that drugs and
alcohol are the most serious problems facing their high schools. A sociologist may want
to check if this percentage still holds.
As another example, a mail-order company claims that 90% of all orders it receives are
shipped within 72 hours. The company’s management may want to determine from
time to time whether or not this claim is true.
This section presents the procedure to perform tests of hypotheses about the population
proportion, p, for large samples. The procedures to make such tests are similar in many respects
to the ones for the population mean, µ.
Again, the test can be two-tailed or one-tailed. Hence, we use the normal distribution to perform
a test of hypothesis about the population proportion, p, for a large sample.
In the case of a proportion, the sample size is considered to be large when np and nq are both
greater than 5.
Example:
Direct Mailing Company sells computers and computer parts by mail. The company claims
that at least 90% of all orders are mailed within 72 hours after they are received. The quality
control department at the company often takes samples to check if this claim is valid. A recently
taken sample of 150 orders showed that 129 of them were mailed within 72 hours. Do you
think the company’s claim is true? Use a 2.5% significance level.
Solution:
Let p be the proportion of all orders that are mailed by the company within
72 hours, and let be the corresponding sample proportion. Then, from the given
information,
6
Step 1. State the null and alternative hypotheses.
The null and alternative hypotheses are
H0: p > .90 (The company’s claim is true)
H1: p < .90 (The company’s claim is false)