# How do you adjust a two-sample t-test to accomodate samples of different sizes?

##### 1 Answer

You adjust the statistic and the degrees of freedom for the differing sample sizes.

#### Explanation:

The two sample t-test can be defined to accommodate different sample sizes and different sample variances in the most general case. The statistic is defined as the function of the two random variables, each variable being the sample mean of each sample:

The degrees of freedom needs to be approximated by the following formula:

You then proceed with the normal t-test by comparing our statistic,

This information was taken from the following link:

http://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm