What is a one-sample t-test?

Quick Overview

Asks what a one-sample t-test is and how it is used to compare a sample mean with a hypothesized value. Tests the hypotheses, the test statistic and degrees of freedom, the assumptions, and how to read the result in a small example.

What is a one-sample t-test?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

What is a one-sample t-test? ```hint Standardize the gap Think about how to scale the difference between the sample mean and the hypothesized value, and what changes when the spread has to be estimated from the same sample. ``` ### What a Strong Answer Covers - The null and alternative hypotheses, in one-sided and two-sided form - The test statistic, its reference distribution and its degrees of freedom - Why a t-distribution is used when the standard deviation is estimated - The assumptions, and what to do when they do not hold - How to read the result, ideally with a small numeric example or a confidence interval ### Follow-up Questions - How is a paired t-test related to the one-sample t-test? - A sample of 16 batteries has mean life 9.6 hours and standard deviation 0.8 hours. Is that evidence against an advertised 10 hours at the 5% level? - What would you use instead if the sample is small and heavily skewed? - Why does the difference between t-test and z-test results shrink as the sample grows?

Overview: Asks what a one-sample t-test is and how it is used to compare a sample mean with a hypothesized value. Tests the hypotheses, the test statistic and degrees of freedom, the assumptions, and how to read the result in a small example.

General logo
General
Nov 24, 2026
easyData ScientistOtherStatistics & Math
0
0

What is a one-sample t-test?

What a Strong Answer Covers Guidance

  • The null and alternative hypotheses, in one-sided and two-sided form
  • The test statistic, its reference distribution and its degrees of freedom
  • Why a t-distribution is used when the standard deviation is estimated
  • The assumptions, and what to do when they do not hold
  • How to read the result, ideally with a small numeric example or a confidence interval

Follow-up Questions Guidance

  • How is a paired t-test related to the one-sample t-test?
  • A sample of 16 batteries has mean life 9.6 hours and standard deviation 0.8 hours. Is that evidence against an advertised 10 hours at the 5% level?
  • What would you use instead if the sample is small and heavily skewed?
  • Why does the difference between t-test and z-test results shrink as the sample grows?