What is the distribution of p-values under the null hypothesis, and why is it uniform?
Role: Data Scientist
Category: Statistics & Math
Difficulty: medium
Interview Round: Other
Overview: Asks for the distribution of p-values when the null hypothesis is true and a derivation of why it takes that form. It tests the probability integral transform, Type I error calibration, and the cases where the result fails, such as discrete tests, composite nulls and misspecified models.