Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does any body know of a Java implementation of McNemar's Test?

share|improve this question

I do not know such a library, but the statistics part of the apache commons math library (written in java) provides a series of distributions, including chi2. Since the McNemar's Test does not seem to be thaaat complicated, you may figure an implementation out on your own.

share|improve this answer

I found this on Google:
Does it do anything for you? McNemar's Test is implemented in the Java Statistical Classes Library, specifically in jsc.contingencytables.

share|improve this answer
(+1): Unfortunately this seems to be an orphaned project. – steffen Mar 12 '11 at 6:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.