← All measures
One-sample t-test
Statistics · Test whether a sample mean differs from a target value: t statistic, degrees of freedom and two-sided and one-sided p-values.
t = x̄ − μ0s / √n, df = n − 1
Result
Turn on JavaScript to calculate.
How it works
The t statistic is how many standard errors the sample mean sits from the value being tested. The p-value is the chance of a t at least this far from zero if the true mean equalled that value, found from the Student t distribution with n − 1 degrees of freedom. The one-sided value applies only when the direction was chosen before looking at the data.
Results are estimates for learning and planning. Check anything you rely on with a qualified professional.
