5

I have a dataset and I want to test to see how close it is to a normal or gaussian distribution. I know there are a variety of algorithms for doing this, eg. the Jarque-Bera test, the Anderson–Darling test and many others.

I'm hoping to find an open source Java implementation of one of these tests so that I don't need to implement it from scratch. Can anyone offer any pointers?

sanity
  • 35,347
  • 40
  • 135
  • 226

2 Answers2

3

The statistical library SSJ:

  1. Is licensed with GNU GPL
  2. Is pure Java (no JNI)
  3. Has Anderson–Darling
Mike Clark
  • 10,027
  • 3
  • 40
  • 54
1

http://jdistlib.sourceforge.net/

this has many other normality test methods.

WillZ
  • 3,775
  • 5
  • 30
  • 38