Talk:Neyman–Pearson lemma

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Statistics (Rated Start-class, Top-importance)
WikiProject icon

This article is within the scope of the WikiProject Statistics, a collaborative effort to improve the coverage of statistics on Wikipedia. If you would like to participate, please visit the project page or join the discussion.

Start-Class article Start  This article has been rated as Start-Class on the quality scale.
 Top  This article has been rated as Top-importance on the importance scale.

Can someone add a more detailed explaination and an example to this article?

The symbol used for the ratio is the symbol used in the likelihood ratio test article, even though the likelihoods there are the maximum likelihoods. I suppose seeing as there is only one possible value under each hypothesis that specifying they are the supremums is not strictly necessary but it might be technichally correct.

Also the likelihood ratio test article says that the null hypothesis has to be a subset of the alternative hypothesis whereas here that is not the case. Possibly this is a generalised likelihood ratio test as described here: where there are only two possible values of the parameter theta?

The main problem is that the LRT article is written even more badly than this one. Statements such as "the null hypothesis has to be a subset of the alternative hypothesis" represent a fundamental lack-of-understanding of hypothesis testing; to the contrary, the hypotheses must be disjoint. What is (before I get to work with editing...) called an LRT on the LRT page, should indeed be called a generalized (or maximum) likelihood ratio test. --Zaqrfv (talk) 08:41, 27 August 2008 (UTC)

correction needed[edit]

The recent addition (May 8 2008) needs correction to the algebra which is beyond my skill. The term involving the different of two variances needs changing to a form which involves the difference of the reciprocals of the variances. Melcombe (talk) 09:46, 8 May 2008 (UTC)

Quite right. I have edited the LaTeX to correct my little slip... Goblin5 (talk) 09:00, 12 May 2008 (UTC)


Is there any reason why the two rejection regions defined at the start of the proof need to be and ? The A and are confusingly similar, especially as subscripts. MDReid (talk) 02:28, 1 August 2008 (UTC)

How many problems are there in this page?[edit]

Let me count.

  1. Undefined notation, like L(.|.), in the introduction paragraph, and no clear verbal statement of the result.
  2. No mention of randomized testing, which is critical to the N-P lemma when discrete distributions are involved.
  3. The proof (should a proof even be here, rather than in references?) is unnecessarily long-winded and notation-heavy, and isn't even general (doesn't appear to allow randomized tests, and therefore doesn't cover discrete distributions).
  4. An example that tells me I reject in favour of , with , if the sample variance is sufficiently small. Umm, I think this is a least powerful test, or something.
  5. And can't we find a less-messy example for demonstration anyway?
  6. I'd like a measure theoretic version of this Lemma with the Radon Nikodym derivative. In Mathematical Finance, not all understand statistics jargon. —Preceding unsigned comment added by (talk) 09:11, 23 July 2009 (UTC)

Well. I think this is enough to justify rewriting the page from scratch. Will work on it. --Zaqrfv (talk) 08:00, 27 August 2008 (UTC)

Update: Draft rewrite of this page. --Zaqrfv (talk) 09:17, 28 August 2008 (UTC)

I think most of your suggested update is great. However, as the original author of the proof I'd like to comment. I put it there since I needed to understand the lemma one day and there was nothing online, hence I derived it. OK the notation may not be the best. Your proposed proof is quick, however its style "start by looking at this weird inequality I'd never dream up in a million years" doesn't offer any real understanding.

I really don't think that generalising to include randomized testing is worthwhile, since in reality it is never, ever used. —Preceding unsigned comment added by (talk) 14:17, 28 August 2008 (UTC)

The draft proof is actually a fairly proof from statistics texts (essentially the same as given in Lehman, for example). With regard to randomization, this is again standard for any proper treatment of the NP lemma in statistics texts. Without it, the lemma is incomplete, since one leaves discrete data (or more correctly, discrete likelihood ratios) uncovered. "Most powerful" tests for Poisson data could take some very strange forms, if one doesn't allow randomized testing. --Zaqrfv (talk) 23:17, 2 September 2008 (UTC)


The initial definition tests H1 against H0 ($\Lambda < k$), but the example tests H0 against H1 ($\Lambda > k$). —Preceding unsigned comment added by Cerfe (talkcontribs) 17:07, 19 August 2010 (UTC)

I corrected the expression of in the example. I also modified a sentence which links and . Ragnaroob (talk) 08:39, 22 February 2013 (UTC)

claim that "the test statistic can be shown to be a scaled Chi-square distributed random variable"[edit]

In the section titled "example", this article claims that "the test statistic can be shown to be a scaled Chi-square distributed random variable", but does not provide a source or any explanation of how this can be shown. — Preceding unsigned comment added by Rcorty (talkcontribs) 21:02, 19 May 2016 (UTC)