chiSquareTail関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The upper tail of a chi-square distribution: the chance that a fair die strays at least this far. Worked out from the incomplete gamma function, not approximated by a normal curve.
インポート
import { chiSquareTail } from "@johnmorrisdotca/korokoro";
定義
function chiSquareTail(statistic: number, degrees: number): number
引数
| 名前 | 型 | 説明 |
|---|---|---|
statistic | number | The nonnegative chi-squared statistic. |
degrees | number | The number of degrees of freedom. |
戻り値
number
The upper tail of a chi-square distribution: the chance that a fair die strays at least this far. Worked out from the incomplete gamma function, not approximated by a normal curve.
例
import { chiSquareTail } from "@johnmorrisdotca/korokoro";
console.log(chiSquareTail(0, 5));1出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。