Library: | distribs |
See also: | cdfn2 pdfn2 cdfb2 pdfb2 cdfbin2 pdfbin2 cdfchi2 pdfchi2 cdff2 pdff2 cdft2 pdft2 |
Quantlet: | cdfchi2 | |
Description: | Cdfchi2 returns the values of the chi-square distribution function with d degrees of freedom for the elements of an array. |
Usage: | y=cdfchi2(x,d) | |
Input: | ||
x | input array | |
d | a scalar or an array of the same dimension as x containing the number of degrees of freedom for chi-square distribution | |
Output: | ||
y | output array, it contains the values of the specified chi-square distribution function for the elements of array x |
library("distribs") a=#(0.5, 0.4)~#(0.01, 1)~#(-1,2) cdfchi2(a, 6)
Contents of y [1,] 0.0021615 2.0755e-08 0 [2,] 0.0011485 0.014388 0.080301