Recently, I wrote about updating an old program that did the Sign Test. Well, I have lots of old programs that could stand a bit of refreshing.

Another of the simple ones calculates the confidence interval around the proportion of successes in a series of Bernoulli trials. I wrote about it way back in 2011. The original was written in Java and Swing many years ago. It is still available in a repository on Bitbucket. It hasn’t been updated in about five years though.

So, I thought it might be fun to make an updated version. This time it’s written in Clojure and uses the JavaFX GUI framework. Here’s what it looks like now.

A New Version of the Binomial Confidence Program
A New Version of the Binomial Confidence Program

The interface hasn’t changed much, but it does display a progress dialog for the second or so that it might take to calculate the results for some input data. That gave me a chance to play with JavaFX Tasks and progress dialogs. My usage feels a little clumsy, but it does work.

Also, the statistics calculations have been re-written in Clojure and added to my little library of functions related to the binomial distribution.

Hope you enjoy it.

Update 3 Nov 2017

Noticed that I forgot to include a link to the repository of the new version of the program. It’s here.