Question: what is the formula used to calculate degrees of freedom for a t-test for independent groups?
Answer: The p-value, corresponding to the absolute value of the t-test statistics (|t|), is computed for the degrees of freedom (df): df = n - 1 .