![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@handsontable/jstat
Advanced tools
jStat provides native javascript implementations of statistical functions. Full details are available in the docs. jStat provides more functions than most libraries, including the weibull, cauchy, poisson, hypergeometric, and beta distributions. For most distributions, jStat provides the pdf, cdf, inverse, mean, mode, variance, and a sample function, allowing for more complex calculations.
Use npm to download the project.
npm install @handsontable/jstat
jStat can be used in the browser. The jStat
object will be added to the window. For example:
<script src="https://cdn.jsdelivr.net/npm/@handsontable/jstat/dist/jstat.min.js"></script> <!-- include jStat, from the CDN or otherwise -->
<script>
var jstat = this.jStat(dataset); // jStat will be added to the window
data[i]['cum'] = jstat.normal(jstat.mean(), jstat.stdev()).cdf(data[i].x);
</script>
Using jStat in Node environment.
const jStat = require('@handsontable/jstat');
data[i]['cum'] = jStat.normal(jStat.mean(), jStat.stdev()).cdf(data[i].x);
First, clone a copy of the jStat git repo by running git clone https://github.com/handsontable/jstat.git
.
To download all necessary dependencies run npm install
in the cloned repository.
Then, to get a complete, minified version of jStat and all documentation, simply type npm run all
.
The built version of jStat will be put in the dist/
subdirectory.
Generate just the documentation by running npm run doc
. Documentation will be placed in dist/docs
by default.
To remove all built files, run npm run clean
.
Execute all tests by running npm run test
.
Or if you wish to run a specific test, cd
to test/<subdir>
and run node <some_test>-test.js
.
Both the minified and unminified source are located in the dist/
directory. For those who don't want to build
it themselves.
If you would like to help us to develop this library, please first read the guide for contributors.
This library is released under the MIT license. The project is based on the great work of jStat.
FAQs
Statistical Library for JavaScript
The npm package @handsontable/jstat receives a total of 575 weekly downloads. As such, @handsontable/jstat popularity was classified as not popular.
We found that @handsontable/jstat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.