Permalink
Commits on May 16, 2017
  1. chore(package): Update uglify-js to the latest version 🚀 (#224)

    * chore(package): update uglify-js to version 3.0.0
    
    * chore: Update uglify-js invocation style
    greenkeeper[bot] committed with tmcw May 16, 2017
Commits on May 11, 2017
Commits on May 5, 2017
Commits on Apr 27, 2017
  1. chore(release): 4.1.0

    tmcw committed Apr 27, 2017
  2. docs: Add `@since` information to new methods (#220)

    This JSDoc tag makes it clear in documentation which version includes a certain feature
    tmcw committed on GitHub Apr 27, 2017
  3. feat: sampleKurtosis

    An implementation of Fisher’s excess kurtosis definition with unbiased central moment
    estimators (used in Excel and SAS, also SciPy’s stats.kurtosis when
    bias=False). Pretty similar to sampleSkewness.
    emanuelfeld committed with tmcw Apr 27, 2017
  4. docs(sampleSkewness): Fixes JSDoc to reflect error throwing when inpu…

    …t array has length <3.
    emanuelfeld committed with tmcw Apr 27, 2017
Commits on Apr 25, 2017
  1. test: Update required test

    tmcw committed Apr 25, 2017
  2. chore: Update version in readme

    tmcw committed Apr 25, 2017
  3. chore(release): 4.0.0

    tmcw committed Apr 25, 2017
  4. chore: Update branch of website

    tmcw committed Apr 25, 2017
  5. fix: Remove mixin method (#215)

    Mixin no longer aligns with how JavaScript should work: we shouldn't extend native prototypes.
    
    BREAKING CHANGE: Removes .mixin(). Instead use simple-statistics in a functional style.
    
    Fixes #211
    tmcw committed on GitHub Apr 25, 2017
  6. build: Add website build script

    tmcw committed Apr 25, 2017
  7. chore: Add release script

    tmcw committed Apr 25, 2017
Commits on Apr 14, 2017
  1. perf(distributions): return array instead of object (#209)

    Makes `bernoulliDistribution`, `binomialDistribution` and
    `poissonDistribution` return an array instead of object. The result is
    fully equivalent since keys were sequential integers starting from 0,
    but this is ~5% faster.
    
    BREAKING CHANGE: The return value of bernoulliDistribution, binomialDistribution, and poissonDistribution is no longer an Object with number keys, it is now an Array of numbers.
    mourner committed with tmcw Apr 14, 2017
  2. refactor(bernoulliDistribution): simpler implementation (#207)

    No need to implement through binomial distribution since the result is
    trivial.
    mourner committed with tmcw Apr 14, 2017
  3. perf(binomialDistribution): avoid expensive factorial calculations (#205

    )
    
    Improves performance of binomialDistribution by computing binomial
    coefficient cumulatively instead of using factorials in each iteration.
    
    Ref #194
    mourner committed with tmcw Apr 14, 2017
  4. perf(poissonDistribution): use Math.exp instead of Math.pow (#208)

    A further ~5% poissonDistribution performance improvement.
    mourner committed with tmcw Apr 14, 2017
  5. perf(poissonDistribution): avoid expensive factorial calculation (#206)

    Improves performance of poissonDistribution by computing factorial
    cumulatively.
    
    Ref #194
    mourner committed with tmcw Apr 14, 2017
Commits on Apr 12, 2017
  1. perf(sampleSkewness): Improve sampleSkewness performance (#197)

    Avoids a recomputation of the mean value
    
    Refs #194
    tmcw committed on GitHub Apr 12, 2017
  2. docs(coc): Add Contributor's Covenant as CoC (#198)

    This is the same as I use in documentation.js, and will apply to all future contributions. The
    contributors convenant is very simple, liberal, and well-known.
    tmcw committed on GitHub Apr 12, 2017
Commits on Apr 10, 2017
  1. docs(readme): Fix CircleCI badge style

    tmcw committed on GitHub Apr 10, 2017
  2. Update dependencies to enable Greenkeeper 🌴 (#196)

    * chore(package): update dependencies
    
    https://greenkeeper.io/
    
    * docs(readme): add Greenkeeper badge 
    
    https://greenkeeper.io/
    
    * docs(readme): Move GreenKeeper badge to badge area of README
    greenkeeper[bot] committed with tmcw Apr 10, 2017
  3. perf(core): Improve performance of min, max, sumNthPowerDeviations, v…

    …ariance, sampleVariance (#195)
    
    This captures low-hanging fruit optimizations: switching from Math.pow(n, 2) to n * n, and using the
    first element of the array as the starting minimum and maximum value, allowing us to skip an
    undefined check in each loop.
    
    References #194
    tmcw committed on GitHub Apr 10, 2017
Commits on Apr 6, 2017
  1. Auto-update readme

    tmcw committed Apr 6, 2017
  2. Update changelog for 3.0.0

    tmcw committed Apr 6, 2017