Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxgfr/gaussian-helper

A simple tool to help you with Gaussian calculations
https://github.com/maxgfr/gaussian-helper

gaussian gaussian-distribution gaussian-helper gaussian-processes javascript nodejs typescript

Last synced: 7 days ago
JSON representation

A simple tool to help you with Gaussian calculations

Awesome Lists containing this project

README

        

# gaussian-helper

A simple tool to help you with Gaussian calculations.

## Installation

```bash
yarn add gaussian-helper
```

## Usage

```ts
import { getMedian, getMean, getStandardDeviation } from 'gaussian-helper';

const values = [10, 2, 3, 4, 5];

const median = getMedian(values); // 4
const mean = getMean(values); // 4.800000000000001
const standardDeviation = getStandardDeviation([1, 2, 3, 4, 5]); // 1.4142135623730951
```