Student/Statistics/OneSampleTTest/overview - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Student/Statistics/OneSampleTTest/overview

Student[Statistics][OneSampleTTest] Overview

overview of the One Sample T-Test






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:



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 N1 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:




Compute the p-value:


pvalue=Probability|T|>6.1475=ProbabilityT<6.1475+ProbabilityT>6.1475=p=1.136158109, T˜StudentT999


Draw the conclusion:


This statistical test provides evidence that the null hypothesis is false, so we reject the null hypothesis.

See Also