One Sample T tests (Student’s T Test) are used to resolve hypothesis tests around comparing process means. The underlying chart makes use of the T distribution.

Student’s T distribution leverages the T distribution and is used for finding confidence intervals for the population mean when the sample size is less than 30 and the population standard deviation is unknown. 

What is a One Sample T Hypothesis Test?

The One Sample T Hypothesis Test (Student’s T Test) allows to compares the (small) population mean to some hypothesized value or one sample mean to determine if they are significantly different.

For example, if we know the average weight of chickens in a farm is 3lb, and compare the average weight of sample black hens to the population mean value.

When Would You Use a One Sample T Hypothesis Test?

One sample t test is a type of parametric test because the assumption is samples are randomly distributed. It tests whether the sample mean is significantly different than a population mean when the standard deviation of the population is unknown. Hence t test is used when the population standard deviation is unknown and the sample size is below 30, otherwise use Z-test (for known variance)

Assumptions of One Sample T Hypothesis Test

  • Data is continuous and quantitative at the scale level (in other words data in ratio or interval)
  • The sample should be randomly selected from the population
  • Samples are independent to each other
  • Data should follow normal probability distribution
  • Assumes it don’t have extreme outliers in the dependent variable

One Sample T Hypotheis test formula

One Sample T Hypothesis Test (Student's T Test)
  • Where
    • x̅ is observed sample mean
    • μ0 is population mean
    • s is sample standard deviation
    • n is the number of the observations in the sample

Steps to Calculate One Sample T Hypothesis Test

  • State the claim of the test and determine the null hypothesis and alternative hypothesis
  • Determine the level of significance
  • Calculate degrees of freedom
  • Find the critical value
  • Calculate the test statistics
  • Make a decision, the null hypothesis will be rejected if the test statistic is in the rejection region
  • Finally, interpret the decision in the context of the original claim.

One Sample T Test Hypothesis

Null hypothesis (H0): The difference between population mean and the hypothesized value is equal to zero

Alternative hypothesis (H1):

  • The population mean is not equal to hypothesized value (two-tailed)
  • The population mean is greater than hypothesized value (upper-tailed)
  • The population mean is less than hypothesized value (lower-tailed)

Two Tailed t Test

A hypothesis test is performed if the population parameter is suspected to be different than the assumed parameter of the null hypothesis.

  • H0: μ=μ0
  • H1: μ≠μ0.
One Sample T Hypothesis Test (Student's T Test)

Right-tailed or upper-tailed test

Right tailed test is also called the upper tail test. A hypothesis test is performed if the population parameter is suspected to be greater than the assumed parameter of the null hypothesis.

  • H0: μ≤μ0
  • H1: μ>μ0
One Sample T Hypothesis Test (Student's T Test)

Left-tailed test or lower-tailed test

Left-tailed test is also known as a lower tail test. A hypothesis test is performed if the population parameter is suspected to be less than the assumed parameter of the null hypothesis.

  • H0: μ≥μ0
  • H1: μ<μ0
One Sample T Hypothesis Test (Student's T Test)

Example of a One-Sample T Hypothesis Test in a DMAIC Project

One Sample T test mostly performed in Analyze phase of DMAIC to check the significant difference between the population mean and the sample means, while paired t-test can be performed in Measure phase to review before and after process improvement (see below example for more details).

Example of two-tailed test

Example: According to the American health association, a pregnant woman’s average blood pressure is 120 mm Hg. Collected 15 random samples from pregnant women to check the sample blood pressure is different from accepted standard blood pressure.

  • Null Hypothesis: H0: μ=120
  • Alternative Hypothesis: H1: μ≠120

Significance level: α=0.05

Degrees of freedom:15-1= 14

Calculate the critical value

If the calculated t value is less than -2.145 or greater than 2.145, then reject the null hypothesis.

Test statistics

  • x̅ = 123
  • μ0 = 120
One Sample T Hypothesis Test (Student's T Test)

Interpret the results: Compare t calc to t critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. The calculated t statistic value less than the critical value, hence we failed to reject null hypothesis.

Right-tailed test

Example: A software start-up company plans to introduce company transportation based on the town hall meeting’s feedback. Admin manager randomly collected 12 employees’ spending on public transportation for the month. With 95% confidence level, is there any evidence that the population mean is above $400?

  • Null Hypothesis: H0: μ≤400
  • Alternative Hypothesis: H1: μ>400

Significance level: α=0.05

Sample size n=12

Degrees of freedom:12-1= 11

Calculate the critical value

One Sample T Hypothesis Test (Student's T Test)

If the calculated t value is greater than 1.796, then, reject the null hypothesis.

Calculate the Test statistics

  • Sum of all samples =4980
  • x̅ = Σx/n = 4980/12=415
  • Σ(X-X̅)2 = 17650
  • Σ(X-X̅)2 /n-1 = 1604.5
  • Standard deviation s = √ Σ(X-X̅)2 /n-1 = 40
  • μ0 = 400
  • x̅- μ0 =15
  • s/√n = 40/√12 = 11.6

Interpret the results: Compare t calc to t critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. Since tcal value is less than t critical value and it is not in the rejection region. Hence we failed to reject the null hypothesis. There is no sufficient evidence to claim the population mean is above $400.

Left-tailed test

Example: The average waiting time for billing at XYZ restaurant is 1.9 minutes. The restaurant owner updated the billing software to reduce the waiting time. He randomly collected 10 customers waiting time at the billing counter. With 95% confidence level, is there any evidence that the population average waiting time is less than 1.9 minutes?

  • Null Hypothesis: H0: μ≥1.9
  • Alternative Hypothesis: H1: μ<1.9

Significance level: α=0.05

Sample size n=10

Degrees of freedom:10-1= 9

Calculate the critical value

If the calculated t value is less than 1.833, then reject the null hypothesis.

Calculate the test statistics

  • Sum of all samples =22
  • x̅ = Σx/n = 22/10=2.2
  • Σ(X-X̅)2 = 2.7
  • Σ(X-X̅)2 /n-1 = 0.3
  • Standard deviation s = √ Σ(X-X̅)2 /n-1 = 0.55
  • μ0 = 1.9
  • x̅- μ0 =0.3
  • s/√n = 0.6/√10 = 0.174
One Sample T Hypothesis Test (Student's T Test)

Interpret the results: Compare t calc to t critical . In hypothesis testing, a critical value is a point on the test distribution compares to the test statistic to determine whether to reject the null hypothesis. Since tcal value is less than t critical value and it is in the rejection region. Hence we reject the null hypothesis. There is sufficient evidence to claim the population mean is less than 1.9 minutes.

One Sample T Hypothesis Test Videos

Additional One Sample T Hypothesis Test Resources

http://www.cliffsnotes.com/math/statistics/univariate-inferential-tests/one-sample-t-test (One sample T test)

http://stattrek.com/probability-distributions/t-distribution.aspx

Authors

Comments (10)

Hi, I don´t get it. What is the formula t = (xbar – u) / (s/Sqrt(n)) useful for? In the examples all results are drawn with T-values from the table. Can you clarify?

Thanks 🙂

Julio, in the examples we are trying to solve the confidence interval. We get the critical t value from the chart. We then substitute that value into the t equation to find the confidence interval. If you look closely, you’ll see that the t = equation has been rewritten for u = and the critical t value is substituted in.

Hope that helps!

Hi I’m conducting a survey research on brand consumption. My indecent variable is (1) total $ spent per month on brand products and (2) total number of brands owned. (Chosen from a list of brands on questionnaire)
My dependent variables are (1) social media usage (2)belief on importance of brand names and (3) self esteem.

My hypothesis is that (1) increased social Media usage increases brand consumerism

(2) belief on importance of brand names increase brand consumerism

(3) lower self esteem increases brand consumerism

What type of tests do I need to run to test my hypothesis? I have one way anova but I’m not sure if that’s right

I am getting ready to take the IASSC Lean Six Sigma Green Belt Certification Test. You should prominently include the IASSC Examination Reference Document and the testing rules with your study guide

Hi Scott,

Making a reference page would be helpful – not only for IASSC candidates, but for all other candidates.

From their site: IASSC provides a Reference Document in either paper or electronic form, subject to which form of exam one is taking. This document contains all formulas and tables one will need during the examination.

I can’t seem to find a version on-line. Do you know if they publish one for public consumption?

Example of Left Tail One-Sample t-Test is incorrect. The Critical Value has to be -1.8333 and tcalc is +1.72 and hence Ho should not be rejected.

Hello Manish,

The left tail one sample t-test example is correct and even we cross-checked in Minitab (see below Minitab output).

One-Sample T: Waiting time

Test of mu = 1.9 vs < 1.9 95% Variable: Waiting Time, N: 10, Mean:2.2, StDev 0.55176, 95% UpperBound: 2.51985, T: 1.72, P: 0.940

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.