Learn R Programming

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

lmomco (version 1.3.3)

L-moments, Trimmed L-moments, L-comoments, Censored L-moments, 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; choice of either can be made by mathematical convenience. 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. The method of L-moments can out perform the method of maximum likelihood. The lmomco package historically is oriented around canonical FORTRAN algorithms of J.R.M. Hosking, and the nomenclature for many of the functions parallels that of the Hosking library, which later became available in the lmom package. However, vast arrays of various extensions and curiosities are added by the author to aid and expand of the breadth of L-moment application. Such extensions include venerable statistics as Sen weighted mean, Gini mean difference, plotting positions, and conditional probability adjustment. Much extension of L-moment theory has occurred in recent years, including extension of L-moments into right-tail and left-tail censoring by known or unknown censoring threshold and also by indicator variable. E.A.H. Elamir and A.H. Seheult have developed the trimmed L-moments, which are implemented in this package. Further, Robert Serfling and Peng Xiao have extended L-moments into multivariate space; the so-called sample L-comoments are implemented here and might have considerable application in copula theory because they measure asymmetric correlation and higher co-moments. 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), Kappa (L), Kumaraswamy (L), Normal (L), 3-parameter log-Normal (L), Pearson Type III (L), Rayleigh (L), Reverse Gumbel (L[RC]), Rice/Rician (L), Truncated Exponential (L), Wakeby (L), and Weibull (L).

Copy Link

Version

Install

install.packages('lmomco')

Monthly Downloads

9,352

Version

1.3.3

License

GPL

Maintainer

William Asquith

Last Published

April 4th, 2011

Functions in lmomco (1.3.3)

Bpwm2ApwmRC

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

The Sample Trimmed L-moments and L-moment Ratios
are.pargno.valid

Are the Distribution Parameters Consistent with the Generalized Normal Distribution
Lcomoment.correlation

L-correlation Matrix (L-correlation through Sample L-comoments)
are.pargum.valid

Are the Distribution Parameters Consistent with the Gumbel Distribution
USGSsta08167000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 08167000
are.pargld.valid

Are the Distribution Parameters Consistent with the Generalized Lambda Distribution
Apwm2BpwmRC

Conversion between A- and B-Type Probability-Weighted Moments for Right-Tail Censoring of An Appropriate Distribution
freq.curve.all

Compute Frequency Curve for All Distributions
Lcomoment.coefficients

L-comoment Coefficient Matrix
Lcomoment.Wk

Weighting Coefficient for Sample L-comoment
are.lmom.valid

Are the L-moments valid
are.parrevgum.valid

Are the Distribution Parameters Consistent with the Reverse Gumbel Distribution
DrillBitLifetime

Lifetime of Drill Bits
cdfkap

Cumulative Distribution Function of the Kappa Distribution
cdfgpa

Cumulative Distribution Function of the Generalized Pareto Distribution
amarilloprecip

Annual Maximum Precipitation Data for Amarillo, Texas
USGSsta14321000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 14321000
IRSrefunds.by.state

U.S.~Internal Revenue Service Refunds by State for Fiscal Year 2006
USGSsta06766000dvs

Daily Mean Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 06766000
are.pargpa.valid

Are the Distribution Parameters Consistent with the Generalized Pareto Distribution
USGSsta08190000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 08190000
Introduction

Introduction to R library lmoments
cdftexp

Cumulative Distribution Function of the Truncated Exponential Distribution
lmom.test.ray

Test L-moment and Parameter Algorithms of the Rayleigh Distribution
USGSsta01515000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 01515000
is.wei

Is a Distribution Parameter Object Typed as Weibull
is.nor

Is a Distribution Parameter Object Typed as Normal
lmomgpaRC

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

L-moments of the Reverse Gumbel Distribution
is.ln3

Is a Distribution Parameter Object Typed as 3-Parameter Log-Normal
cdfglo

Cumulative Distribution Function of the Generalized Logistic Distribution
cdfgev

Cumulative Distribution Function of the Generalized Extreme Value Distribution
are.parexp.valid

Are the Distribution Parameters Consistent with the Exponential Distribution
lmomrice

L-moments of the Rice Distribution
are.parglo.valid

Are the Distribution Parameters Consistent with the Generalized Logistic Distribution
is.pe3

Is a Distribution Parameter Object Typed as Pearson Type III
cdfray

Cumulative Distribution Function of the Rayleigh Distribution
Lcomoment.Lk12

Compute a Single Sample L-comoment
are.parnor.valid

Are the Distribution Parameters Consistent with the Normal Distribution
cdfnor

Cumulative Distribution Function of the Normal Distribution
lmomgam

