Learn R Programming

⚠️There's a newer version (2.4.14) of this package.Take me there.

lmomco (version 0.88)

L-moments, Trimmed L-moments, L-comoments, and Many Distributions

Description

The package implements the statistical theory of L-moments including L-moment estimation, probability-weighted moment estimation, parameter estimation for numerous familiar and not-so-familiar distributions, and L-moment estimation for the same distributions from the parameters. L-moments are derived from the expectations of order statistics and are linear with respect to the probability- weighted moments. L-moments are directly analogous to the well-known product moments; however, L-moments have many advantages including unbiasedness, robustness, and consistency with respect to the product moments. This package is oriented around the FORTRAN algorithms of J.R.M. Hosking, and the nomenclature for many of the functions parallels that of the Hosking library. However, numerous extensions are made to aid in expand of the breadth and ease of L-moment application. Much theoretical extension of L-moment theory has occurred in recent years. E.A.H. Elamir and A.H. Seheult have developed the trimmed L-moments, which are implemented in this package. Further, recent developments by Robert Serfling and Peng Xiao have extended L-moments into multivariate space; the so-called sample L-comoments are implemented here. The supported distributions with moment type shown as L (L-moments) or TL (trimmed L-moments) and additional support for right-tail censoring ([RC]) include: Cauchy(TL), Exponential(L), Gamma(L), Generalized Extreme Value(L), Generalized Lambda(L & TL), Generalized Logistic (L), Generalized Normal(L), Generalized Pareto(L[RC] & TL), Gumbel(L), Normal(L), Kappa(L), Pearson Type III(L), Reverse Gumbel(L[RC]), Wakeby(L), and Weibull(L).

Copy Link

Version

Install

install.packages('lmomco')

Monthly Downloads

3,282

Version

0.88

License

GPL

Maintainer

William Asquith

Last Published

May 4th, 2024

Functions in lmomco (0.88)

lmom.test.gam

Test L-moment and Parameter Algorithms of the Gamma Distribution
T2prob

Convert a Vector of T-year Return Periods to Annual Nonexceedance Probabilities
are.pargno.valid

Are the Distribution Parameters Consistent with the Generalized Normal Distribution
lmom2par

Convert L-moments to the the Parameters of a Distribution
is.cau

Is a Distribution Parameter Object Typed as Cauchy
TLmoms

The Sample Trimmed L-moments and L-moment Ratios
Lcomoment.Lk12

Compute a Single Sample L-comoment
Apwm2BpwmRC

Conversion between A- and B-Type Probability-Weighted Moments for Right-Tail Censoring of An Appropriate Distribution
are.pargam.valid

Are the Distribution Parameters Consistent with the Gamma Distribution
lmom.test.kap

Test L-moment and Parameter Algorithms of the Kappa Distribution
are.parglo.valid

Are the Distribution Parameters Consistent with the Generalized Logistic Distribution
lmomgpa

L-moments of the Generalized Pareto Distribution
cdfglo

Cumulative Distribution Function of the Generalized Logistic Distribution
lmom.test.glo

Test L-moment and Parameter Algorithms of the Generalized Logistic Distribution
are.parkap.valid

Are the Distribution Parameters Consistent with the Kappa Distribution
Introduction

Introduction to R library lmoments
cdfgev

Cumulative Distribution Function of the Generalized Extreme Value Distribution
is.gam

Is a Distribution Parameter Object Typed as Gamma
cdfwak

Cumulative Distribution Function of the Wakeby Distribution
are.par.valid

Are the Distribution Parameters Consistent with the Distribution
cdfexp

Cumulative Distribution Function of the Exponential Distribution
cdfpe3

Cumulative Distribution Function of the Pearson Type III Distribution
lmom.test.gum

Test L-moment and Parameter Algorithms of the Gumbel Distribution
is.gev

Is a Distribution Parameter Object Typed as Generalized Extreme Value
lmorph

Morph an L-moment Object
are.parwak.valid

Are the Distribution Parameters Consistent with the Wakeby Distribution
is.exp

Is a Distribution Parameter Object Typed as Exponential
pargld

Estimate the Parameters of the Generalized Lambda Distribution
is.glo

Is a Distribution Parameter Object Typed as Generalized Logistic
lmompe3

L-moments of the Pearson Type III Distribution
are.pargev.valid

Are the Distribution Parameters Consistent with the Generalized Extreme Value Distribution
lmom.test.exp

Test L-moment and Parameter Algorithms of the Exponential Distribution
are.parpe3.valid

Are the Distribution Parameters Consistent with the Pearson Type III Distribution
are.lmom.valid

