Description Usage Arguments Details References
Generate from a weibull distribution using a gpu.
1 |
n |
The number of values to generate |
shape, scale |
Parameters for weibull random variables. |
seed |
Seed for the random number generation. |
type |
'double' or 'float' |
We use the cuRAND uniform generator together with the fact that if X \sim U(0, 1) then
Y = ≤ft[ -β^α \log≤ft(1-X\right) \right]^{\frac{1}{α}} \sim Weibull(α, β)
Casella, G. and Berger, R.L., 2002. Statistical inference (Vol. 2). Pacific Grove, CA: Duxbury.
Rizzo, M.L., 2007. Statistical computing with R. Chapman and Hall/CRC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.