PowerLaplace: The Power Laplace Distribution

Description Usage Arguments Details Examples

Description

Density, distribution function, quantile function and random generation for the power Laplace distribution with parameters mu, sigma and lambda.

Usage

1
2
3
4
5
6
7
8
9
dplaplace(x, lambda = 1, mu = 0, sigma = 1, log = FALSE)

pplaplace(q, lambda = 1, mu = 0, sigma = 1, lower.tail = TRUE,
  log.p = FALSE)

qplaplace(p, lambda = 1, mu = 0, sigma = 1, lower.tail = TRUE,
  log.p = FALSE)

rplaplace(n, lambda = 1, mu = 0, sigma = 1)

Arguments

x, q

vector of quantiles.

lambda

shape parameter.

mu, sigma

location and scale parameters.

log, log.p

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

lower.tail

logical; if TRUE (default), probabilities are P[X ≤ x ], otherwise, P[X > x].

p

vector of probabilities.

n

number of observations.

Details

The power Laplace distribution has density

b, where -∞<μ<∞ is the location paramether, σ^2>0 the scale parameter and λ>0 the shape parameter.

Examples

1
2
3
4
dplaplace(1, 1, 3, 4)
pplaplace(1, 1, 3, 4)
qplaplace(0.2, 1, 3, 4)
rplaplace(5, 2, 3, 4)

powdist documentation built on May 1, 2019, 10:11 p.m.