Free Access Week

Learn Python and AI for free! One week only. No credit card needed.

Ends in:


lmomco (version 2.0.1)

lmom.ub: Unbiased Sample L-moments by Direct Sample Estimators

Description

Unbiased sample L-moments are computed for a vector using the direct sample estimation method as opposed to the use of sample probability-weighted moments. The L-moments are the ordinary L-moments and not the trimmed L-moments (see TLmoms). The mean, L-scale, coefficient of L-variation ($\tau$, LCV, L-scale/mean), L-skew ($\tau_3$, TAU3, L3/L2), L-kurtosis ($\tau_4$, TAU4, L4/L2), and $\tau_5$ (TAU5, L4/L2) are computed. In conventional nomenclature, the L-moments are

λ^1=L1=mean,  λ^2=L2=L-scale,  λ^3=L3=third L-moment,  λ^4=L4=fourth L-moment,  λ^5=L5=fifth L-moment,  τ^=LCV=λ2/λ1=coefficient of L-variation,  τ^3=TAU3=λ3/λ2=L-skew,  τ^4=TAU4=λ4/λ2=L-kurtosis, and τ^5=TAU5=λ5/λ2=not named.

Usage

lmom.ub(x)

Arguments

x
A vector of data values.

Value

  • An R list is returned.
  • L1Arithmetic mean.
  • L2L-scale---analogous to standard deviation.
  • LCVcoefficient of L-variation---analogous to coe. of variation.
  • TAU3The third L-moment ratio or L-skew---analogous to skew.
  • TAU4The fourth L-moment ratio or L-kurtosis---analogous to kurtosis.
  • TAU5The fifth L-moment ratio.
  • L3The third L-moment.
  • L4The fourth L-moment.
  • L5The fifth L-moment.
  • sourceAn attribute identifying the computational source of the L-moments: lmom.ub.

source

The Perl code base of W.H. Asquith

Details

The L-moment ratios ($\tau$, $\tau_3$, $\tau_4$, and $\tau_5$) are the primary higher L-moments for application, such as for distribution parameter estimation. However, the actual L-moments ($\lambda_3$, $\lambda_4$, and $\lambda_5$) are also reported. This implementation of L-moment calculation requires a minimum of five data points. If you want to compute more or fewer L-moments, then see lmoms.

References

Hosking, J.R.M., 1990, L-moments---Analysis and estimation of distributions using linear combinations of order statistics: Journal of the Royal Statistical Society, Series B, vol. 52, p. 105--124.

Hosking, J.R.M., 1996, FORTRAN routines for use with the method of L-moments: Version 3, IBM Research Report RC20525, T.J. Watson Research Center, Yorktown Heights, New York.

Hosking, J.R.M. and Wallis, J.R., 1997, Regional frequency analysis---An approach based on L-moments: Cambridge University Press.

Wang, Q.J., 1996b, Direct sample estimators of L-moments: Water Resources Research, vol. 32, no. 12., pp. 3617--3619.

See Also

lmom2pwm, pwm.ub, pwm2lmom, lmoms, and lmorph

Examples

Run this code
lmr <- lmom.ub(c(123,34,4,654,37,78))
lmorph(lmr)
lmom.ub(rnorm(100))

Run the code above in your browser using DataLab