Why do a two-sided hypothesis test and its confidence interval agree?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Explain why a two-sided hypothesis test at level alpha rejects exactly when the matching confidence interval excludes the null value. Tests test inversion, the coverage argument, the one-sided case, and the situations where a reported test and interval disagree.