T Test Calculator
Calculate two-sample t-test statistics and determine significance.
Pooled SD = sqrt(((nโโ1)*SDโ^2 + (nโโ1)*SDโ^2) / (nโ+nโโ2))\nStandard Error = Pooled SD * sqrt(1/nโ + 1/nโ)\nT-Statistic = (Meanโ โ Meanโ) / SE\nDegrees of Freedom = nโ + nโ โ 2
Example:\nGroup 1: mean=100, SD=15, n=30\nGroup 2: mean=105, SD=12, n=30\nalpha=0.05\n\nPooled SD โ 13.58\nSE โ 3.51\nT-Stat = (100โ105) / 3.51 โ โ1.42\ndf = 58\nCritical = +/-1.96\nResult: Not significant (|-1.42| < 1.96)
What is a t-test?
A statistical test to determine if two sample means are significantly different. Used when population standard deviation is unknown.
When should I use a t-test?
Use when comparing two groups (e.g., treatment vs control) with continuous data and unknown population variance.
What is the null hypothesis?
The assumption that there is no difference between the groups. T-test determines if you can reject this assumption.
What does significance level mean?
alpha is the probability of rejecting the null hypothesis when it is true (Type I error). Common: 0.05 (5% risk).
What if sample sizes are unequal?
This calculator handles unequal sample sizes using pooled standard deviation. Results are still valid.
๐ Related Calculators
๐ Formula
Pooled SD = sqrt(((nโโ1)*SDโ^2 + (nโโ1)*SDโ^2) / (nโ+nโโ2))\nStandard Error = Pooled SD * sqrt(1/nโ + 1/nโ)\nT-Statistic = (Meanโ โ Meanโ) / SE\nDegrees of Freedom = nโ + nโ โ 2
๐ Example Calculation
Example:\nGroup 1: mean=100, SD=15, n=30\nGroup 2: mean=105, SD=12, n=30\nalpha=0.05\n\nPooled SD โ 13.58\nSE โ 3.51\nT-Stat = (100โ105) / 3.51 โ โ1.42\ndf = 58\nCritical = +/-1.96\nResult: Not significant (|-1.42| < 1.96)
โ Frequently Asked Questions
What is a t-test?โผ
A statistical test to determine if two sample means are significantly different. Used when population standard deviation is unknown.
When should I use a t-test?โผ
Use when comparing two groups (e.g., treatment vs control) with continuous data and unknown population variance.
What is the null hypothesis?โผ
The assumption that there is no difference between the groups. T-test determines if you can reject this assumption.
What does significance level mean?โผ
alpha is the probability of rejecting the null hypothesis when it is true (Type I error). Common: 0.05 (5% risk).
What if sample sizes are unequal?โผ
This calculator handles unequal sample sizes using pooled standard deviation. Results are still valid.