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

Library: distribs
See also: cdfn2 pdfn2 cdfb2 pdfb2 cdfbin2 pdfbin2 cdfchi2 pdfchi2 cdff2 pdff2 cdft2 pdft2

Quantlet: pdfchi2
Description: Pdfchi2 returns the values of the density function of the chi-square distribution with d degrees of freedom for the elements of an array.

Usage: y=pdfchi2(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 density function the chi-square distribution for the elements of array x

Note:

Example:
library("distribs")
pdfchi2(3.5, 6)

Result:
Contents of y
[1,]  0.13305



Author: P. Cizek, 20000926
(C) MD*TECH Method and Data Technologies, 05.02.2006