L-moments of the Gamma Distribution
are.parwak.valid

Are the Distribution Parameters Consistent with the Wakeby Distribution
cdfpe3

Cumulative Distribution Function of the Pearson Type III Distribution
are.parcau.valid

Are the Distribution Parameters Consistent with the Cauchy Distribution
is.gno

Is a Distribution Parameter Object Typed as Generalized Normal
genci

Generate Confidence Intervals for Quantiles of a Parent Distribution
cdfrevgum

Cumulative Distribution Function of the Reverse Gumbel Distribution
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
are.partexp.valid

Are the Distribution Parameters Consistent with the Truncated Exponential Distribution
USGSsta08151500peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 08151500
claudeprecip

Annual Maximum Precipitation Data for Claude, Texas
is.gam

Is a Distribution Parameter Object Typed as Gamma
lmom.test.all

Test All lmom.CCC.test Functions
hmomco

Hazard Functions of the Distributions
lmomgno

L-moments of the Generalized Normal Distribution
is.wak

Is a Distribution Parameter Object Typed as Wakeby
pwmRC

Sample Probability-Weighted Moments for Right-Tail Censoring
pwm2lmom

Probability-Weighted Moments to L-moments
is.gum

Is a Distribution Parameter Object Typed as Gumbel
parln3

Estimate the Parameters of the 3-Parameter Log-Normal Distribution
dlmomco

Probability Density Function of the Distributions
are.parkap.valid

Are the Distribution Parameters Consistent with the Kappa Distribution
clearforkporosity

Porosity Data
pmoms

The Sample Product Moments: Mean, Standard Deviation, Skew, and Excess Kurtosis
are.parln3.valid

Are the Distribution Parameters Consistent with the 3-Parameter Log-Normal Distribution
gini.mean.diff

Gini Mean Difference Statistic
is.cau

Is a Distribution Parameter Object Typed as Cauchy
cdfgno

Cumulative Distribution Function of the Generalized Normal Distribution
are.parkur.valid

Are the Distribution Parameters Consistent with the Kumaraswamy Distribution
is.texp

Is a Distribution Parameter Object Typed as Truncated Exponential
expect.max.ostat

Compute the Expection of a Maximum Order Statistic (or others)
are.par.valid

Are the Distribution Parameters Consistent with the Distribution
harmonic.mean

The Harmonic Mean with Zero-Value Correction
cdfwei

Cumulative Distribution Function of the Weibull Distribution
parexp

Estimate the Parameters of the Exponential Distribution
fliplmoms

Flip L-moments by Flip Attribute in L-moment Vector
canyonprecip

Annual Maximum Precipitation Data for Canyon, Texas
are.parpe3.valid

Are the Distribution Parameters Consistent with the Pearson Type III Distribution
check.fs

Check Vector of Nonexceedance Probabilities
is.gev

Is a Distribution Parameter Object Typed as Generalized Extreme Value
lmom.test.pe3

Test L-moment and Parameter Algorithms of the Pearson Type III Distribution
pwmLC

Sample Probability-Weighted Moments for Left-Tail Censoring
are.parrice.valid

Are the Distribution Parameters Consistent with the Rice Distribution
is.glo

Is a Distribution Parameter Object Typed as Generalized Logistic
are.pargev.valid

Are the Distribution Parameters Consistent with the Generalized Extreme Value Distribution
dist.list

List of Distribution Names
lmom.test.gev

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

Cumulative Distribution Function of the Wakeby Distribution
lmom.test.gum

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

Is a Distribution Parameter Object Typed as Reverse Gumbel
cdfgam

Cumulative Distribution Function of the Gamma Distribution
are.parwei.valid

Are the Distribution Parameters Consistent with the Weibull Distribution
lmomTLgpa

Trimmed L-moments of the Generalized Pareto Distribution
T2prob

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

Cumulative Distribution Function of the Cauchy Distribution
lmrdia

L-moment Ratio Diagram Components
Lcomoment.matrix

Compute Sample L-comoment Matrix
cdfkur

Cumulative Distribution Function of the Kumaraswamy Distribution
pdfgno

Probability Density Function of the Generalized Normal Distribution
TLmom

A Sample Trimmed L-moment
are.pargam.valid

Are the Distribution Parameters Consistent with the Gamma Distribution
cdfrice

Cumulative Distribution Function of the Rice Distribution
pdfrevgum

Probability Density Function of the Reverse Gumbel Distribution
lmom.diff

Difference Between L-moments of the Distribution and the L-moments of the Data
lmom.test.ln3

Test L-moment and Parameter Algorithms of the 3-Parameter Log-Normal Distribution
check.pdf

Check and Potentially Graph Probability Density Functions
cdfln3

