Last updated August 22, 2009 23:34, by clartaq
Feedicon  

BinomialStats Wiki

BinomialStats is a small library of functions for handling probability calculations related to the binomial distribution. It is intended to be used as a function library for the SignTest program.

This library is written in Clojure for a couple of reasons. First, I just wanted to explore writing a little Clojure and interacting with Java from Clojure functions. Second, the Clojure version of the functions easily and transparently hides the use of Java BigIntegers, letting me extend the range of arguments that the functions can operate with.

The library meets these needs, but there are still some rough edges that I would like to finish up.

  1. Even though the argument domains are extended, I haven't clearly defined their limits yet.
  2. There is still a dependence on the Java Math library that limits the domain of the functions, specifically the use of the pow() function.
  3. Unit testing isn't working the way I would like. The project uses the enclojure plugin for NetBeans. I don't seem to have it set up correctly to run the unit tests from the NetBeans menu bar.
  4. Finally, as I am by no means an expert in Clojure, I would love to hear constructive input on how to improve the contents of the library, specifically the efficiency and to use idiomatic Clojure.

Thanks for checking out the project.

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close