PROBCHI Function


PROBCHI Function

Returns the probability from a chi-squared distribution

Category: Probability

See: 'CDF Function' on page 418

Syntax

PROBCHI ( x,df <, nc >)

Arguments

x

  • is a numeric random variable.

  • Range: x

df

  • is a numeric degrees of freedom parameter.

  • Range: df > 0

nc

  • is an optional numeric noncentrality parameter.

  • Range: nc

Details

The PROBCHI function returns the probability that an observation from a chi-square distribution, with degrees of freedom df and noncentrality parameter nc , is less than or equal to x . This function accepts a noninteger degrees of freedom parameter df . If the optional parameter nc is not specified or has the value 0, the value returned is from the central chi-square distribution.

Examples

SAS Statements

Results

x=probchi(11.264,11);

0.5785813293




SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
SAS 9.1 Language Reference Dictionary, Volumes 1, 2 and 3
ISBN: N/A
EAN: N/A
Year: 2004
Pages: 704

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net