Cumulative Distribution Function of the 3-Parameter Log-Normal Distribution
lmomcau

Trimmed L-moments of the Cauchy Distribution
lmomRCmark

Sample L-moment for Right-Tail Censoring by a Marking Variable
par2cdf2

Equivalent Cumulative Distribution Function of Two Distributions
parglo

Estimate the Parameters of the Generalized Logistic Distribution
lmomln3

L-moments of the 3-Parameter Log-Normal Distribution
lmomgev

L-moments of the Generalized Extreme Value Distribution
lmom.ub

Unbiased Sample L-moments by Direct Sample Estimators
lmom2par

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

Common Nonexceedance Probabilities
lcomoms2

The Sample L-comoments for Two Variables
pwm.pp

Plotting-Position Sample Probability-Weighted Moments
par2vec

Convert a Parameter Object to a Vector of Parameters
lmompe3

L-moments of the Pearson Type III Distribution
lmomgld

L-moments of the Generalized Lambda Distribution
lmom.test.wak

Test L-moment and Parameter Algorithms of the Wakeby Distribution
quagno

Quantile Function of the Generalized Normal Distribution
lmomwei

L-moments of the Weibull Distribution
lmomgpa

L-moments of the Generalized Pareto Distribution
lmom2vec

Convert an L-moment object to a Vector of L-moments
parcau

Estimate the Parameters of the Cauchy Distribution
lmomsRCmark

Sample L-moments Moments for Right-Tail Censoring by a Marking Variable
pargld

Estimate the Parameters of the Generalized Lambda Distribution
quagam

Quantile Function of the Gamma Distribution
qlmomco

Quantile Function of the Distributions
par2lmom

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

Estimate the Parameters of the Truncated Exponential Distribution
pdfkap

Probability Density Function of the Kappa Distribution
pdfwak

Probability Density Function of the Wakeby Distribution
lmom.test.nor

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

Quantile Function of the Weibull Distribution
parTLgpa

Estimate the Parameters of the Generalized Pareto Distribution using Trimmed L-moments
pargpaRC

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

Annual Maximum Precipitation Data for Hereford, Texas
lmomray

L-moments of the Rayleigh Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
lmom.test.gam

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

Probability Density Function of the Weibull Distribution
sen.mean

Sen's Weighted Mean Statistic
is.exp

Is a Distribution Parameter Object Typed as Exponential
lmom.test.wei

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

Convert a Vector of TL-moments to a TL-moment Object
is.kur

Is a Distribution Parameter Object Typed as Kumaraswamy
lmom.test.kap

Test L-moment and Parameter Algorithms of the Kappa Distribution
par2pdf

Probability Density Function of the Distributions
par2qua

Quantile Function of the Distributions
quagev

Quantile Function of the Generalized Extreme Value Distribution
lmom.test.revgum

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

L-moments to Probability-Weighted Moments
parkap

Estimate the Parameters of the Kappa Distribution
lmomgum

L-moments of the Gumbel Distribution
pwm.gev

Generalized Extreme Value Plotting-Position Probability-Weighted Moments
lmomTLgld

Trimmed L-moments (t=1) of the Generalized Lambda Distribution
lmorph

Morph an L-moment Object
parray

Estimate the Parameters of the Rayleigh Distribution
pdfnor

Probability Density Function of the Normal Distribution
parrevgum

Estimate the Parameters of the Reverse Gumbel Distribution
quagpa

Quantile Function of the Generalized Pareto Distribution
lmomexp

L-moments of the Exponential Distribution
parnor

Estimate the Parameters of the Normal Distribution
lmomglo

L-moments of the Generalized Logistic Distribution
pdfln3

Probability Density Function of the 3-Parameter Log-Normal Distribution
parwei

Estimate the Parameters of the Weibull Distribution
parTLgld

Estimate the Parameters of the Generalized Lambda Distribution using Trimmed L-moments (t=1)
lmom.test.exp

Test L-moment and Parameter Algorithms of the Exponential Distribution
lmomwak

L-moments of the Wakeby Distribution
lmomtexp

L-moments of the Truncated Exponential Distribution
parrice

Estimate the Parameters of the Rice Distribution
vec2pwm

Convert a Vector of Probability-Weighted Moments to a Probability-Weighted Moments Object
quarevgum

Quantile Function of the Reverse Gumbel Distribution
pargno

Estimate the Parameters of the Generalized Normal Distribution
pargam

Estimate the Parameters of the Gamma Distribution
par2cdf

Cumulative Distribution Function of the Distributions
parpe3

Estimate the Parameters of the Pearson Type III Distribution
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
theoLmoms.max.ostat

