camspiers/Bayes

A Baysian calculator and visualization tool implemented in HTML, CSS, and JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
app.build.js
index.html
r.js

#Bayesian Calculator

This project provides an easy method for internet authors to add a Bayes' Theorem calculator and visualization tool to their web pages. The project is in development so if you find any bugs or if you have any suggestions to make you can log them here.

This project uses Underscore.js, RequireJS, almond.js, jQuery, d3.js, jQuery tools, MathJax and less. Thanks to all those awesome developers.

Also a special thanks to Richard Carrier for giving me excellent feedback during the development of the project.

##Configuration

To include any of the following calculators on your page, first you must include this script tag in the head of your document:

<script src="http://camspiers.github.com/Bayes/javascripts/bayes-calc-so.v1.1.js" charset="utf-8"></script>


Once these are included on the page, adding a calculator is as easy as adding a small html snippet into the desired location on your page.

##Examples

To see a demo of the following examples, visit the demo page

###Simple

###Simple with graph

###Full

###Full without equation

###Full with bar graph

###Full with circle graph

###Full with area-proportional venn graph

###Full with 4 decimal place rounding

###Simple a fortiori

###Full a fortiori

###3 Hypotheses

###3 Hypotheses with circle graph

##Building the project

###Almond build node r.js -o app.build.js

You can’t perform that action at this time.