# tmcw/simple-statistics

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Commits on Mar 20, 2015
1. authored
2. authored
`and there are many more nowadays which is a very good thing.`
3. authored
`Fix for jenksBreaks() to correctly pull the breaks values`
4. Joker-vD authored
```* Test "assigns correct breaks" is now named "assigns correct breaks (small gaps between classes)".

* This test also used to be completely wrong: previously jenks([1, 2, 4, 5, 7, 9, 10, 20], 3) used to return [1, 2, 5, 20] - which means breaking into classes [1], [2, 4], [5, 7, 9, 10, 20]. However, such breaking has total variance (which Jenks' natural breaks algorithm is supposed to minimize) equal to 136.8. The optimal breaking is actually [1, 2, 4, 5], [7, 9, 10], [20], it has total variance equal to 14.(6), and the corresponding breaks vector is [1, 7, 20, 20].

* New test "assigns correct breaks (large gaps between classes)" introduced. It tests for jenks([2, 32, 33, 34, 100], 3) to return [2, 32, 100, 100] that corresponds to breaking points into classes [2], [32, 33, 34], [100]. I believe it is self-obvious that such breaking is optimal (total variance is 0.5).

* New test "assigns correct breaks (breaking N points into N classes)" introduced. It teasts for jenks([9, 10, 11, 12, 13], 5) to return [9, 10, 11, 12, 13, 13] that corresponds to breaking points into classes [9], [10], [11], [12], [13]. It's optimal because it's the only way to break five 5 points into 5 classes. The previous version of jenks() used to return nonsensical [9, null, 9, 10, 11, 13].```
5. Joker-vD authored
Commits on Feb 22, 2015
1. authored
`This reverts commit ccfae46.`
2. authored
Commits on Feb 7, 2015
1. authored
`Fix rounding error in cumulative_std_normal_probability lookup.`
2. ericfischer authored
3. ericfischer authored
4. ericfischer authored
5. ericfischer authored
`And fix my documentation error about their relationship`
6. ericfischer authored
```And add a numerical approximation to error_function() instead
of only having a table lookup.```
Commits on Sep 9, 2014
1. authored
`quantiles doc  '>=' updates`
2. abenrob authored
Commits on Aug 20, 2014
1. authored
`add `root_mean_square()`, ref #67`
2. jseppi authored
3. jseppi authored
4. authored
5. authored
6. authored
7. authored
8. authored
9. authored
10. authored
`Implement Fisher-Yates shuffle for random sub-selections`
11. authored
Commits on Aug 18, 2014
1. authored
2. authored
`Tape`
3. authored
4. authored
Commits on Aug 17, 2014
1. authored
2. authored
3. authored
Commits on Jun 14, 2014
1. authored
2. authored
Something went wrong with that request. Please try again.