Description Usage Arguments Details Value See Also Examples
Density, distribution function, quantile function and random generation for the Beta distribution defined on the [min, max] domain with parameters shape1 and shape2 ( and optional non-centrality parameter ncp).
1 2 3 4 5 6 |
x,q |
Vector of quantiles. |
p |
Vector of probabilities. |
n |
Number of observations. If length(n) > 1, the length is taken to be the number required. |
shape1, shape2 |
Positive parameters of the Beta distribution. |
min |
Vector of minima. |
max |
Vector of maxima. |
ncp |
Non-centrality parameter of the Beta distribution. |
log, log.p |
Logical; if TRUE, probabilities p are given as log(p). |
lower.tail |
Logical; if TRUE (default), probabilities are P[X <= x], otherwise, P[X > x]. |
x ~ betagen(shape1, shape2, min, max, ncp)
if
(x-min)/(max-min)~beta(shape1,shape2,ncp)
These functions use the Beta
distribution functions
after correct parametrisation.
dbetagen gives the density, pbetagen gives the distribution function, qbetagen gives the quantile function, and rbetagen generates random deviates.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.