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:






10 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. 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
  6. This template is perfect for people who wish to display images as their portfolio - www.templatemonster.com/portfolio-website-templates/ .

    ReplyDelete
  7. TASKMO is a tech driven on-demand staffing platform that connects companies with pre-screened deployable temporary workers, part time workers, manpower , promoters.

    Best Outsourcing Companies In India

    ReplyDelete
  8. A choice to recruit Ruby software engineers or recruit Ruby on Rails designers is helpful for propelling business development with seaward Ruby engineers since this programming language and system is great ro go both with the improvement of little sites that should be rapid, botch open minded and working under high burden and for web applications with dynamic web interfaces and muddled business rationale. Assuming you enlist Ruby engineers, you'll accomplish business objectives actually. Seaward Ruby improvement group will make a thoroughly examined construction and route, an easy to use interface, and the right engineering for quick work without disappointments under enormous burden>> Mobilunity

    ReplyDelete