Multiple Hypotheses

Original publication date: 2026-01-01

Rev 1: 2026-07-29 See author's notes at the bottom of this page for additional information.


User Input


Type the number of samples and then select submit

Type the number of hypotheses then select Submit

$P(H|I)$

When input boxes appear, fill in each input box with the HI ($P(H_{i}|I)$) values, then select Done

The Graph

Author's notes: There was an error with checking the sum of P(H|I)'s where it would falsely accept a good sum. I have mostly fixed that, it may still have some bugs with floating point errors. It is an error involivng my incomplete understanding of how Javascript handles floating points, I think. There are also some formatting errors with the colors for ease of use. I am caught up with other projects at the moment and will need to return to fix the bugs. However, the underlying algorithm still works. I wonder if it would be helpful to post the original C++ program. I'm not sure yet because it was a console program and outputted a csv file.