https://github.com/simple-statistics/simple-statistics
simple statistics for node & browser javascript
Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
3 of 56 committers (5.4%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.1%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
simple statistics for node & browser javascript
Basic Info
- Host: GitHub
- Owner: simple-statistics
- License: isc
- Language: JavaScript
- Default Branch: main
- Homepage: https://simple-statistics.github.io/
- Size: 4.09 MB
Statistics
- Stars: 3,463
- Watchers: 56
- Forks: 228
- Open Issues: 24
- Releases: 4
Topics
Metadata Files
README.md
Simple Statistics
A JavaScript implementation of descriptive, regression, and inference statistics.
Implemented in literate JavaScript with no dependencies, designed to work in all modern browsers (including IE) as well as in node.js.
- :green_book: API Documentation
- :chartwithupwards_trend: Benchmarks
- :kissing: A list of other statistics libraries
Installation
- I'm using Node.js, Webpack, Browserify, Rollup, or another module bundler,
and install packages from npm.
- First, install the
simple-statisticsmodule, usingnpm install simple-statistics, then include the code with require or import: - I use the
requirefunction to use modules in my project. (most likely) - When you use
require, you have the freedom to assign the module to any variable name you want, but you need to specify the module's name exactly: in this case, 'simple-statistics'. Therequiremethod returns an object with all of the module's methods attached to it.
var ss = require('simple-statistics') - I use
importto use modules in my project. I'm probably using Babel,@std/esm, Webpack, or Rollup. - Import all functions under the ss object:
import * as ss from 'simple-statistics'
Include a specific named export:import {min} from 'simple-statistics'Simple statistics has only named exports for ES6.
- First, install the
- I'm using Deno.
- We recommend using Deno's first-class NPM compatibility to use simple-statistics from NPM: you'll need to import it as
npm:simple-statistics.
- We recommend using Deno's first-class NPM compatibility to use simple-statistics from NPM: you'll need to import it as
- I'm not using a module bundler. I'm writing a web page, and want to include
simple-statistics using a script tag.
- I want to support all browsers
- When you use simple-statistics from a script tag, you don't get to choose
the variable name it is assigned to: simple-statistics will always become
available globally as the variable
ss. You can reassign this variable to another name if you want to, but doing so is optional.HTML <script src='https://unpkg.com/simple-statistics@7.8.8/dist/simple-statistics.min.js'> </script> - I want to use ES6 modules in a browser and I'm willing to only support new browsers to do it
- This module works great with the
?modulequery parameter of unpkg. If you specifytype='module'in your script tag, you'll be able to import simple-statistics directly - throughindex.jsand with true ES6 import syntax and behavior.js <script type='module'> import {min} from "https://unpkg.com/simple-statistics@7.8.8/index.js?module" console.log(min([1, 2, 3])) </script>This feature is still experimental in unpkg and very bleeding-edge.
Owner
- Name: simple statistics
- Login: simple-statistics
- Kind: organization
- Location: Worldwide
- Website: http://simplestatistics.org/
- Repositories: 5
- Profile: https://github.com/simple-statistics
statistics in javascript with a focus on friendliness
GitHub Events
Total
- Issues event: 8
- Watch event: 81
- Delete event: 16
- Issue comment event: 19
- Push event: 25
- Pull request event: 44
- Fork event: 5
- Create event: 21
Last Year
- Issues event: 8
- Watch event: 81
- Delete event: 16
- Issue comment event: 19
- Push event: 25
- Pull request event: 44
- Fork event: 5
- Create event: 21
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Tom MacWright | t****m@m****g | 484 |
| dependabot-preview[bot] | 2****] | 68 |
| greenkeeper[bot] | g****] | 54 |
| dependabot[bot] | 4****] | 45 |
| Eric Theise | e****e@g****m | 29 |
| Guillaume Plique | g****e@g****m | 13 |
| Denis | c****s@g****m | 11 |
| Aaron Schumacher | a****r@g****m | 10 |
| Vladimir Agafonkin | a****n@g****m | 9 |
| Eric Fischer | e****f@p****m | 8 |
| Tobias Nießen | t****n | 7 |
| Daniel Saxton | 2****n | 7 |
| Dan Allison | d****n@d****g | 7 |
| James Seppi | j****i@g****m | 6 |
| harunori murata | h****a@g****m | 5 |
| Matt Sacks | m****s@g****m | 3 |
| Philippe Rivière | f****l@r****t | 3 |
| Kyle Mathews | m****e@g****m | 3 |
| Bill Mill | b****l@b****g | 3 |
| Raphael Luta | r****a@a****m | 3 |
| phoeagon | p****n@g****m | 3 |
| David Schnurr | s****r@g****m | 2 |
| Emanuel Feld | e****d | 2 |
| Chris Nielsen | n****s@g****m | 2 |
| Rob Britton | r****b@s****m | 2 |
| Jared Wilber | j****r | 2 |
| Joker-vD | j****d@g****m | 2 |
| Roman Zoller | r****r | 2 |
| Xuefeng Zhu | x****5@i****u | 2 |
| alexander sicular | s****s@g****m | 2 |
| and 26 more... | ||
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 26
- Total pull requests: 137
- Average time to close issues: 6 months
- Average time to close pull requests: about 1 month
- Total issue authors: 24
- Total pull request authors: 12
- Average comments per issue: 2.42
- Average comments per pull request: 0.58
- Merged pull requests: 56
- Bot issues: 0
- Bot pull requests: 108
Past Year
- Issues: 5
- Pull requests: 38
- Average time to close issues: about 24 hours
- Average time to close pull requests: 22 days
- Issue authors: 5
- Pull request authors: 4
- Average comments per issue: 1.2
- Average comments per pull request: 0.29
- Merged pull requests: 19
- Bot issues: 0
- Bot pull requests: 30
Top Authors
Issue Authors
- TryChai (2)
- dsaxton (2)
- brandonros (1)
- gorner (1)
- gvwilson (1)
- trogers1 (1)
- TheDirigible (1)
- donmccurdy (1)
- hbcondo (1)
- curran (1)
- zhw2590582 (1)
- jrossner (1)
- adgrig (1)
- jverre-drivalytix (1)
- jpireaud (1)
Pull Request Authors
- dependabot[bot] (129)
- tmcw (21)
- Bluebberies (2)
- kalijonn (2)
- harunorimurata (2)
- abrenneke (1)
- curran (1)
- mourner (1)
- marcelgerber (1)
- Yomguithereal (1)
- donmccurdy (1)
- lingxia (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 5
-
Total downloads:
- npm 1,106,588 last-month
- Total docker downloads: 16,217
-
Total dependent packages: 314
(may contain duplicates) -
Total dependent repositories: 6,118
(may contain duplicates) - Total versions: 155
- Total maintainers: 1
npmjs.org: simple-statistics
Simple Statistics
- Homepage: https://github.com/simple-statistics/simple-statistics#readme
- License: ISC
-
Latest release: 7.8.8
published 12 months ago
Rankings
Maintainers (1)
proxy.golang.org: github.com/simple-statistics/simple-statistics
- Documentation: https://pkg.go.dev/github.com/simple-statistics/simple-statistics#section-documentation
- License: isc
-
Latest release: v7.8.3+incompatible
published about 3 years ago
Rankings
deno.land: simplestatistics
simple statistics for node & browser javascript
- Documentation: https://doc.deno.land/https://deno.land/x/simplestatistics/mod.ts
- License: isc
-
Latest release: v7.8.3
published about 3 years ago
Rankings
deno.land: simplestatistic
simple statistics for node & browser javascript
- Documentation: https://doc.deno.land/https://deno.land/x/simplestatistic/mod.ts
- License: isc
-
Latest release: v7.7.1
published about 4 years ago
Rankings
repo1.maven.org: org.webjars.npm:simple-statistics
WebJar for simple-statistics
- Homepage: https://www.webjars.org
- Documentation: https://appdoc.app/artifact/org.webjars.npm/simple-statistics/
- License: ISC
-
Latest release: 7.3.2
published about 5 years ago
Rankings
Dependencies
- benchmark ^2.1.4
- d3-array ^1.2.0
- jstat ^1.7.0
- markdown-table ^1.1.0
- mathjs ^3.11.4
- science ^1.9.3
- simple-statistics ^5.0.0
- @rollup/plugin-buble ^0.21.3 development
- cz-conventional-changelog ^3.3.0 development
- documentation ^13 development
- eslint ^8.21.0 development
- eslint-plugin-import ^2.26.0 development
- eslint-plugin-prettier ^4.2.1 development
- prettier ^2.7.1 development
- random-js ^2.1.0 development
- rollup ^2.77.3 development
- rollup-plugin-terser ^7.0.2 development
- standard-version ^9.5.0 development
- tap ^16.3.0 development
- typescript ^4.7.4 development
- 883 dependencies
- actions/checkout v1 composite
- actions/setup-node v1 composite