confidence95
v1.0.0
Published
Given a list of numbers returns the 95% confidence interval.
Maintainers
Readme
confidence95
Given a list of numbers calculates the 95% confidence interval.
Motivation
Found myself writing the same script to calculate the confidence interval for various lists time and time again. This should mitigate that problem.
Using NPM for simple installs and possible updates.
Install
npm install -g confidence95CLI Usage
~ confidence95 12 13 15
13.333333333333334 +/- 1.4113353846904737API Usage
var confidence95 = require('confidence95');
var conf = confidence95([12 13 15]);
/*
conf = {
mean: 13.333333333333334,
std: 1.247219128924647,
interval: 1.4113353846904737
}
*/