All Projects → simple-statistics → Stream Statistics

simple-statistics / Stream Statistics

Licence: bsd-3-clause
streaming statistical calculations for node

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Stream Statistics

Benchee
Easy and extensible benchmarking in Elixir providing you with lots of statistics!
Stars: ✭ 971 (+1545.76%)
Mutual labels:  statistics
Touchbar Systemmonitor
A better simple reactive system monitor on macOS for your MacBook pro. Built with Electron.
Stars: ✭ 45 (-23.73%)
Mutual labels:  statistics
Lhsmdu
This is an implementation of Deutsch and Deutsch, "Latin hypercube sampling with multidimensional uniformity", Journal of Statistical Planning and Inference 142 (2012) , 763-772
Stars: ✭ 54 (-8.47%)
Mutual labels:  statistics
Outlier Utils
Utility library for detecting and removing outliers from normally distributed datasets using the Smirnov-Grubbs test.
Stars: ✭ 35 (-40.68%)
Mutual labels:  statistics
Promcord
📊 Analyze your entire discord guild in grafana using prometheus. Message, User, Game and Voice statistics...
Stars: ✭ 39 (-33.9%)
Mutual labels:  statistics
Datumbox Framework
Datumbox is an open-source Machine Learning framework written in Java which allows the rapid development of Machine Learning and Statistical applications.
Stars: ✭ 1,063 (+1701.69%)
Mutual labels:  statistics
Uc Davis Cs Exams Analysis
📈 Regression and Classification with UC Davis student quiz data and exam data
Stars: ✭ 33 (-44.07%)
Mutual labels:  statistics
Statistic Study Notes
李航统计学习方法(第二版)的学习笔记,包括:1、每章重点公式的手动推导 2、每章算法的Python自实现 3、学习过程中的笔记与心得 4、每章节的课后习题 5、每周都会按照至少一周一章的进度定时将自己的学习进度更新到这个仓库
Stars: ✭ 57 (-3.39%)
Mutual labels:  statistics
Discord Global Mutual
Get the list of people that you have shared servers with
Stars: ✭ 39 (-33.9%)
Mutual labels:  statistics
Thot
Thot toolkit for statistical machine translation
Stars: ✭ 53 (-10.17%)
Mutual labels:  statistics
Helioml
A book about machine learning, statistics, and data mining for heliophysics
Stars: ✭ 36 (-38.98%)
Mutual labels:  statistics
Statzone
DNS zone file analyzer targeted at TLD zones
Stars: ✭ 38 (-35.59%)
Mutual labels:  statistics
Ppd599
USC urban data science course series with Python and Jupyter
Stars: ✭ 1,062 (+1700%)
Mutual labels:  statistics
Statistics
A stab at a very simple statistics class for Objective-C
Stars: ✭ 34 (-42.37%)
Mutual labels:  statistics
Pycm
Multi-class confusion matrix library in Python
Stars: ✭ 1,076 (+1723.73%)
Mutual labels:  statistics
Clistats
A command line interface tool to compute statistics from a file or the command line.
Stars: ✭ 33 (-44.07%)
Mutual labels:  statistics
Hoggorm
Explorative multivariate statistics in Python
Stars: ✭ 44 (-25.42%)
Mutual labels:  statistics
Matlabstan
Matlab interface to Stan, a package for Bayesian inference
Stars: ✭ 59 (+0%)
Mutual labels:  statistics
Lifetimes
Lifetime value in Python
Stars: ✭ 1,082 (+1733.9%)
Mutual labels:  statistics
25daysinmachinelearning
I will update this repository to learn Machine learning with python with statistics content and materials
Stars: ✭ 53 (-10.17%)
Mutual labels:  statistics

Build Status

stream-statistics

Install

npm install stream-statistics

API

This module exposes a single function that creates a stream. The stream reads data, which it parses with parseFloat(), and computes statistics on that data. When the input stream ends, stream-statistics emits the data object.

The statistics object has the following members:

  • min
  • max
  • sum
  • mean
  • mode
  • variance
  • standard_deviation
  • geometric_mean
  • harmonic_mean

mode computation expects the stream to deliver numbers in sorted lowest-first order, and will return undefined if that expectation is not met.

Use

var streamStatistics = require('stream-statistics'),
    assert = require('assert');

function rangeStream(a, b) {
    var rs = new Readable({ objectMode: true });
    for (var i = 10; i < 1000; i++) { rs.push(i); }
    rs.push(null);
    return rs;
}

rangeStream(10, 1000).pipe(streamStatistics())
    .on('data', function(d) {
        assert.equal(d.min, 10);
    });

cli

This also provides a binary, sstatistics, that you can get if you npm install -g the library. Pipe numbers into it and it'll return a basic set of stats about its input.

Documentation

See Also

  • The sister project, simple-statistics, that implements many of the same measures in straightforward and literate fashion
  • streaming-k-means implements k-means clustering in an online fashion
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].