How do you adjust a two-sample t-test to accomodate samples of different sizes?
You adjust the statistic and the degrees of freedom for the differing sample sizes.
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: