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

1 Answer
Mar 2, 2016

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:

#T = (m_1-m_2)/sqrt(s_1^2//N_1 + s_2^2//N_2)#

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

#nu = (s_1^2//N_1 + s_2^2//N_2)^2/((s_1^2//N_1)^2//(N_1-1) + (s_2^2//N_2)^2//(N_2-1))#

You then proceed with the normal t-test by comparing our statistic, #T#, to the critical value of the t-distribution, #t_(p,nu)#.

This information was taken from the following link:
http://www.itl.nist.gov/div898/handbook/eda/section3/eda353.htm