Library: | distribs |
See also: | cdfncb2 cdfchi2 pdfchi2 cdfncf2 |
Quantlet: | cdfncchi2 | |
Description: | Cdfncchi2 returns the values of the noncentral chi-square distribution function with d degrees of freedom and the parameter of noncentrality l for the elements of an array. |
Usage: | y = cdfncchi2(x, d{, l}) | |
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 | |
l | a scalar or an array of the same dimension as x containing the value for the parameter of noncentrality for noncentral chi-square distribution; if not specified, l = 0 is used | |
Output: | ||
y | output array, it contains the values of the specified noncentral chi-square distribution function for the elements of array x |
library("distribs") a=#(0.5, 0.4)~#(0.01, 1)~#(-1,2) cdfncchi2(a, 6, 2)
Contents of y [1,] 0.00084547 7.645e-09 0 [2,] 0.00044383 0.0059699 0.037238