Library: | distribs |
See also: | pdfPareto cdfPareto |
Quantlet: | rndPareto | |
Description: | generates a vector of pseudo random variables with Pareto distribution. |
Usage: | y = rndPareto (n, m, alpha, lambda) | |
Input: | ||
n | integer, number of rows | |
m | integer, number of columns | |
alpha | scalar, parameter of Pareto distribution | |
lambda | scalar, parameter of Pareto distribution | |
Output: | ||
y | n x m matrix, pseudo random numbers |
library("xplore") library("distribs") randomize(100) rndPareto(3,2,3/2,1/2)
Contents of y [1,] 3.5587 0.10743 [2,] 1.1238 0.72342 [3,] 2.5356 0.091276