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