Are the L-moments valid
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
Bpwm2ApwmRC

Conversion between B- and A-Type Probability-Weighted Moments for Right-Tail Censoring of An Appropriate Distribution
cdfnor

Cumulative Distribution Function of the Normal Distribution
lmomglo

L-moments of the Generalized Logistic Distribution
quaexp

Quantile Function of the Exponential Distribution
is.pe3

Is a Distribution Parameter Object Typed as Pearson Type III
genci

Generate Confidence Intervals for Quantiles of a Parent Distribution
are.pargld.valid

Are the Distribution Parameters Consistent with the Generalized Lambda Distribution
Lcomoment.coefficients

L-comoment Coefficient Matrix
are.parwei.valid

Are the Distribution Parameters Consistent with the Weibull Distribution
lmomgno

L-moments of the Generalized Normal Distribution
are.parrevgum.valid

Are the Distribution Parameters Consistent with the Reverse Gumbel Distribution
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
Lcomoment.Wk

Weighting Coefficient for Sample L-comoment
lmom.ub

Unbiased Sample L-moments by Direct Sample Estimators
lmom.test.gpa

Test L-moment and Parameter Algorithms of the Generalized Pareto Distribution
pwmRC

Sample Probability-Weighted Moments for Right-Tail Censoring
lmom.test.nor

Test L-moment and Parameter Algorithms of the Normal Distribution
cdfgam

Cumulative Distribution Function of the Gamma Distribution
lmom.test.gev

Test L-moment and Parameter Algorithms of the Generalized Extreme Value Distribution
cdfcau

Cumulative Distribution Function of the Cauchy Distribution
lmom.test.wak

Test L-moment and Parameter Algorithms of the Wakeby Distribution
are.parnor.valid

Are the Distribution Parameters Consistent with the Normal Distribution
lmomgum

L-moments of the Gumbel Distribution
par2cdf2

Equivalent Cumulative Distribution Function of Two Distributions
pwm2lmom

Probability-Weighted Moments to L-moments
cdfgpa

Cumulative Distribution Function of the Generalized Pareto Distribution
lmomTLgpa

Trimmed L-moments of the Generalized Pareto Distribution
dist.list

List of Distribution Names
quagam

Quantile Function of the Gamma Distribution
theoTLmoms

The Theoretical Trimmed L-moments and TL-moment Ratios using Integration of the Quantile Function
is.gum

Is a Distribution Parameter Object Typed as Gumbel
pargno

Estimate the Parameters of the Generalized Normal Distribution
parrevgum

Estimate the Parameters of the Reverse Gumbel Distribution
cdfgum

Cumulative Distribution Function of the Gumbel Distribution
lmomkap

L-moments of the Kappa Distribution
lmom.test.gno

Test L-moment and Parameter Algorithms of the Generalized Normal Distribution
plmomco

Cumulative Distribution Function of the Distributions
prob2T

Convert a Vector of Annual Nonexceedance Probabilities to T-year Return Periods
quakap

Quantile Function of the Kappa Distribution
pmoms

The Sample Product Moments: Mean, Standard Deviation, Skew, and Excess Kurtosis
quaglo

Quantile Function of the Generalized Logistic Distribution
Lcomoment.matrix

Compute Sample L-comoment Matrix
is.gno

Is a Distribution Parameter Object Typed as Generalized Normal
parnor

Estimate the Parameters of the Normal Distribution
lmomgpaRC

B-type L-moments of the Generalized Pareto Distribution with Right-Tail Censoring
TLmom

A Sample Trimmed L-moment
are.parexp.valid

Are the Distribution Parameters Consistent with the Exponential Distribution
cdfwei

Cumulative Distribution Function of the Weibull Distribution
lmom.test.all

Test All lmom.CCC.test Functions
lmomrevgum

L-moments of the Reverse Gumbel Distribution
cdfgno

Cumulative Distribution Function of the Generalized Normal Distribution
cdfrevgum

Cumulative Distribution Function of the Reverse Gumbel Distribution
is.wei

Is a Distribution Parameter Object Typed as Weibull
lmomwei

L-moments of the Weibull Distribution
gen.freq.curves

Plot Randomly Generated Frequency Curves from a Parent Distribution
is.kap

Is a Distribution Parameter Object Typed as Kappa
quagno

Quantile Function of the Generalized Normal Distribution
lmom.test.pe3

Test L-moment and Parameter Algorithms of the Pearson Type III Distribution
are.pargum.valid

Are the Distribution Parameters Consistent with the Gumbel Distribution
plotlmrdia

Plot L-moment Ratio Diagram
lmomnor

L-moments of the Normal Distribution
pargpa

