hlaplace: Log Hazard Function for a Laplace Process

Description Usage Arguments Author(s) See Also Examples

Description

These functions provide information about the Laplace distribution with location parameter equal to m and dispersion equal to s: log hazard. (See 'rmutil' for the d/p/q/r boxcox functions density, cumulative distribution, quantiles, and random generation).

The Laplace distribution has density

f(y) = exp(-abs(y-m)/s)/(2*s)

where m is the location parameter of the distribution and s is the dispersion.

Usage

1
hlaplace(y, m=0, s=1)

Arguments

y

vector of responses.

m

vector of location parameters.

s

vector of dispersion parameters.

Author(s)

J.K. Lindsey

See Also

dexp for the exponential distribution and dcauchy for the Cauchy distribution.

Examples

1
hlaplace(5, 2, 1)

event documentation built on May 2, 2019, 4:07 a.m.