chi-squared
characteristic functions for chi-squared distributions
Last updated 6 years ago by substack .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install chi-squared 
SYNC missed versions from official npm registry.

chi-squared

Characteristic functions for the chi-squared distribution.

build status

example

> var chi = require('chi-squared')
> chi.pdf(0.5, 1)
0.4393912894677223
> chi.pdf(2.3, 1.4)
0.11695769277348175
> chi.cdf(2, 2)
0.6321204474030797

methods

var chi = require('chi-squared')

chi.pdf(x, k)

Compute the probability density function for the parameter x under k degrees of freedom.

chi.cdf(x, k)

compute the cumulative density function. same parameters as above.

install

With npm do:

npm install chi-squared

license

MIT

Current Tags

  • 1.1.0                                ...           latest (6 years ago)

3 Versions

  • 1.1.0                                ...           6 years ago
  • 1.0.0                                ...           6 years ago
  • 0.0.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 4
This Month 5
Last Day 0
Last Week 5
Last Month 11
Dependencies (1)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |