Library: | distribs |
See also: | pdfgamma cdfn2 pdfn2 cdfb2 pdfb2 cdfbin2 pdfbin2 cdfchi2 pdfchi2 cdff2 pdff2 cdft2 pdft2 |
Quantlet: | cdfgamma | |
Description: | returns the values of the Gamma distribution function with parameters a and b for the elements of an array. |
Usage: | y=cdfgamma(x,a,b) | |
Input: | ||
x | input array | |
a | a scalar or an array of the same dimension as x containing the shape parameter a for the Gamma distribution | |
b | a scalar or an array of the same dimension as x containing the scale parameter b for the Gamma distribution | |
Output: | ||
y | output array, it contains the values of the Gamma distribution function for the elements of array x |
library("distribs") x=#(0.5, 0.4)~#(0.01, 1)~#(-1,2) cdfgamma(x, 0.5, 2.0)
Contents of y [1,] 0.5205 0.079656 0 [2,] 0.47291 0.68269 0.8427