Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Statistical Distributions
See also: cdfb cdff cdfn cdft pdfb pdfc pdff pdfn pdft qfc qff qfn qft

Function: cdfc
Description: Returns the values of the chi-quare distribution function with d degrees of freedom for the elements of an array.

Usage: z = cdfc (x,d)
Input:
x n x p x d1 x d2 x ... x dn array
d n x p x d1 x d2 x ... x dn array or scalar
Output:
z n x p x d1 x d2 x ... x dn array

Note:

Example:
a=#(0.5, 0.4)~#(0.01, 1)~#(-1,2)
cdfc(a, 6)
setenv("outputformat","%8.5f")
cdfc(a, 6)
setenv("outputformat","%8.5lg")

Result:
Contents of cdfc

[1,] 0.0021616 2.0756e-08        0
[2,] 0.0011485 0.014388 0.080306
Contents of cdfc
[1,]  0.00216  0.00000  0.00000
[2,]  0.00115  0.01439  0.08031



(C) MD*TECH Method and Data Technologies, 05.02.2006