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: 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

Note:

Example:
library("distribs")
x=#(0.5, 0.4)~#(0.01, 1)~#(-1,2)
cdferlang(x,5,2.0)

Result:
Contents of y
[1,]  6.6117e-06  2.5933e-14        0
[2,]  2.2582e-06  0.00017212  0.0036598



Author: M. Stehlik, 20020520 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006