In hypothesis testing, for a given , a uniformly most powerful (UMP) test is a test whose type-I error is bounded by and, among all other tests with type-I error bounded by , has the most power.

More formally, suppose we are testing vs . Consider the family of all tests such that . We say a test is UMP if for all other tests , we have

The Neyman-Pearson lemma states that the likelihood-ratio test is UMP for testing simple hypothesis (i.e. simple null vs simple alternative). The Karlin-Rubin theorem extends this to composite vs composite but under a monotone likelihood ratio assumption.

UMP tests don’t always exist.