Suppose $N(t)$ is a Poisson process with rates $\lambda$. Suppose I've been observing it for $t \in [0, T]$ and recorded events. How can I test the null hypothesis $\lambda < \lambda_0$, where $\lambda_0$ is a number?
An obvious solution is to derive MLE of rates $\hat\lambda$ and compare with $\lambda_0$. But I don't know how to calculate the statistical significance then. Any idea?
$N(t)$ follows a $Poi(\lambda T)$ distribution. The generalized likelihood ratio test is $\frac{\max_{\lambda \geq \lambda_0} p(n;\lambda T)}{\max_{\lambda < \lambda_0} p(n;\lambda T)}$ where $p(n;\lambda)$ denotes a $Poi(\lambda T)$ PMF and $n$ is the number of counts you get, and you declare $H_0$ if this is below some threshold and $H_1$ if its above the threshold.
Now, the MLE for a poisson distribution with one sample is simply $\hat{\lambda} = n$. So, depending on the value of $n$ relative to $\lambda_0 T$, the numerator or denominator will be $p(n;n)$. Then, note that $(\log p(n;\lambda))' = -1 + n/\lambda$ where the derivative is wrt $\lambda$, so the one of the numerator/denominator which isn't $p(n;n)$ will be $p(n;\lambda_0 T)$.
So, your test statistic will be either $p(n;n)/p(n;\lambda_0 T)$ its reciprocal depending on if $n> \lambda_0 T$ or not. So, you can calculate everything based on this.