【文件属性】:
文件名称:chisquare-cdf:卡方分布累积分布函数(CDF)
文件大小:57KB
文件格式:ZIP
更新时间:2021-05-19 08:26:07
JavaScript
累积分布函数
分布。
随机变量的为
其中k是*度, P是下正则化函数。
安装
$ npm install distributions-chisquare-cdf
要在浏览器中使用,请使用 。
用法
var cdf = require ( 'distributions-chisquare-cdf' ) ;
cdf(x [,选项])
计算分布的累积分布函数。 x可以是number , array ,typed array或matrix 。
var matrix = require ( 'dstructs-matrix' ) ,
mat ,
out ,
x ,
i ;
out = cdf ( 1 ) ;
// returns ~0.682
x = [ - 1 , 0 , 1 , 2 , 3 ] ;
out = cdf ( x ) ;
// returns [ 0, 0,
【文件预览】:
chisquare-cdf-master
----.jshintrc(1KB)
----.gitattributes(12B)
----.jshintignore(118B)
----lib()
--------validate.js(3KB)
--------partial.js(748B)
--------typedarray.js(952B)
--------deepset.js(1KB)
--------accessor.js(1KB)
--------matrix.js(777B)
--------index.js(3KB)
--------array.js(917B)
--------number.js(509B)
----.npmignore(498B)
----examples()
--------index.js(1KB)
----TODO.md(12B)
----.travis.yml(356B)
----LICENSE(1KB)
----test()
--------test.partial.js(1KB)
--------test.validate.js(3KB)
--------fixtures()
--------test.js(10KB)
--------test.typedarray.js(1KB)
--------test.accessor.js(2KB)
--------test.matrix.js(2KB)
--------test.number.js(1KB)
--------test.array.js(1KB)
--------test.deepset.js(2KB)
----README.md(9KB)
----Makefile(2KB)
----docs()
--------img()
----.editorconfig(169B)
----.gitignore(711B)
----package.json(2KB)