ReversalPowerLaplace: The Power Reversal Laplace Distribution

Description Usage Arguments Details Examples

Description

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

Usage

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

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

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

rrplaplace(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 reversal power Laplace distribution has density

a,

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

Examples

1
2
3
4
drplaplace(1, 1, 3, 4)
prplaplace(1, 1, 3, 4)
qrplaplace(0.2, 1, 3, 4)
rrplaplace(5, 2, 3, 4)

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