# ReversalPowerExponentialPower: The Reversal Power Exponential Power Distribution In powdist: Power and Reversal Power Distributions

## Description

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

## Usage

 ```1 2 3 4 5 6 7 8 9``` ```drpexpow(x, lambda = 1, mu = 0, sigma = 1, k = 0, log = FALSE) prpexpow(q, lambda = 1, mu = 0, sigma = 1, k = 0, lower.tail = TRUE, log.p = FALSE) qrpexpow(p, lambda = 1, mu = 0, sigma = 1, k = 0, lower.tail = TRUE, log.p = FALSE) rrpexpow(n, lambda = 1, mu = 0, sigma = 1, k = 0) ```

## Arguments

 `x, q` vector of quantiles. `mu, sigma` location and scale parameters. `k, lambda` shape 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 exponential power distribution has density

f(x)=[λ/σ][f((x-μ)/σ)][F((x-μ)/σ)] ^(λ-1),

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

## Examples

 ```1 2 3 4``` ```drpexpow(1, 1, 3, 4, 1) prpexpow(1, 1, 3, 4, 1) qrpexpow(0.2, 1, 3, 4, 1) rrpexpow(5, 2, 3, 4, 1) ```

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