Density of the beta distribution. Equivalent to R's dbeta(x, shape1, shape2, ncp = 0, log = FALSE).
dbeta(x, shape1, shape2, ncp = 0, log = FALSE)
If ncp is omitted the central distribution is used; otherwise the noncentral beta distribution.
ncp
Value(s) at which to evaluate: a number, number[] or Float64Array. The result has the same shape.
number[]
Float64Array
First shape parameter (a).
Second shape parameter (b).
ncp (see NoncentralOption) and log (see DensityOptions).
log
The density (or log density).
dbeta(0.5, 2, 3); // 1.5dbeta([0.25, 0.75], 2, 3); // [1.6875, 0.5625] Copy
dbeta(0.5, 2, 3); // 1.5dbeta([0.25, 0.75], 2, 3); // [1.6875, 0.5625]
Density of the beta distribution. Equivalent to R's
dbeta(x, shape1, shape2, ncp = 0, log = FALSE).If
ncpis omitted the central distribution is used; otherwise the noncentral beta distribution.