t Test for One Sample
Compare sample mean with stated reference, using two-sided t test.
Your numbers
t test statistic value
E need suitable independent-sampling model. P-value no measure the probability say the null hypothesis true.
Compare scenarios
You fit keep up to three snapshots for this tab. Loading one go replace the present inputs.
Formula
Use t = (m−μ₀)/(s/√n) with df = n−1. m na sample mean, μ₀ na null-hypothesis mean, s na sample standard deviation, and n na sample size. Di p-value wey result show na two-sided.
Compare sample mean with stated reference, using two-sided t test.
Example wey show the calculation
- Values wey you observe for the sample
- 2, 4, 6, 8, 10
- Mean under the null hypothesis
- 5
- t test statistic value
- 0.707106781187
- Di degrees of freedom
- 4
- Two-sided p-value
- 0.518518518519
Where e fit work and limits
E need suitable independent-sampling model. P-value no measure the probability say the null hypothesis true.
We check inputs for missing values and allowed ranges. Result wey pass the finite numeric range no go show. Rounding affect wetin display, while calculation use the model numeric precision.
Check your units and assumptions before you rely on result. Changing label no convert currency or physical unit.
Version of di formula: 2e275c815552 · Example don get check: