Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/arjanfrans/node-ztable

A simple module to convert z-scores to percentiles.
https://github.com/arjanfrans/node-ztable

Last synced: 12 days ago
JSON representation

A simple module to convert z-scores to percentiles.

Awesome Lists containing this project

README

        

# node-ztable
[![NPM](https://nodei.co/npm/ztable.png)](https://www.npmjs.com/package/ztable)

[![Build Status](https://travis-ci.org/arjanfrans/node-ztable.svg?branch=master)](https://travis-ci.org/arjanfrans/node-ztable)
[![Coverage Status](https://coveralls.io/repos/arjanfrans/node-ztable/badge.svg)](https://coveralls.io/r/arjanfrans/node-ztable)

A simple module to convert z-scores to percentiles using the standard normal table. If a z-score is higher than 3.49 or lower than -3.49, it will return 1 or 0 respectively. Example usage:

```Node
var ztable = require('ztable');

var zscore = -1.3452;

console.log(ztable(zscore));
// => 0.0901
```