powered by
Computes the PDF of the Extended Asymmetric Laplace (exAL) distribution. Vectorized over x.
x
dexal(x, p0 = 0.5, mu = 0, sigma = 1, gamma = 0, log = FALSE)
Numeric vector of densities (same length as x).
Numeric vector of quantiles.
Probability level used in the quantile parametrization. Scalar in (0, 1). Default 0.5.
0.5
Location parameter (scalar). Default 0.
0
Scale parameter (scalar, strictly positive). Default 1.
1
Skewness parameter controlling asymmetry (scalar). Must be within valid bounds implied by p0. Default 0.
p0
Logical scalar; if TRUE return log-density. Default FALSE.
TRUE
FALSE
dexal(0) dexal(1, p0 = 0.75, mu = 0, sigma = 2, gamma = 0.25) dexal(seq(-3, 3, by = 0.1), p0 = 0.3, mu = 0, sigma = 1, gamma = -0.45)
Run the code above in your browser using DataLab