Compute the Theoretical L-moments of a Distribution Distribution based on System of Maximum Order Statistic Expectations
quaexp

Quantile Function of the Exponential Distribution
lmomnor

L-moments of the Normal Distribution
quagum

Quantile Function of the Gumbel Distribution
lmoms

The Sample L-moments and L-moment Ratios
pwm.ub

Unbiased Sample Probability-Weighted Moments
par2qua2

Equivalent Quantile Function of Two Distributions
pdfrice

Probability Density Function of the Rice Distribution
theoTLmoms

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

Probability Density Function of the Rayleigh Distribution
qua2ci

Estimate Confidence Interval for a Single Quantile of a Parent Distribution
gen.freq.curves

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

Is a Distribution Parameter Object Typed as Generalized Lambda
pdfglo

Probability Density Function of the Generalized Logistic Distribution
quakur

Quantile Function of the Kumaraswamy Distribution
qualn3

Quantile Function of the 3-Parameter Log-Normal Distribution
parwak

Estimate the Parameters of the Wakeby Distribution
lmomkap

L-moments of the Kappa Distribution
lmrdiscord

Compute Discordance on L-CV, L-skew, and L-kurtosis
pdfgpa

Probability Density Function of the Generalized Pareto Distribution
plotlmrdia

Plot L-moment Ratio Diagram
quaglo

Quantile Function of the Generalized Logistic Distribution
pp

Plotting-Position Formula
plmomco

Cumulative Distribution Function of the Distributions
pdfgld

Probability Density Function of the Generalized Lambda Distribution
parkur

Estimate the Parameters of the Kumaraswamy Distribution
prob2T

Convert a Vector of Annual Nonexceedance Probabilities to T-year Return Periods
z.par2qua

Quantile Function of the Blipped Distributions
quatexp

Quantile Function of the Truncated Exponential Distribution
tuliaprecip

Annual Maximum Precipitation Data for Tulia, Texas
pdfgam

Probability Density Function of the Gamma Distribution
pwm2vec

Convert Probability-Weighted Moment object to a Vector of Probability-Weighted Moments
pdfgum

Probability Density Function of the Gumbel Distribution
quawak

Quantile Function of the Wakeby Distribution
pwm

Unbiased Sample Probability-Weighted Moments
quarice

Quantile Function of the Rice Distribution
quagld

Quantile Function of the Generalized Lambda Distribution
pargpa

Estimate the Parameters of the Generalized Pareto Distribution
rlmomco

Random Deviates of a Distribution
pdfgev

Probability Density Function of the Generalized Extreme Value Distribution
pdftexp

Probability Density Function of the Truncated Exponential Distribution
quaray

Quantile Function of the Rayleigh Distribution
quacau

Quantile Function of the Cauchy Distribution
pdfexp

Probability Density Function of the Exponential Distribution
quanor

Quantile Function of the Normal Distribution
pdfkur

Probability Density Function of the Kumaraswamy Distribution
quakap

Quantile Function of the Kappa Distribution
prettydist

A Pretty List of Distribution Names
qua.ostat

Compute the Quantiles of the Distribution of an Order Statistic
theoLmoms

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

Probability Density Function of the Pearson Type III Distribution
quape3

Quantile Function of the Pearson Type III Distribution
theopwms

The Theoretical Probability-Weighted Moments using Integration of the Quantile Function
z.par2cdf

Cumulative Distribution Function of Blipped Distributions
vec2lmom

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

Annual Maximum Precipitation Data for Vega, Texas
is.rice

Is a Distribution Parameter Object Typed as Rice
lmom.test.glo

Test L-moment and Parameter Algorithms of the Generalized Logistic Distribution
lmomkur

L-moments of the Kumaraswamy Distribution
vec2par

Convert a Vector of Parameters to a Parameter Object of a Distribution
USGSsta05405000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 05405000
lmom.test.gno

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

Laguerre Polynomial (Half)
cdfgum

Cumulative Distribution Function of the Gumbel Distribution
is.gpa

Is a Distribution Parameter Object Typed as Generalized Pareto
lmom.references

Useful References Related to L-moments
lmom.test.gpa

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

Probability Density Function of the Cauchy Distribution
tulia6Eprecip

Annual Maximum Precipitation Data for Tulia 6E, Texas
is.kap

Is a Distribution Parameter Object Typed as Kappa
are.parray.valid

Are the Distribution Parameters Consistent with the Rayleigh Distribution
USGSsta09442000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 09442000
cdfexp

Cumulative Distribution Function of the Exponential Distribution
USGSsta02366500peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 02366500
is.ray

Is a Distribution Parameter Object Typed as Rayleigh