What hypothesis test would you use to determine if an observed difference is statistically significant?

Quick Overview

Asks how to choose a hypothesis test for an observed difference between groups. Tests whether a candidate can match the test to the metric type, the number of groups and the sampling design, check its assumptions, and apply a significance decision rule correctly.

What hypothesis test would you use to determine if an observed difference is statistically significant?

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Other

You observe a difference between groups, such as a higher conversion rate in a test variant or a higher average order value in one region. What hypothesis test would you use to determine whether the observed difference is statistically significant? ```hint Start from the data Ask what kind of metric is being compared (a mean, a proportion, counts across categories), how many groups there are, and whether the same units appear in both groups. ``` ### What a Strong Answer Covers - Explains that the choice depends on the metric type, the number of groups, and whether samples are independent or paired. - Names a suitable test for means, for proportions and for categorical counts, plus a nonparametric fallback. - States the assumptions behind the chosen test and what to do when they do not hold. - Describes the decision rule: null hypothesis, significance level fixed in advance, p-value, and what a significant result does and does not tell you. ### Follow-up Questions - An A/B test with 2 million users per arm shows a 0.05 percentage point lift with p = 0.001. Would you ship it? - How does your approach change if you compare 20 metrics at once? - When would you use a permutation test or a bootstrap instead of a t-test? - Why do many analysts use Welch's t-test by default?

Overview: Asks how to choose a hypothesis test for an observed difference between groups. Tests whether a candidate can match the test to the metric type, the number of groups and the sampling design, check its assumptions, and apply a significance decision rule correctly.

PracHub logo
General
Nov 25, 2026
easyData ScientistOtherStatistics & Math
0
0

You observe a difference between groups, such as a higher conversion rate in a test variant or a higher average order value in one region. What hypothesis test would you use to determine whether the observed difference is statistically significant?

What a Strong Answer Covers Guidance

  • Explains that the choice depends on the metric type, the number of groups, and whether samples are independent or paired.
  • Names a suitable test for means, for proportions and for categorical counts, plus a nonparametric fallback.
  • States the assumptions behind the chosen test and what to do when they do not hold.
  • Describes the decision rule: null hypothesis, significance level fixed in advance, p-value, and what a significant result does and does not tell you.

Follow-up Questions Guidance

  • An A/B test with 2 million users per arm shows a 0.05 percentage point lift with p = 0.001. Would you ship it?
  • How does your approach change if you compare 20 metrics at once?
  • When would you use a permutation test or a bootstrap instead of a t-test?
  • Why do many analysts use Welch's t-test by default?