Learn R Programming

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

lmomco (version 0.96.2)

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

2,861

Version

0.96.2

License

GPL

Maintainer

William Asquith

Last Published

May 4th, 2024

Functions in lmomco (0.96.2)

are.parcau.valid

Are the Distribution Parameters Consistent with the Cauchy Distribution
USGSsta01515000peaks

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

Are the Distribution Parameters Consistent with the Distribution
are.parglo.valid

Are the Distribution Parameters Consistent with the Generalized Logistic Distribution
canyonprecip

Annual Maximum Precipitation Data for Canyon, Texas
is.nor

Is a Distribution Parameter Object Typed as Normal
are.pargno.valid

Are the Distribution Parameters Consistent with the Generalized Normal Distribution
are.pargpa.valid

Are the Distribution Parameters Consistent with the Generalized Pareto Distribution
Lcomoment.matrix

Compute Sample L-comoment Matrix
Lcomoment.coefficients

L-comoment Coefficient Matrix
are.parkap.valid

Are the Distribution Parameters Consistent with the Kappa Distribution
Bpwm2ApwmRC

Conversion between B- and A-Type Probability-Weighted Moments for Right-Tail Censoring of An Appropriate Distribution
IRSrefunds.by.state

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

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

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 05405000
amarilloprecip

Annual Maximum Precipitation Data for Amarillo, Texas
are.parnor.valid

Are the Distribution Parameters Consistent with the Normal Distribution
claudeprecip

Annual Maximum Precipitation Data for Claude, Texas
TLmoms

The Sample Trimmed L-moments and L-moment Ratios
USGSsta09442000peaks

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

Cumulative Distribution Function of the Gumbel Distribution
USGSsta08167000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 08167000
dlmomco

Probability Density Function of the Distributions
clearforkporosity

Porosity Data
Lcomoment.correlation

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

Are the Distribution Parameters Consistent with the Generalized Extreme Value Distribution
DrillBitLifetime

Lifetime of Drill Bits
cdfgev

Cumulative Distribution Function of the Generalized Extreme Value Distribution
freq.curve.all

Compute Frequency Curve for All Distributions
Lcomoment.Wk

Weighting Coefficient for Sample L-comoment
cdfglo

Cumulative Distribution Function of the Generalized Logistic Distribution
genci

Generate Confidence Intervals for Quantiles of a Parent Distribution
plotlmrdia

Plot L-moment Ratio Diagram
is.exp

Is a Distribution Parameter Object Typed as Exponential
Lcomoment.Lk12

Compute a Single Sample L-comoment
is.gno

Is a Distribution Parameter Object Typed as Generalized Normal
T2prob

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

Unbiased Sample Probability-Weighted Moments
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
are.pargum.valid

Are the Distribution Parameters Consistent with the Gumbel Distribution
Introduction

Introduction to R library lmoments
are.parwak.valid

Are the Distribution Parameters Consistent with the Wakeby Distribution
cdfwak

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

Are the Distribution Parameters Consistent with the Gamma Distribution
TLmom

A Sample Trimmed L-moment
are.parray.valid

Are the Distribution Parameters Consistent with the Rayleigh Distribution
are.pargld.valid

Are the Distribution Parameters Consistent with the Generalized Lambda Distribution
cdfexp

Cumulative Distribution Function of the Exponential Distribution
cdfwei

Cumulative Distribution Function of the Weibull Distribution
is.glo

Is a Distribution Parameter Object Typed as Generalized Logistic
cdfnor

Cumulative Distribution Function of the Normal Distribution
cdfpe3

Cumulative Distribution Function of the Pearson Type III Distribution
cdfrevgum

Cumulative Distribution Function of the Reverse Gumbel Distribution
is.gld

Is a Distribution Parameter Object Typed as Generalized Lambda
lmom2pwm

L-moments to Probability-Weighted Moments
is.revgum

Is a Distribution Parameter Object Typed as Reverse Gumbel
lmom.test.all

Test All lmom.CCC.test Functions
is.ray

Is a Distribution Parameter Object Typed as Rayleigh
USGSsta02366500peaks

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

Common Nonexceedance Probabilities
lmomglo

L-moments of the Generalized Logistic Distribution
lmom.test.gpa

Test L-moment and Parameter Algorithms of the Generalized Pareto Distribution
check.fs

Check Vector of Nonexceedance Probabilities
lmorph

Morph an L-moment Object
pargpaRC

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

