The mean-precision beta regression parametrization of Ferrari and
Cribari-Neto (2004), used throughout as the comparison marginal distribution.
Usage
dbetamp(y, mu, phi, log = FALSE)
Arguments
- y
Numeric vector in (0, 1).
- mu
Numeric vector, the mean, in (0, 1).
- phi
Numeric vector, the precision parameter, > 0.
- log
Logical; if TRUE, the log-density is returned.
Value
Numeric vector of (log-)densities.