Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Java library that implements one of the tests for the normality of a sample distribution?

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?

like image 502
sanity Avatar asked Oct 08 '22 04:10

sanity


2 Answers

The statistical library SSJ:

  1. Is licensed with GNU GPL
  2. Is pure Java (no JNI)
  3. Has Anderson–Darling
like image 138
Mike Clark Avatar answered Oct 12 '22 20:10

Mike Clark


http://jdistlib.sourceforge.net/

this has many other normality test methods.

like image 38
WillZ Avatar answered Oct 12 '22 21:10

WillZ