chi-squared-standard
v1.1.1
Published
characteristic functions for chi-squared-standard distributions
Downloads
160
Maintainers
Readme
chi-squared-standard
Characteristic functions for the chi-squared-standard distribution.
example
> var chi = require('chi-squared-standard')
> 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-standard')
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-standard
description
解决chi-squared 插件 with语法报错问题
license
MIT