Cumulative Distribution Function of the Generalized Pareto Distribution
lmom.diff

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

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

Annual Maximum Precipitation Data for Tulia 6E, Texas
pargam

Estimate the Parameters of the Gamma Distribution
lmom.test.exp

Test L-moment and Parameter Algorithms of the Exponential Distribution
is.gpa

Is a Distribution Parameter Object Typed as Generalized Pareto
lmom.test.nor

Test L-moment and Parameter Algorithms of the Normal Distribution
is.gam

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

Test L-moment and Parameter Algorithms of the Kappa Distribution
is.kap

Is a Distribution Parameter Object Typed as Kappa
lmomcau

Trimmed L-moments of the Cauchy Distribution
are.parrevgum.valid

Are the Distribution Parameters Consistent with the Reverse Gumbel Distribution
are.lmom.valid

Are the L-moments valid
is.wak

Is a Distribution Parameter Object Typed as Wakeby
quagev

Quantile Function of the Generalized Extreme Value Distribution
vec2lmom

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

Cumulative Distribution Function of the Rayleigh Distribution
USGSsta06766000dvs

Daily Mean Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 06766000
lmomTLgpa

Trimmed L-moments of the Generalized Pareto Distribution
gen.freq.curves

Plot Randomly Generated Frequency Curves from a Parent Distribution
plmomco

Cumulative Distribution Function of the Distributions
lmom.test.wei

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

Trimmed L-moments (t=1) of the Generalized Lambda Distribution
are.parpe3.valid

Are the Distribution Parameters Consistent with the Pearson Type III Distribution
cdfgno

Cumulative Distribution Function of the Generalized Normal Distribution
lmomgno

L-moments of the Generalized Normal Distribution
lmomkap

L-moments of the Kappa Distribution
cdfcau

Cumulative Distribution Function of the Cauchy Distribution
lmomgpaRC

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

Probability Density Function of the Exponential Distribution
lmom.test.glo

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

Is a Distribution Parameter Object Typed as Generalized Extreme Value
pp

Plotting-Position Formula
harmonic.mean

The Harmonic Mean with Zero-Value Correction
parkap

Estimate the Parameters of the Kappa Distribution
USGSsta14321000peaks

Annual Peak Streamflow Data for U.S.~Geological Survey Streamflow-Gaging Station 14321000
is.cau

Is a Distribution Parameter Object Typed as Cauchy
lmom2vec

Convert an L-moment object to a Vector of L-moments
lmom.test.revgum

Test L-moment and Parameter Algorithms of the Reverse Gumbel Distribution
lmom.test.gam

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

Annual Maximum Precipitation Data for Hereford, Texas
lmomexp

L-moments of the Exponential Distribution
parTLgpa

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

L-moments of the Rayleigh Distribution
are.parexp.valid

Are the Distribution Parameters Consistent with the Exponential Distribution
are.parwei.valid

Are the Distribution Parameters Consistent with the Weibull Distribution
cdfkap

Cumulative Distribution Function of the Kappa Distribution
lmomgum

L-moments of the Gumbel Distribution
dist.list

List of Distribution Names
par2cdf2

Equivalent Cumulative Distribution Function of Two Distributions
is.gum

Is a Distribution Parameter Object Typed as Gumbel
pdfgum

Probability Density Function of the Gumbel Distribution
cdfgam

Cumulative Distribution Function of the Gamma Distribution
lmomgpa

L-moments of the Generalized Pareto Distribution
quagpa

Quantile Function of the Generalized Pareto Distribution
lmom.test.wak

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

Quantile Function of the Gumbel Distribution
quaglo

Quantile Function of the Generalized Logistic Distribution
pwm.ub

Unbiased Sample Probability-Weighted Moments
qua2ci

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

Test L-moment and Parameter Algorithms of the Gumbel Distribution
lmomgev

L-moments of the Generalized Extreme Value Distribution
pmoms

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

L-moments of the Wakeby Distribution
lmompe3

L-moments of the Pearson Type III Distribution
parwak

Estimate the Parameters of the Wakeby Distribution
pargno

Estimate the Parameters of the Generalized Normal Distribution
pdfgno

Probability Density Function of the Generalized Normal Distribution
pwm.gev

Generalized Extreme Value Plotting-Position Probability-Weighted Moments
parTLgld

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

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

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

Quantile Function of the Gamma Distribution
theoLmoms

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

Probability Density Function of the Kappa Distribution
par2qua2

