Statistics Toolbox
  Go to function:
    Search    Help Desk 
chi2cdf    Examples

Chi-square (2) cumulative distribution function (cdf).

Syntax

Description

chi2cdf(X,V) computes the 2 cdf with parameter V at the values in X. The arguments X and V must be the same size except that a scalar argument functions as a constant matrix of the same size as the other argument.

The degrees of freedom,V, must be a positive integer.

The 2 cdf is:


The result, p, is the probability that a single observation from the 2 distribution with degrees of freedom, , will fall in the interval [0 x].

The 2 density function with n degrees of freedom is the same as the gamma density function with parameters n/2 and 2.

Examples



[ Previous | Help Desk | Next ]