# Confidence Interval Estimate for Difference Between Means

**(1) Large Samples:**

The difference between two means is of considerable importance in testing the homogeneity of populations. In this tutorial we are concerned about the confidence interval estimate for the difference between two population means.

With a non-rigorous logic from central limit theorem we can state that “If we have two populations with means and , variances and respectively, then the sampling distribution of the difference of their sample means is said to be approximately normal with mean and standard deviation , and are the two sample sizes both larger than 30 from the two populations.”

This formula of combined standard deviation is obtain from the knowledge of a theorem stated i.e., the variance of a sum or difference of two independent random variables is the sum of their variances. Thus

Hence

Therefore, standard deviation of which is stated as

We can also standardized as follows

Where is standard normal variate. From this value of we can directly state 100% confidence limits for the difference between two population means as

And the confidence interval may be stated as

It must be remembered that the above results hold only for large samples or small samples from normal populations provided population variance are known. If and are not known, for large sample, they can be replaced by and (the sample variances) which are computed by formula. The larger of the two sample means should be considered as .

**(2) Small Samples:**

When at least of the two sample sizes are small, then “” takes the place of . Two different kinds of interval estimate are obtained depending on whether the two population are assumed to have the same variances

or unequal variances

.

If the two populations are assumed to have unknown and unequal population variances

then, 100% confidence limits may be stated as

Where and are calculated by using formula .

If the two populations are assumed to have equal but unknown population variances

then, 100% confidence limits may be stated as

Where

It may be noted that the statistic from the table should be obtained against the degree of freedom in both of the above cases.

__Example__:

A random sample of 100 students from MBA class made an average score of 60 with a standard deviation score of 15 in statistics. A random sample of 64 students from BS class made an average score of 66 with a standard deviation of 16 in the same course. Construct a 95% confidence interval for the difference between the mean score of the two classes.

** Solution: **since both sample sizes are large we will use the statistic to construct the interval. We have the following information.

Using formula, the 95% lower confidence limit for the difference between two population means would be

Also, the upper limit would be

Hence, the 95% confidence interval for the difference between the two population means is