Equivalent Quantile Function of Two Distributions
check.pdf

Check and Potentially Graph Probability Density Functions
par2pdf

Probability Density Function of the Distributions
parray

Estimate the Parameters of the Rayleigh Distribution
pdfgld

Probability Density Function of the Generalized Lambda Distribution
quagno

Quantile Function of the Generalized Normal Distribution
parnor

Estimate the Parameters of the Normal Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
pargpa

Estimate the Parameters of the Generalized Pareto Distribution
lmom.test.ray

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

Quantile Function of the Distributions
lmoms

The Sample L-moments and L-moment Ratios
pdfgam

Probability Density Function of the Gamma Distribution
parwei

Estimate the Parameters of the Weibull Distribution
par2cdf

Cumulative Distribution Function of the Distributions
pdfray

Probability Density Function of the Rayleigh Distribution
quawei

Quantile Function of the Weibull Distribution
quakap

Quantile Function of the Kappa Distribution
parcau

Estimate the Parameters of the Cauchy Distribution
pdfrevgum

Probability Density Function of the Reverse Gumbel Distribution
quaray

Quantile Function of the Rayleigh Distribution
parrevgum

Estimate the Parameters of the Reverse Gumbel Distribution
lmom.test.gev

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

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

Quantile Function of the Wakeby Distribution
quaexp

Quantile Function of the Exponential Distribution
quanor

Quantile Function of the Normal Distribution
quarevgum

Quantile Function of the Reverse Gumbel Distribution
rlmomco

Random Deviates of a Distribution
pdfgev

Probability Density Function of the Generalized Extreme Value Distribution
prettydist

A Pretty List of Distribution Names
pdfgpa

Probability Density Function of the Generalized Pareto Distribution
vec2par

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

Convert L-moments to the the Parameters of a Distribution
lmom.test.pe3

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

Estimate the Parameters of the Exponential Distribution
pwm.pp

Plotting-Position Sample Probability-Weighted Moments
pdfpe3

Probability Density Function of the Pearson Type III Distribution
pdfnor

Probability Density Function of the Normal Distribution
parpe3

Estimate the Parameters of the Pearson Type III Distribution
lmomnor

L-moments of the Normal Distribution
pwm2lmom

Probability-Weighted Moments to L-moments
theopwms

The Theoretical Probability-Weighted Moments using Integration of the Quantile Function
parglo

Estimate the Parameters of the Generalized Logistic Distribution
pdfcau

Probability Density Function of the Cauchy Distribution
lmomrevgum

L-moments of the Reverse Gumbel Distribution
gini.mean.diff

Gini Mean Difference Statistic
lcomoms2

The Sample L-comoments for Two Variables
pdfwak

Probability Density Function of the Wakeby Distribution
pwmRC

Sample Probability-Weighted Moments for Right-Tail Censoring
tuliaprecip

Annual Maximum Precipitation Data for Tulia, Texas
lmom.references

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

Test L-moment and Parameter Algorithms of the Generalized Normal Distribution
qua.ostat

Compute the Quantiles of the Distribution of an Order Statistic
quape3

Quantile Function of the Pearson Type III Distribution
lmom.ub

Unbiased Sample L-moments by Direct Sample Estimators
lmomgam

L-moments of the Gamma Distribution
z.par2qua

Quantile Function of the Blipped Distributions
lmomwei

L-moments of the Weibull Distribution
is.pe3

Is a Distribution Parameter Object Typed as Pearson Type III
pdfwei

Probability Density Function of the Weibull Distribution
pdfglo

Probability Density Function of the Generalized Logistic Distribution
quagld

Quantile Function of the Generalized Lambda Distribution
lmrdia

L-moment Ratio Diagram Components
lmomgld

L-moments of the Generalized Lambda Distribution
par2qua

Quantile Function of the Distributions
quacau

Quantile Function of the Cauchy Distribution
pargld

Estimate the Parameters of the Generalized Lambda Distribution
z.par2cdf

Cumulative Distribution Function of Blipped Distributions
vec2pwm

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

Convert the Parameters of a Distribution to the L-moments
sen.mean

Sen's Weighted Mean Statistic
vec2TLmom

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

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

Annual Maximum Precipitation Data for Vega, Texas
is.wei

Is a Distribution Parameter Object Typed as Weibull
hmomco

Hazard Functions of the Distributions
par2vec

Convert a Parameter Object to a Vector of Parameters