STATISTICSInference & TestsStatistics Calculator
๐Ÿ“Š

T-Statistic Calculator

Free t-statistic calculator. One-sample, two-sample pooled, Welch, paired t. p-value, critical value

Run CalculatorExplore data analysis and statistical calculations

Why This Statistical Analysis Matters

Why: Statistical calculator for analysis.

How: Enter inputs and compute results.

t
STATISTICSInference & Tests

T-Statistic Calculator โ€” Student's t when ฯƒ is Unknown

One-sample, two-sample (pooled/Welch), paired. Summary stats or raw data. p-value, critical value, Cohen's d effect size.

Real-World Scenarios โ€” Click to Load

Test Configuration

One-Sample Data

t_stat_results.sh
CALCULATED
$ t_test --type="one-sample" --tail="two-tailed" --alpha=0.05
Decision
FAIL TO REJECT
t-statistic
0.8333
p-value
0.4726
Critical value
2.0639
df = 24
Cohen's d
0.1667
Negligible
Significance
ฮฑ = 0.05
two-tailed
Share:
T-Statistic Result
One-sample t
t = 0.833
df = 24p = 0.4726Not significantd = 0.167
numbervibe.com/calculators/statistics/t-statistic-calculator

t-Distribution: Test Statistic and p-value Comparison

Effect Size vs Cohen's Benchmarks

Calculation Breakdown

COMPUTATION
Standard Error
2.4000
SE = s/โˆšn = 12/โˆš25
t-statistic
0.8333
t = (xฬ„ โˆ’ ฮผโ‚€)/SE = (102 โˆ’ 100)/2.4000
DECISION
Critical value t*
ยฑ2.0639
ฮฑ=0.05, two-tailed
p-value
0.4726
2(1 โˆ’ F(|t|))
DECISION
FAIL TO REJECT Hโ‚€
EFFECT SIZE
Cohen's d
0.1667 (Negligible)

โš ๏ธFor educational and informational purposes only. Verify with a qualified professional.

Key Takeaways

  • One-sample: t = (xฬ„ โˆ’ ฮผโ‚€) / (s/โˆšn), df = nโˆ’1. Compare sample mean to hypothesized value.
  • Two-sample pooled: t = (xฬ„โ‚โˆ’xฬ„โ‚‚) / (sโ‚šโˆš(1/nโ‚+1/nโ‚‚)), sโ‚š = pooled SD, df = nโ‚+nโ‚‚โˆ’2.
  • Welch's t: For unequal variances. df from Satterthwaite approximation.
  • Paired: t = dฬ„ / (s_d/โˆšn), df = nโˆ’1. For before/after or matched pairs.
  • p-value: From t-distribution CDF. Reject Hโ‚€ if p-value < ฮฑ.
  • Cohen's d: Effect size. d = 0.2 small, 0.5 medium, 0.8 large.
  • Critical value: t_ฮฑ,df or t_ฮฑ/2,df. Reject if |t| โ‰ฅ critical value.

Did You Know?

๐Ÿ“ŠStudent's t was developed by William Gosset at Guinness for small-sample quality control of beer.Source: Gosset, 1908
๐Ÿ”ฌWelch's t-test is robust when variances differ. Prefer it over pooled t when unsure.Source: Welch, 1947
๐Ÿ“ˆPaired t has more power than independent t when pairing reduces within-subject variability.Source: NIST Handbook
๐Ÿ“As df โ†’ โˆž, the t-distribution approaches the standard normal.Source: Penn State STAT 500
โš–๏ธPooled t assumes equal variances. Use Levene's test or Welch if variances may differ.Source: NIST Handbook
๐Ÿ“ฑCohen's d = (xฬ„ โˆ’ ฮผโ‚€)/s for one-sample; (xฬ„โ‚โˆ’xฬ„โ‚‚)/s_pooled for two-sample.Source: Cohen, 1988

Formulas Reference

One-sample: t = (xฬ„ โˆ’ ฮผโ‚€) / (s/โˆšn), df = nโˆ’1

Two-sample pooled: sโ‚šยฒ = [(nโ‚โˆ’1)sโ‚ยฒ+(nโ‚‚โˆ’1)sโ‚‚ยฒ]/(nโ‚+nโ‚‚โˆ’2)

Welch: t = (xฬ„โ‚โˆ’xฬ„โ‚‚) / โˆš(sโ‚ยฒ/nโ‚ + sโ‚‚ยฒ/nโ‚‚), df from Satterthwaite

Paired: t = dฬ„ / (s_d/โˆšn), df = nโˆ’1

Cohen's d (one-sample): (xฬ„ โˆ’ ฮผโ‚€) / s

Cohen's d (two-sample): (xฬ„โ‚โˆ’xฬ„โ‚‚) / s_pooled

When to Use Each Test

TestWhen to Use
One-sampleSingle group mean vs hypothesized value (e.g., ฮผ = 100)
Two-sample pooledTwo independent groups, assume equal variances
Welch's tTwo independent groups, unequal or unknown variances
PairedSame subjects measured twice (before/after) or matched pairs

Frequently Asked Questions

When do I use pooled vs Welch?

Use pooled when you can assume equal variances (e.g., similar group sizes and SDs). Use Welch when variances may differ โ€” it's the default in many software packages.

What does the t-statistic mean?

t measures how many standard errors the observed difference is from the null. Larger |t| = stronger evidence against Hโ‚€.

Why use t instead of z?

Use t when estimating ฯƒ from the sample (almost always). Use z only when population ฯƒ is known (rare).

What is effect size?

Cohen's d = (mean difference) / SD. It tells you the magnitude of the effect, not just whether it's significant.

How do I interpret p-value?

p-value = probability of observing your t (or more extreme) if Hโ‚€ were true. p less than 0.05 typically means reject Hโ‚€.

Effect Size Scale (Cohen's d)

0.2
Small
0.5
Medium
0.8
Large
&gt;1.2
Very large

Interpreting the Chart

The blue curve is the t-distribution under Hโ‚€. The red shaded area is the rejection region. The green shaded area is the p-value. If your t-statistic falls in the red region (or p-value < ฮฑ), reject Hโ‚€.

Disclaimer: This calculator is for educational purposes. Verify assumptions (normality, equal variance) and use established statistical software for research.

๐Ÿ‘ˆ START HERE
โฌ…๏ธJump in and explore the concept!
AI