Random values generation from some univariate distributions defined on the (0,1) interval | R Documentation |
(0,1)
interval
Random values generation from some univariate distributions defined on the (0,1)
interval.
rbeta1(n, a)
runitweibull(n, a, b)
rlogitnorm(n, m, s, fast = FALSE)
n |
The sample size, a numerical value. |
a |
The shape parameter of the beta distribution. In the case of the unit Weibull, this is the shape parameter. |
b |
This is the scale parameter for the unit Weibull distribution. |
m |
The mean of the univariate normal in |
s |
The standard deviation of the univariate normal in |
fast |
If you want a faster generation set this equal to TRUE. This will use the Rnorm() function from the Rfast package. However, the speed is only observable if you want to simulate at least 500 (this number may vary among computers) observations. The larger the sample size the higher the speed-up. |
The function genrates random values from the Be(a, 1), the unit Weibull or the univariate logistic normal distribution.
A vector with the simulated data.
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
beta.est, colbeta.est, rdiri
x <- rbeta1(100, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.