One-sample t-test on three values
You enter
- Test
- t
- Sample
- 2, 4, 6
- Mu0
- 0
You get
- Sample mean
- 4
- T statistic
- 3.464102
- Degrees of freedom
- 2
- P value
- 0.0741799
The mean is 4 and the sample variance is 4, so t is 4 divided by the square root of 4/3, which is 3.464. With 2 degrees of freedom the two-sided p-value is 0.0742. I checked this against an exact formula for 2 degrees of freedom.
Run through the tool’s own code.