Assumptions behind t-tests, z-tests and chi-square tests, and what happens when they are violated

Quick Overview

Asks for the assumptions behind t-tests, z-tests and chi-square tests and what happens to error rates and p-values when each one fails. Tests how well you understand independence, normality, equal variances and expected counts, and which fixes to reach for in practice.

Assumptions behind t-tests, z-tests and chi-square tests, and what happens when they are violated

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What are the key parametric assumptions for classical hypothesis tests like t-tests, z-tests, and chi-square tests, and what happens if they are violated? ```hint Sort by test For each test, list what it assumes about how the observations were collected, about the shape of the data or of the sampling distribution, and about variances or cell counts. ``` ```hint Follow the p-value For each violation, ask whether it changes the standard error, the reference distribution, or both, and which way it moves the Type I error rate. ``` ### What a Strong Answer Covers - The assumptions of one-sample, two-sample and paired t-tests and of z-tests, including what the normality assumption actually refers to. - The assumptions of chi-square goodness-of-fit and independence tests, including the expected-count condition. - The effect of each violation on the Type I error rate, power or p-value, and which violations do the most damage. - A remedy for each violation. ### Follow-up Questions - An A/B test randomizes by user, but click-through is analyzed per pageview with a two-proportion z-test. What goes wrong, and how do you fix it? - When does Student's pooled t-test with unequal variances reject too often, and why do equal group sizes protect it? - Would you run a normality test before a t-test on 100,000 observations? Why or why not? - A 2x2 table has an expected count of 2 in one cell. What do you do?

Overview: Asks for the assumptions behind t-tests, z-tests and chi-square tests and what happens to error rates and p-values when each one fails. Tests how well you understand independence, normality, equal variances and expected counts, and which fixes to reach for in practice.

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

What are the key parametric assumptions for classical hypothesis tests like t-tests, z-tests, and chi-square tests, and what happens if they are violated?

What a Strong Answer Covers Guidance

  • The assumptions of one-sample, two-sample and paired t-tests and of z-tests, including what the normality assumption actually refers to.
  • The assumptions of chi-square goodness-of-fit and independence tests, including the expected-count condition.
  • The effect of each violation on the Type I error rate, power or p-value, and which violations do the most damage.
  • A remedy for each violation.

Follow-up Questions Guidance

  • An A/B test randomizes by user, but click-through is analyzed per pageview with a two-proportion z-test. What goes wrong, and how do you fix it?
  • When does Student's pooled t-test with unequal variances reject too often, and why do equal group sizes protect it?
  • Would you run a normality test before a t-test on 100,000 observations? Why or why not?
  • A 2x2 table has an expected count of 2 in one cell. What do you do?