ddweibull: Internal function: double (reflected) Weibull density

View source: R/familyPrior.R

ddweibullR Documentation

Internal function: double (reflected) Weibull density

Description

Wrapper around dweibull to use the parametrization on pp. 131 of \insertCitemagnus2016wals;textualWALS.

Usage

ddweibull(x, q, b, log = FALSE)

Arguments

x

vector of quantiles.

q

q in \insertCitemagnus2016wals;textualWALS. Parameter of reflected generalized gamma distribution. See below for details.

b

c in \insertCitemagnus2016wals;textualWALS. Parameter of reflected generalized gamma distribution. See below for details.

log

logical; if TRUE, probabilities p are given as log(p).

Details

The density function is

\pi(x) = \frac{q c}{2} |x|^{q - 1} \exp(-c |x|^{q}).

Value

Gives the (log-)density.

References

\insertAllCited

See Also

weibull, dweibull.


WALS documentation built on June 22, 2024, 9:42 a.m.

Related to ddweibull in WALS...