Tom MacWright
Tom MacWright
1 seems great, and as Guillaume points out, yep, we've got 3. 2: my main question is whether the binBoundaries function should operate on data, or on binned output. Like...
I'm a bit hesitant to go beyond the 3-argument range with JavaScript APIs: as silly as it sounds, JavaScript's lack of named function arguments makes positional arguments pretty sloppy at...
👍 yep, sounds good!
That's true, there's no equivalent of NORM.DIST in simple-statistics at the moment. I'd welcome such a PR, and it looks like there are some examples in JavaScript, like https://github.com/RichieAHB/normal-distribution
We're currently using quickselect for quantiles, so unfortunately it's a little complicated. I'll take a look at the implementation, see if there's a fix, and potentially replace it with a...
I think we should switch from the blend of nearest and midpoint to just one or the other. Reading through the python [documentation for quantiles](https://docs.python.org/3/library/statistics.html#statistics.quantiles) it seems like they shipped...
Absolutely! Simple-statistics doesn't have much flexibility in sampling: I started with the Fisher-Yates approach because I could be comfortable with it being suitably random. Would love to add other methods,...
We don't! We have the unrelated gaussian error function, but not standard error. This'd be a great addition.
Sure, I'd be happy to accept a PR implementing this. Like other more advanced regression techniques, it looks like kernel regression is more the name of a family of methods...
so the way to do this would probably be something like ``` js var myNumber = ...; var myArray = [...]; var qRank = ss.bisect(myArray.sort(), myNumber) / myArray.length; ```