CDF Chi Square Distribution Function
Returns a value from the Chi-square cumulative probability distribution.
| Category: | Probability |
|---|
Syntax
Arguments
x
is a numeric constant, variable, or expression that specifies a random variable.
df
is a numeric constant, variable, or expression that specifies a degrees of freedom parameter.
| Range | df > 0 |
|---|
nc
is a numeric constant, variable, or expression that specifies an optional noncentrality parameter.
| Range | nc ≥ 0 |
|---|
Details
The CDF function for
the chi-square distribution returns the probability that an observation
from a chi-square distribution, with df degrees
of freedom and the noncentrality parameter nc,
is less than or equal to x.
This function accepts noninteger degrees of freedom. If nc is
omitted or equal to 0, the value returned is from the central chi-square
distribution. In the following equation, let
and let
. The following equation describes the CDF function
of the chi-square distribution:
In the equation, Pc(.,.) denotes the probability from the central chi-square distribution:
In the equation, Pg(y,b) is the probability from the gamma distribution given by the equation:
Example
data one;
y=cdf('CHISQ', 11.264, 11);
put y=;
run;
The preceding statements produce this result:
y=0.57858


