confidence95

1.0.0 • Public • Published

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 confidence95

CLI Usage

~ confidence95 12 13 15
13.333333333333334 +/- 1.4113353846904737

API Usage

var confidence95 = require('confidence95');
var conf = confidence95([12 13 15]);
/*
conf = {
  mean: 13.333333333333334,
  std: 1.247219128924647,
  interval: 1.4113353846904737
}
*/

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    115
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    115

Package Sidebar

Install

npm i confidence95

Weekly Downloads

114

Version

1.0.0

License

MIT

Last publish

Collaborators

  • antonklava