Point Testing
A point test is a hypothesis test in which the null hypothesis fully specifies the distribution by fixing the parameter to a single value.
For binary hypothesis testing, the Neyman-Pearson Test is the point test which maximizes power subject to a constraint on the significance level . Define the Likelihood Ratio to be
Then, for some critical threshold and an observation :
- Accept if .
- Reject with probability if .
- Reject if .
This guarantees that the test yields the smallest possible among all tests that do not exceed .
Intuition
We first begin by expressing the Neyman-Pearson Test as an optimization problem, where
Examples
Exponential Hypothesis Testing
Let . Given , let . Let . Suppose that
- The null hypothesis is , and
- The alternative hypothesis is .
Find the decision rule (a function of ) that maximizes subject to .
Solution. . We find that which is decreasing in since . Since is our criterion for accepting the null (we use a instead of a strict inequality since we are working with continuous variables) , we have Given , we also have
We utilize the Neyman-Pearson test with
\alpha &= \mathbb{P}(\hat{X}=1 \mid X = c) \
&=\mathbb{P}(L(Y) \leq \zeta \mid X=c) \
&= \mathbb{P}(Y \leq t \mid X=c) \
&= 1-e^{-ct} \
&= 0.05 \iff t=-\frac{\ln 0.95}{c}
\end{align}$$
Therefore, we equate the two values of to solve for the threshold , so that
Our rule is then
\hat{X}=\begin{cases}
1 & \text{if } L(Y) \leq \lambda \equiv Y \leq t \
c & \text{if } L(Y) > \lambda \equiv Y > t.
\end{cases}
\end{align}$$
Bernoulli Hypothesis Testing
Suppose that
- The null hypothesis is , and
- The alternative hypothesis is .
Using the Neyman–Pearson formulation of hypothesis testing, find the optimal randomized decision rule with respect to the criterion
\min &\enspace \mathbb{P}(\hat{X}=0 \mid X=1) \
\text{s.t.} &\enspace \mathbb{P}(\hat{X}=1 \mid X=0) \le \beta,
\end{align}$$
where is a given upper bound on the false positive probability.
Solution.
This question requires us to find the test that minimizes the false negative probability while keeping the false positive probability below . We start by computing the likelihood ratio,
such that and , or