CompTIA Data+ (DA0-002)Data AnalysisMedium

A quality control manager is monitoring the weight of cereal boxes coming off an assembly line. The target weight is 500 grams. To determine if the average weight of the boxes is significantly different from the target weight, which type of hypothesis test should be conducted?

  1. ATwo-sample t-test
  2. BOne-sample t-test
  3. CANOVA
  4. DPaired t-test
Show answer & explanation

Correct answer: B. One-sample t-test

A one-sample t-test is used to determine if the mean of a single sample is significantly different from a known population mean or a hypothesized value (in this case, the target weight of 500 grams).

Why the other options are wrong

  • A. A two-sample t-test compares the means of two independent groups.
  • C. ANOVA is used for comparing the means of three or more groups.
  • D. A paired t-test compares the means of two dependent or matched samples.

One-Sample t-test

A parametric statistical hypothesis test used to determine if the mean of a single sample is significantly different from a known or hypothesized population mean.

  • Compares one sample mean to a fixed value.
  • Assumes the sample data is normally distributed (or large enough for CLT).
  • Requires interval or ratio level data.

Memory trick: One-sample t-test: You're checking if your single sample's average hits the target.

More Data Analysis questions