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

Quantlet: rndln
Description: generates a vector of pseudo random variables with lognormal distribution.

Usage: y = rndln (n, m, mu, sigma)
Input:
n integer, number of rows
m integer, number of columns
mu scalar, parameter of lognormal distribution (mu, sigma)
sigma scalar, parameter of lognormal distribution (mu, sigma)
Output:
y n x m matrix, pseudo random numbers

Example:
library("xplore")
library	("distribs")
randomize(100)
rndln(3,2,3/4,4/3)

Result:
Contents of y
[1,]   2.2742  0.80214
[2,]   1.8668   7.2279
[3,]   6.5443   2.1315



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