Assumptions: Observations are independent of one another, if the data comes from a non-normal distribution, n1 > 30 and n2 > 30, and the data come from two independent samples. If the data come from a normal distribution, n1 and n2 can be any size for each sample.
In the case where the variances are not assumed to be equal,
A (1 - α)100% confidence interval for μ is,
where r equals
The value of r is often not an integer, and in that case the nearest integer rounded down is often used. In the case where the variances are assumed to be equal,
A (1 - α)100% confidence interval for μ is,
where,