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

 

Description

Example

Description

• 

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:

1. 

The sample studied is assumed to follow a normal distribution.

2. 

The standard deviation of the assumed normal distribution is unknown.

• 

The formula is:

T=MeanXμ0Ns

  

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.

Example

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.

1. 

Determine the null hypothesis:

  

Null Hypothesis: μ0=15 (the actual mean)

2. 

Substitute the information into the formula:

  

t=16155.1441000=6.1475

3. 

Compute the p-value:

  

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

4. 

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]