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

Quantlet: rndexp
Description: generates a vector of pseudo random variables with exponential distribution.

Usage: y = rndexp (n, m, beta)
Input:
n integer, number of rows
m integer, number of columns
beta scalar, parameter of exponential distribution
Output:
y n x m matrix, pseudo random numbers

Example:
library("xplore")
library("distribs")
randomize(100)
rndexp(3,2,22/7)

Result:
Contents of y
[1,]  0.99941  0.092894
[2,]  0.56218  0.42706
[3,]  0.86078  0.080026



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