Student[Statistics][OneSampleTTest] Overview
overview of the One Sample T-Test
Description
Example
One Sample T Test is used to test if the sample studied follows a normal distribution when its standard deviation is unknown and the mean is known. The mean is equal to the test value based on the sample drawn.
If the standard deviation is known for the assumed normal distribution, One Sample Z Test is used instead.
Requirements for using One Sample T Test:
The sample studied is assumed to follow a normal distribution.
The standard deviation of the assumed normal distribution is unknown.
The formula is:
T=Mean⁡X−μ0⁢Ns
where X is the sample, μ0 is the test value of mean, s is the sample standard deviation, N is the sample size, and T follows Student's T distribution with N−1 degrees of freedom.
A research team did a survey on male smokers over 20 in Ontario to figure out the age when they started to smoke. Knowing that the starting age is normally distributed, a statistical test was run to test whether the average starting age is 15. 1000 male smokers were randomly selected and interviewed. The result shows that the sample standard deviation of the 1000 smokers is 5.144 and their average age of beginning to smoke is 16.
Determine the null hypothesis:
Null Hypothesis: μ0=15 (the actual mean)
Substitute the information into the formula:
t⁢=16−155.1441000=6.1475
Compute the p-value:
⁢p−value⁢=Probability|T|⁢>⁢6.1475⁢=⁢ProbabilityT⁢<⁢−6.1475⁢+⁢ProbabilityT⁢>⁢6.1475=p=1.136158⁢⋅10−9, T⁢˜⁢StudentT999
Draw the conclusion:
This statistical test provides evidence that the null hypothesis is false, so we reject the null hypothesis.
See Also
Student[Statistics][OneSampleTTest]
Download Help Document