Sunday, May 10, 2015

Visualizing statistical distributions with javascript

For the past few years, I've been developing and using a library I created that allows me to easily generate visualizations of statistical distributions for teaching. One can specify a distribution along with a parametrization, and the library sees it and generates a table containing all the distributions, which gives links to interactive plots that allow anyone to see how changing the parameters affects the distribution. In addition, clicking on the plot allows finding areas under the distribution. Users can switch between PDF and CDF views. I've now opened the code on github.

You can also link directly to a visualization using URL parameters. For instance:

http://learnbayes.org/demo/stat-distributions-js/distributionDisplay.html?dist=normal&ptzn=2&plotxrng=50,150&rangesLo=50,3&rangesHi=150,45&starts=100,15

See the live demo and the github repository for more details.

Example screenshots:






9 comments:

  1. This is really great! (Nu constructive feedback, just wanted to say that :)

    ReplyDelete
  2. This is indeed great! BTW, I'm sure you are aware of this, but Wolfram's Mathematica (using Manipulate and their vast library of distribution functions) also offers this functionality, with the option of 3D plots as well.

    ReplyDelete
  3. Hi, loved your post!
    Do you know anything about microsoft dynamics ax partner, that I could purchase the software from? I know about Anegis Consulting but I'm searching for alternatives.
    Cheers!

    ReplyDelete
  4. Hi, loved your post! Do you know that https://gtm-plus.com/ it is one of the best outsourcing companies in Ukraine.

    ReplyDelete

  5. اعالى الخليج تقدم افضل خدمات نقل العفش الدولى المتميزه باسعار متميزة ومنها :

    شركة شحن عفش من الرياض الى دبي
    نقل عفش من الرياض الى الاردن شحن عفش من الرياض الى الاردن

    ReplyDelete
  6. We are auto fraud lawyers that sue car dealerships for bad car sale practices. Speak to our auto lawyers immediately if this happened to you: https://x-cops.ca/services/distracted-driving

    ReplyDelete
  7. This template is perfect for people who wish to display images as their portfolio - www.templatemonster.com/portfolio-website-templates/ .

    ReplyDelete