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

Quantlet: pdfmixexp
Description: returns the values of the probability density function of the mixture of exponentials distributions with parameters alpha, beta1 and beta2 for the elements of an array.

Usage: y = pdfmixexp (x, alpha, beta1, beta2 {, control})
Input:
x array, input arguments
alpha scalar, parameter from mixture of exponentials distribution
beta1 scalar, parameter from mixture of exponentials distribution
beta2 scalar, parameter from mixture of exponentials distribution
control scalar, optional, if distribution parameters are out of the range: either error message is displayed (if control=0 - default) or values close to the boundary are used (if control<>0)
Output:
y array, pdf values

Example:
library("xplore")
library("distribs")
pdfmixexp(#(0.1,0.7)~#(1,-1),0.2,2,1)

Result:
Contents of pdfmixexp
[1,]   1.0514  0.34844
[2,]  0.49591        0



Author: A. Misiorek, 20041120 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006