Professional Documents
Culture Documents
In a previous lecture we saw that a confidence interval for a mean had the form:
sample estimate ± critical value x standard error
X̄ 1 X̄ 2
then we need to use the t distribution, and estimate by s so the standard error is
√ s21 s22
+
n 1 n2
Then a Confidence Interval for the difference between the two population means, 1 - 2, is:
However, we would only use the above formula if the population standard deviations, 1 and 2,
are assumed not to be equal.
In this case, for the critical t value,
( )
2
s21 s 22
+
n1 n2
2 2
( ) ( )
s 21
n1
+
s 22
n2
120MP L20 1
Round down if result is not an integer.
This is called Satterthwaite’s method
Example 1
A random sample of 250 male employees at a large company had a mean salary of £17236 and a
s.d. of £3109. A random sample of 100 female employees at the same company had mean salary
£16610 and s.d. £4318.
Calculate a 90% confidence interval for the difference in mean salary between males and females in
the company as a whole.
Is it safe to conclude that males earn more than females on average at this company?
120MP L20 2
√ f (1−f )
n
We cannot use a t-value here because the t-distribution assumes that the original measurements
(i.e. opinions) are Normally distributed and they clearly are not.
Example 2
Calculate a 90% confidence interval for the percentage of the population that eats Kollege’s cereals
if 20 out of 50 people surveyed said they ate them.
√ f 1 (1−f 1 ) f 2 (1−f 2 )
n1
+
n2
Example 3
Among a random sample of 100 people in Newmoor 62 said they would consider using the Internet
when buying a new car. In a random sample of 200 people in Hadmoor, 68 said they would
consider using the Internet when buying a new car.
Find a 95% confidence interval for the percentage difference in opinion between Newmoor and
Hadmoor.
Is it safe to conclude that Internet car sales would be higher in Newmoor than Hadmoor?
120MP L20 3
120MP L20 4