calculator.onl
Categories50

Welch and paired t-tests

Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.

A worked example

Compare the same measurements as independent samples and as matched pairs. What happens to the standard error?

t0.6325df5.8824p (2)5.508646e-1Δ = x̄A − x̄B1SE1.5811
Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.

Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.

Welch / Paired

H₀: Δ₀: -1000000000…1000000000

90% / 95% / 99%

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

t

0.6325

Calculated from your inputs

df5.8824
p (2)5.508646e-1
Δ = x̄A − x̄B1
CI · Window start-2.8877
CI · Window end4.8877
SE1.5811
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B. For a related calculation, try Variance, Standard Deviation & MAD Calculator.

What to enter

InputWhat it meansExample value
ACompare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.8 9 10 11 12
BCompare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.5 7 9 11 13
ModeWelch / PairedWelch
H₀: Δ₀H₀: Δ₀: -1000000000…1000000000 0
Confidence level90% / 95% / 99%95%

How the calculation works

  1. Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.
  2. Welch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SE
  3. 2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.
The formulaWelch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SE

A worked example

A=(8,9,10,11,12); B=(5,7,9,11,13); Welch → t=0.632456; df=5.882353; p=0.5508646; CI95%=[−2.887742; 4.887742].

Example you can load

What to enter
Result for this example · t0.6325

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.

Frequently asked questions

Welch and paired t-tests — How is the result calculated?

Welch: SE² = sA²/nA + sB²/nB; Δᵢ = Aᵢ − Bᵢ: SE² = sd²/n; t = (Δ − Δ₀) / SE; CI = Δ ± tcrit × SE

A / B?

Compare two samples with a two-sided Welch test or paired test in entered order. Show t, degrees of freedom, p and a two-sided confidence interval for mean A minus mean B.

Welch and paired t-tests — What assumptions apply?

2–500 values per sample; decimal point, whitespace or comma separators. Welch assumes independent samples; paired observations require equal lengths and independent pairs. Normal populations or differences are needed for small samples. Zero standard error is undefined. No normality, causal, equivalence or multiple-testing claim; data stay local.