What options do you have when the normality assumption of a parametric test is violated?

Quick Overview

Asks what to do when data violate the normality assumption behind a t-test or ANOVA, and how to choose among the alternatives. Tests your grasp of how sample size affects the assumption, what each alternative assumes, and how the choice changes the hypothesis being tested.

What options do you have when the normality assumption of a parametric test is violated?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What options do you have when the normality assumption of a parametric test is violated? For example, you planned a two-sample t-test, and the metric turns out to be heavily right-skewed. Describe the alternatives and how sample size and the shape of the violation affect which one you pick. ```hint Start with what the test needs Ask which quantity the t-test needs to be close to normal: the raw observations, or something computed from them. Sample size changes the answer. ``` ```hint Group the alternatives Sort the options by what they change: the data, the test statistic, or the way the null distribution is built. ``` ### What a Strong Answer Covers - When the Central Limit Theorem makes the violation harmless, and how that depends on sample size and skew - Transformations and how they change the scale on which the result is read - Rank-based non-parametric tests, including the hypothesis each one actually tests - Resampling methods (bootstrap and permutation) and what they still assume - Checking whether outliers, unequal variances or the wrong choice of test are the actual problem ### Follow-up Questions - A Mann-Whitney U test is significant but a test on the difference in means is not. How can that happen, and what would you report? - Why is running a Shapiro-Wilk test first, then choosing between a t-test and a non-parametric test based on its result, a questionable practice? - If you log-transform revenue and run a t-test, what quantity have you compared, and how would you explain the result to a product team? - When would you model the data with a GLM, such as Poisson or gamma regression, instead of using any of these options?

Overview: Asks what to do when data violate the normality assumption behind a t-test or ANOVA, and how to choose among the alternatives. Tests your grasp of how sample size affects the assumption, what each alternative assumes, and how the choice changes the hypothesis being tested.

General logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

What options do you have when the normality assumption of a parametric test is violated?

For example, you planned a two-sample t-test, and the metric turns out to be heavily right-skewed. Describe the alternatives and how sample size and the shape of the violation affect which one you pick.

What a Strong Answer Covers Guidance

  • When the Central Limit Theorem makes the violation harmless, and how that depends on sample size and skew
  • Transformations and how they change the scale on which the result is read
  • Rank-based non-parametric tests, including the hypothesis each one actually tests
  • Resampling methods (bootstrap and permutation) and what they still assume
  • Checking whether outliers, unequal variances or the wrong choice of test are the actual problem

Follow-up Questions Guidance

  • A Mann-Whitney U test is significant but a test on the difference in means is not. How can that happen, and what would you report?
  • Why is running a Shapiro-Wilk test first, then choosing between a t-test and a non-parametric test based on its result, a questionable practice?
  • If you log-transform revenue and run a t-test, what quantity have you compared, and how would you explain the result to a product team?
  • When would you model the data with a GLM, such as Poisson or gamma regression, instead of using any of these options?