lmomtexp {lmomco} | R Documentation |
L-moments of the Truncated Exponential Distribution
Description
This function estimates the L-moments of the Truncated Exponential distribution. The parameter is the right truncation of the distribution and
is a scale parameter, letting
to match nomenclature of Vogel and others (2008), the L-moments in terms of the parameters, letting
, are
The distribution is restricted to a narrow range of L-CV (). If
, the process represented is a stationary Poisson for which the probability density function is simply the uniform distribution and
. If
, then the distribution is represented as the usual exponential distribution with a location parameter of zero and a scale parameter
. Both of these limiting conditions are supported.
If the distribution shows to be Uniform (), then
,
,
, and
. If the distribution shows to be Exponential (
), then
,
,
and
.
Usage
lmomtexp(para)
Arguments
para |
The parameters of the distribution. |
Value
An R list
is returned.
lambdas |
Vector of the L-moments. First element is
|
ratios |
Vector of the L-moment ratios. Second element is
|
trim |
Level of symmetrical trimming used in the computation, which is |
leftrim |
Level of left-tail trimming used in the computation, which is |
rightrim |
Level of right-tail trimming used in the computation, which is |
source |
An attribute identifying the computational source of the L-moments: “lmomtexp”. |
Author(s)
W.H. Asquith
References
Vogel, R.M., Hosking, J.R.M., Elphick, C.S., Roberts, D.L., and Reed, J.M., 2008, Goodness of fit of probability distributions for sightings as species approach extinction: Bulletin of Mathematical Biology, DOI 10.1007/s11538-008-9377-3, 19 p.
See Also
partexp
, cdftexp
, pdftexp
, quatexp
Examples
set.seed(1) # to get a suitable L-CV
X <- rexp(1000, rate=.001) + 100
Y <- X[X <= 2000]
lmr <- lmoms(Y)
print(lmr$lambdas)
print(lmomtexp(partexp(lmr))$lambdas)
print(lmr$ratios)
print(lmomtexp(partexp(lmr))$ratios)