Fits the three-parameter Weibull distribution to an xts
series by the method of L-moments. Parameters are obtained in closed
form via pelwei, which matches the sample
L-moment ratios to the theoretical L-moment ratios of the Weibull
distribution. If bound is supplied, the location is fixed to
that value; otherwise all three parameters are free. Zero values
below zero_threshold may be excluded via
ignore_zeros. Goodness-of-fit is assessed via
GOF_tests.
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.