You are on page 1of 3

HYPOTHESIS TEST FOR DIFFERENCE OF 2 POPULATION MEANS

Test about µ1- µ2 : σ12, σ22 known, population normal

1. A car magazine is comparing the total repair costs incurred during the first three years on
two sport cars, the Lotus-999 and the Lamborgini-XPY. Random samples of 45 Lotus and
51 Lamborginis are taken. All the cars are three years old. The mean repair costs for the
Lotus is RM 3300 and for the Lamborgini, the mean is RM 3850. The standard deviations
for the two populations are RM 800 and RM 1000 respectively.
At 1% level of significance, test whether the mean repair costs are different for the two
sport cars.

2. A researcher wanted to investigate if the male and female workers in a city commute the
same distance to work. A sample of 25 male workers showed that they commute an
average of 21 km to work. A sample of 22 female workers gave a mean commuting
distance of 16 km. Assume that the two population of commuting distances have normal
distributions with population standard deviation of 5.2 km and 4.4 km respectively.
Test at 1% significance level whether the mean distance to work for males is greater than
females.

Test about µ1 - µ2: σ12, σ22 unknown, n1, n2 ≤ 30


(The 2 populations are normally distributed with equal standard deviation)

1. The following information was obtained from two independent samples selected from
two normally distributed populations with unknown but equal standard deviations:
Sample I 13 14 9 12 8 10 5 10 9 12 16
Sample II 16 18 11 19 14 17 13 16 17 18 22 12

(Assume the two populations are normally distributed with equal standard deviation.)
Are the two means equal or different? Test at α = 0.05

2. A company claims that its medicine, Brand A, provides faster relief from pain than another
company’s medicine, Brand B. A researcher tested both brands of medicine on two
groups of randomly selected patients. The results of the test are given in the following
table.
Brand Sample Size Mean of relief time Standard deviation of relief
(minutes) time (minutes)
A 25 44 11
B 22 49 9

Assume the two populations are normally distributed with equal standard deviation.

Test at α = 0.10 whether the mean relief time is different for Brand A and Brand B.
3. A sample of 15 male customers who shopped at a supermarket showed that they spent
an average of RM 80.00 with a standard deviation of RM 17.50. Another sample of 20
female customers who shopped at the same supermarket showed that they spent an
average of RM 96.00 with a standard deviation of RM 14.40. Assume the two populations
are normally distributed with equal standard deviation.

At 5% level of significance, test whether the mean expenditure for female customers is
greater than male customers.

Test about µ1 - µ2: σ12, σ22 unknown, n1, n2 ≤ 30


(The 2 populations are normally distributed with UNEQUAL standard deviation)

1. The following information was obtained from two independent samples selected from
two normally distributed populations with unknown but equal standard deviations:
Sample I 13 14 9 12 8 10 5 10 9 12 16
Sample II 16 18 11 19 14 17 13 16 17 18 22 12

(Assume the two populations are normally distributed with UNequal standard deviation.)
Are the two means equal or different? Test at α = 0.05

2. A company claims that its medicine, Brand A, provides faster relief from pain than another
company’s medicine, Brand B. A researcher tested both brands of medicine on two
groups of randomly selected patients. The results of the test are given in the following
table.
Brand Sample Size Mean of relief time Standard deviation of relief
(minutes) time (minutes)
A 25 44 11
B 22 49 9

Assume the two populations are normally distributed with UNequal standard deviation.

Test at α = 0.10 whether the mean relief time is different for Brand A and Brand B.

3. A sample of 15 male customers who shopped at a supermarket showed that they spent
an average of RM 80.00 with a standard deviation of RM 17.50. Another sample of 20
female customers who shopped at the same supermarket showed that they spent an
average of RM 96.00 with a standard deviation of RM 14.40. Assume the two populations
are normally distributed with UNequal standard deviation.

At 5% level of significance, test whether the mean expenditure for female customers is
greater than male customers.
Test about µ1- µ2: Paired Samples (n1, n2 ≤ 30)
(the paired differences are normally distributed)

1. A researcher wanted to find the effect of a special diet on systolic blood pressure. She
selected a sample of seven adults and put them on this dietary plan for three months. The
following table gives the systolic blood pressures of these seven adults before and after
the completion of the dietary plan.

Before 210 180 195 220 231 199 224


After 193 186 186 223 220 183 233

(Assume the paired differences follow a normal distribution)


Test at 5% level of significance whether the diet has a positive effect on the systolic
blood pressure.

2. A company wanted to know if attending a course on ‘how to be a successful salesperson’


can increase the average sales of its employees. The company sent six of its salesperson
to attend this course. The following table gives the one-week sales of these salesperson
before and after they have attended this course.

Before 12 18 25 9 14 16
After 18 24 24 14 19 20

(Assume the population of paired differences has a normal distribution).


At 1% significance level, test whether the course is effective in increasing the sales of
the salesperson.

You might also like