← Back to Statistics
T-Tests

One-Sample T-Test

Compare one sample mean with a known or hypothesized population mean.

Calculation engine
Client-side JavaScript; no external statistics package is loaded.
Results are calculated in the browser and are not uploaded.

Method overview

When to use

Use when you have one continuous sample and want to compare its mean with a specified reference value.

Input requirements

Enter one numeric vector and the reference population mean μ₀. At least 2 values are required.

Key assumptions

  • One random sample.
  • The outcome is approximately normally distributed, especially for small samples.
  • Observations are independent.

Null hypothesis

H₀: the population mean equals the specified value μ₀.

Method used

One-sample t statistic with n−1 degrees of freedom.

References

  • Altman DG. Practical Statistics for Medical Research. Chapman & Hall, 1991.

Data input and results

Compare one sample mean with a known or hypothesized population mean. Summary mode requires n, mean and SD.

No calculation has been performed.