Library: | distribs |
See also: | pdfWeibull cdfWeibull |
Quantlet: | rndWeibull | |
Description: | generates a vector of pseudo random variables with Weibull distribution. |
Usage: | y = rndWeibull (n, m, beta, tau) | |
Input: | ||
n | integer, number of rows | |
m | integer, number of columns | |
beta | scalar, parameter of Weibull distribution | |
tau | scalar, parameter of Weibull distribution | |
Output: | ||
y | n x m matrix, pseudo random numbers |
library("xplore") library("distribs") randomize(100) rndWeibull(3,2,4,3)
[1,] 0.92258 0.41791 [2,] 0.76158 0.69489 [3,] 0.87778 0.39765