jStat는 통계 함수의 네이티브 자바 스크립트 구현을 제공합니다.
자세한 내용은 문서에서 확인할 수 있습니다. jStat는 weibull, cauchy, poisson, hypergeometric 및 beta 분포를 포함하여 대부분의 라이브러리보다 더 많은 기능을 제공합니다. 대부분의 분포에 대해 jStat는 pdf, cdf, 역, 평균, 모드, 분산 및 샘플 함수를 제공하므로 더 복잡한 계산이 가능합니다.
https://github.com/jstat/jstat
<script src="components/jstat.js"></script> <!-- include jStat, from the CDN or otherwise -->
<script>
...
var jstat = this.jStat(dataset); // jStat will be added to the window
...
data[i]['cum'] = jstat.normal(jstat.mean(), jstat.stdev()).cdf(data[i].x);
...
</script>
등록된 댓글이 없습니다.