Degrees of Freedom Two Sample Calculator
Introduction & Importance
Degrees of freedom (df) is a critical concept in statistics, particularly in hypothesis testing. In a two-sample t-test, df is used to determine the shape of the t-distribution and the critical values for the test.
For more information, see the NIST’s guide on degrees of freedom and the Statistics How To’s explanation of the t-test.
What is the formula for calculating degrees of freedom in a two-sample t-test?
df = (s1^2/n1 + s2^2/n2)^2 / ((s1^2/n1)^2/(n1-1) + (s2^2/n2)^2/(n2-1))