Fits the two-parameter Exponential distribution to an xts
series by the method of L-moments. If bound is supplied, the
location is fixed to that value and the scale is derived from the
second L-moment; otherwise both parameters are obtained from
pelexp. Zero values below zero_threshold
may be excluded via ignore_zeros. Goodness-of-fit is assessed
via GOF_tests, and theoretical L-moments are computed from the
fitted parameters for comparison with the sample.
Arguments
- x
An xts object containing the time series data.
- bound
Numeric or
NULL. Optional fixed lower bound (location). DefaultNULL.- ignore_zeros
Logical. If
TRUE, values belowzero_thresholdare excluded. DefaultFALSE.- zero_threshold
Numeric. Threshold below which values are treated as zero. Default
0.01.