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

Quantlet: rndmixexp
Description: generates a vector of pseudo random variables with mixture of exponentials distributions.

Usage: y = rndmixexp (n, m, alpha, beta1, beta2)
Input:
n integer, number of rows
m integer, number of columns
alpha scalar, parameter of mixture of exponentials distribution
beta1 scalar, parameter of mixture of exponentials distribution
beta2 scalar, parameter of mixture of exponentials distribution
Output:
y n x m matrix, pseudo random numbers

Example:
library("xplore")
library("distribs")
randomize(100)
rndmixexp(3,2,0.2,2,1)

Result:
Contents of y
  [1,]    3.141  0.10592
  [2,]   1.7668   1.3422
  [3,]   2.7053  0.52148



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