dAsymLaplace: Asymmetric Laplace Distribution

dAsymLaplaceR Documentation

Asymmetric Laplace Distribution

Description

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

Usage

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


nimbleCarbon documentation built on Aug. 14, 2023, 5:08 p.m.