Take the 2-minute tour ×
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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.