pdflap: Probability Density Function of the Laplace Distribution

Description Usage Arguments Value Author(s) References See Also Examples

Description

This function computes the probability density of the Laplace distribution given parameters (ξ and α) computed by parlap. The probability density function is

f(x) = (2α)^{-1} \exp(Y)\mbox{,}

where Y is

Y = ≤ft(\frac{-|x - ξ|}{α}\right)\mbox{.}

Usage

1
pdflap(x, para)

Arguments

x

A real value vector.

para

The parameters from parlap or vec2par.

Value

Probability density (f) for x.

Author(s)

W.H. Asquith

References

Hosking, J.R.M., 1986, The theory of probability weighted moments: IBM Research Report RC12210, T.J. Watson Research Center, Yorktown Heights, New York.

See Also

cdflap, qualap, lmomlap, parlap

Examples

1
2
3
4
  lmr <- lmoms(c(123,34,4,654,37,78))
  lap <- parlap(lmr)
  x <- qualap(0.5,lap)
  pdflap(x,lap)

lmomco documentation built on March 14, 2020, 5:06 p.m.