https://github.com/simple-statistics/simple-statistics

simple statistics for node & browser javascript

https://github.com/simple-statistics/simple-statistics

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

javascript math regression statistics

Keywords from Contributors

interactive bioinformatics graph-generation serializer information-retrieval embedded distributed ecology urban-planning mathematics
Last synced: 6 months ago · JSON representation

Repository

simple statistics for node & browser javascript

Basic Info
Statistics
  • Stars: 3,463
  • Watchers: 56
  • Forks: 228
  • Open Issues: 24
  • Releases: 4
Topics
javascript math regression statistics
Created about 14 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct

README.md

Simple Statistics

A JavaScript implementation of descriptive, regression, and inference statistics.

Coverage Status npm version

Implemented in literate JavaScript with no dependencies, designed to work in all modern browsers (including IE) as well as in node.js.

Installation

  • I'm using Node.js, Webpack, Browserify, Rollup, or another module bundler, and install packages from npm.
    • First, install the simple-statistics module, using npm install simple-statistics, then include the code with require or import:
    • I use the require function 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'. The require method returns an object with all of the module's methods attached to it.
      var ss = require('simple-statistics')
    • I use import to 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.
  • 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.
  • 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 ?module query parameter of unpkg. If you specify type='module' in your script tag, you'll be able to import simple-statistics directly - through index.js and 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

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

All Time
  • Total Commits: 826
  • Total Committers: 56
  • Avg Commits per committer: 14.75
  • Development Distribution Score (DDS): 0.414
Past Year
  • Commits: 30
  • Committers: 3
  • Avg Commits per committer: 10.0
  • Development Distribution Score (DDS): 0.4
Top Committers
Name Email 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...

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
bug (1)
Pull Request Labels
dependencies (129) javascript (6) new-feature (1)

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

  • Versions: 75
  • Dependent Packages: 313
  • Dependent Repositories: 6,118
  • Downloads: 1,106,588 Last month
  • Docker Downloads: 16,217
Rankings
Dependent packages count: 0.2%
Dependent repos count: 0.3%
Downloads: 0.3%
Docker downloads count: 0.7%
Average: 0.9%
Stargazers count: 1.6%
Forks count: 2.1%
Maintainers (1)
Last synced: 6 months ago
proxy.golang.org: github.com/simple-statistics/simple-statistics
  • Versions: 67
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.7%
Average: 5.9%
Dependent repos count: 6.0%
Last synced: 6 months ago
deno.land: simplestatistics

simple statistics for node & browser javascript

  • Versions: 9
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 0.6%
Stargazers count: 0.8%
Average: 15.0%
Dependent packages count: 58.5%
Last synced: 6 months ago
deno.land: simplestatistic

simple statistics for node & browser javascript

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 0.0%
Forks count: 0.6%
Stargazers count: 0.8%
Average: 15.0%
Dependent packages count: 58.5%
Last synced: 6 months ago
repo1.maven.org: org.webjars.npm:simple-statistics

WebJar for simple-statistics

  • Versions: 3
  • Dependent Packages: 1
  • Dependent Repositories: 0
Rankings
Stargazers count: 4.9%
Forks count: 9.5%
Average: 19.6%
Dependent repos count: 32.0%
Dependent packages count: 32.0%
Last synced: 6 months ago

Dependencies

benchmarks/package.json npm
  • 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
package.json npm
  • @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
yarn.lock npm
  • 883 dependencies
.github/workflows/nodejs.yml actions
  • actions/checkout v1 composite
  • actions/setup-node v1 composite