dAsymLaplace function

Asymmetric Laplace Distribution

Asymmetric Laplace Distribution

Density, distribution function, quantile function, and random generation for a Asymmetric Laplace Distribution.

dAsymLaplace(x, mu, sigma, tau, log) rAsymLaplace(n, mu, sigma, tau) pAsymLaplace(q, mu, sigma, tau, lower.tail = 1, log.p = 0) qAsymLaplace(p, mu, sigma, tau, lower.tail = 1, log.p = 0)

Arguments

  • x: value to be computed.
  • mu: location parameter.
  • sigma: scale parameter.
  • tau: asymmetry parameter.
  • log, log.p: TRUE or 1 to return log probability. FALSE or 0 to return probability.
  • n: number of random draws. Currently only n = 1 is supported, but the argument exists for standardization of "r" functions.
  • q: quantile to be computed.
  • lower.tail: logical; if TRUE (default), probabilities are P[X <= x] otherwise, P[X > x].
  • p: probability to be computed.

Author(s)

Enrico Crema

  • Maintainer: Enrico Crema
  • License: GPL (>= 2)
  • Last published: 2023-08-14

Useful links