日本語 English
株式会社ヒューリンクス
TEL:03-5642-8384
営業時間:9:00-17:30

chisquareinv

カイ二乗逆累積分布関数です。カイ二乗分布に従う確率変数が戻り値を下回る確率は、指定した引数と等しくなります。

構文

chisquareinv(x, n)

引数 x には、スカラーもしくは範囲として与えられた数値を指定します。x が範囲の場合は、中括弧 {} を使用して定義するか、ワークシートの列を指定して定義する必要があります。x のスカラーは確率を表すので、0 ~ 1 の間の値でなければなりません。引数 n は正の整数で、自由度となります。

  • カイ二乗分布に従う確率変数 X の自由度が 19 であるとします。X の中央値を計算するには、以下の通りになります:chisquareinv(.5,19)= 18.33765

関連情報

chisquareinv

This function is the inverse cumulative chi-square distribution function. The probability that a chi-square distributed random variable is less than the return value is equal to the argument you specify.

Syntax

chisquareinv(x,n)

The x argument can either be a scalar or a range of numbers. If x is a range, then it must be defined by either using braces { } or by specifying a worksheet column. Any scalar value for x represents a probability and so must be between 0 and 1. The n argument can be any positive integer and equals the degrees of freedom.

Example

Suppose a chi-square distributed random variable X has 19 degrees of freedom. To compute the median of X, we calculate:

chisquareinv(.5,19) = 18.33765

関連情報