Estimate the Parameters of the Generalized Pareto Distribution
pargam

Estimate the Parameters of the Gamma Distribution
parTLgpa

Estimate the Parameters of the Generalized Pareto Distribution using Trimmed L-moments
are.parcau.valid

Are the Distribution Parameters Consistent with the Cauchy Distribution
check.fs

Check Vector of Nonexceedance Probabilities
harmonic.mean

The Harmonic Mean with Zero-Value Correction
freq.curve.all

Compute Frequency Curve for All Distributions
par2cdf

Cumulative Distribution Function of the Distributions
vec2par

Convert a Vector of Parameters to a Parameter Object of a Distribution
is.gld

Is a Distribution Parameter Object Typed as Generalized Lambda
rlmomco

Random Deviates of a Distribution
quawak

Quantile Function of the Wakeby Distribution
parwak

Estimate the Parameters of the Wakeby Distribution
pp

Plotting-Position Formula
is.nor

Is a Distribution Parameter Object Typed as Normal
quape3

Quantile Function of the Pearson Type III Distribution
lmomgev

L-moments of the Generalized Extreme Value Distribution
quagev

Quantile Function of the Generalized Extreme Value Distribution
lmom2pwm

L-moments to Probability-Weighted Moments
parexp

Estimate the Parameters of the Exponential Distribution
lmrdia

L-moment Ratio Diagram Components
lmom.test.wei

Test L-moment and Parameter Algorithms of the Weibull Distribution
parkap

Estimate the Parameters of the Kappa Distribution
pargpaRC

Estimate the Parameters of the Generalized Pareto Distribution with Right-Tail Censoring
quagld

Quantile Function of the Generalized Lambda Distribution
pwm.ub

Unbiased Sample Probability-Weighted Moments
par2qua2

Equivalent Quantile Function of Two Distributions
lmomgld

L-moments of the Generalized Lambda Distribution
lmomwak

L-moments of the Wakeby Distribution
parTLgld

Estimate the Parameters of the Generalized Lambda Distribution using Trimmed L-moments (t=1)
lmoms

The Sample L-moments and L-moment Ratios
parglo

Estimate the Parameters of the Generalized Logistic Distribution
parwei

Estimate the Parameters of the Weibull Distribution
par2qua

Quantile Function of the Distributions
is.revgum

Is a Distribution Parameter Object Typed as Reverse Gumbel
lmomTLgld

Trimmed L-moments (t=1) of the Generalized Lambda Distribution
lmom.diff

Difference Between L-moments of the Distribution and the L-moments of the Data
lmomgam

L-moments of the Gamma Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
quacau

Quantile Function of the Cauchy Distribution
pwm.gev

Generalized Extreme Value Plotting-Position Probability-Weighted Moments
quagpa

Quantile Function of the Generalized Pareto Distribution
pwm

Unbiased Sample Probability-Weighted Moments
quanor

Quantile Function of the Normal Distribution
quarevgum

Quantile Function of the Reverse Gumbel Distribution
quawei

Quantile Function of the Weibull Distribution
theoLmoms

The Theoretical L-moments and L-moment Ratios using Integration of the Quantile Function
vec2TLmom

Convert a Vector of TL-moments to a TL-moment Object
qua2ci

Estimate Confidence Interval for a Single Quantile of a Parent Distribution
lmom.references

Useful References Related to L-moments
parcau

Estimate the Parameters of the Cauchy Distribution
lmomexp

L-moments of the Exponential Distribution
pwm.pp

Plotting-Position Sample Probability-Weighted Moments
are.pargpa.valid

Are the Distribution Parameters Consistent with the Generalized Pareto Distribution
is.gpa

Is a Distribution Parameter Object Typed as Generalized Pareto
lmomcau

Trimmed L-moments of the Cauchy Distribution
qlmomco

Quantile Function of the Distributions
parpe3

Estimate the Parameters of the Pearson Type III Distribution
quagum

Quantile Function of the Gumbel Distribution
vec2pwm

Convert a Vector of Probability-Weighted Moments to a Probability-Weighted Moments Object
is.wak

Is a Distribution Parameter Object Typed as Wakeby
Lcomoment.correlation

L-correlation Matrix (L-correlation through Sample L-comoments)
lmom.test.revgum

Test L-moment and Parameter Algorithms of the Reverse Gumbel Distribution
cdfkap

Cumulative Distribution Function of the Kappa Distribution
nonexceeds

Common Nonexceedance Probabilities
par2lmom

Convert the Parameters of a Distribution to the L-moments
vec2lmom

Convert a Vector of L-moments to a L-moment Object