Learn R Programming

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

lmomco (version 0.92)

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,250

Version

0.92

License

GPL

Maintainer

William Asquith

Last Published

May 4th, 2024

Functions in lmomco (0.92)

are.lmom.valid

Are the L-moments valid
are.pargno.valid

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

Are the Distribution Parameters Consistent with the Gumbel Distribution
is.nor

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

Are the Distribution Parameters Consistent with the Wakeby Distribution
are.par.valid

Are the Distribution Parameters Consistent with the Distribution
is.gam

Is a Distribution Parameter Object Typed as Gamma
is.cau

Is a Distribution Parameter Object Typed as Cauchy
cdfgev

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

Are the Distribution Parameters Consistent with the Kappa Distribution
cdfgum

Cumulative Distribution Function of the Gumbel Distribution
parglo

Estimate the Parameters of the Generalized Logistic Distribution
are.parnor.valid

Are the Distribution Parameters Consistent with the Normal Distribution
are.pargam.valid

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

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

Cumulative Distribution Function of the Generalized Logistic Distribution
genci

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

Are the Distribution Parameters Consistent with the Reverse Gumbel Distribution
Lcomoment.matrix

Compute Sample L-comoment Matrix
TLmoms

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

Cumulative Distribution Function of the Gamma Distribution
cdfkap

Cumulative Distribution Function of the Kappa Distribution
cdfpe3

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

Test L-moment and Parameter Algorithms of the Gamma Distribution
Lcomoment.Wk

Weighting Coefficient for Sample L-comoment
lmomexp

L-moments of the Exponential Distribution
par2lmom

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

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

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

Probability Density Function of the Reverse Gumbel 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
cdfrevgum

Cumulative Distribution Function of the Reverse Gumbel Distribution
check.fs

Check Vector of Nonexceedance Probabilities
cdfcau

Cumulative Distribution Function of the Cauchy Distribution
T2prob

Convert a Vector of T-year Return Periods to Annual Nonexceedance Probabilities
is.exp

Is a Distribution Parameter Object Typed as Exponential
pwmRC

Sample Probability-Weighted Moments for Right-Tail Censoring
is.wak

Is a Distribution Parameter Object Typed as Wakeby
are.parexp.valid

Are the Distribution Parameters Consistent with the Exponential Distribution
cdfgpa

Cumulative Distribution Function of the Generalized Pareto Distribution
lmomgno

L-moments of the Generalized Normal Distribution
is.kap

Is a Distribution Parameter Object Typed as Kappa
is.revgum

Is a Distribution Parameter Object Typed as Reverse Gumbel
lmomnor

L-moments of the Normal Distribution
Apwm2BpwmRC

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

Compute a Single Sample L-comoment
cdfexp

Cumulative Distribution Function of the Exponential Distribution
are.pargld.valid

Are the Distribution Parameters Consistent with the Generalized Lambda Distribution
dist.list

List of Distribution Names
cdfnor

Cumulative Distribution Function of the Normal Distribution
cdfgno

Cumulative Distribution Function of the Generalized Normal Distribution
lmom2vec

Convert an L-moment object to a Vector of L-moments
is.gld

Is a Distribution Parameter Object Typed as Generalized Lambda
Introduction

Introduction to R library lmoments
pdfnor

Probability Density Function of the Normal Distribution
lmomglo

L-moments of the Generalized Logistic Distribution
pdfexp

Probability Density Function of the Exponential Distribution
quagpa

Quantile Function of the Generalized Pareto Distribution
is.gno

Is a Distribution Parameter Object Typed as Generalized Normal
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
TLmom

A Sample Trimmed L-moment
lmom.test.gum

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

Estimate the Parameters of the Pearson Type III Distribution
freq.curve.all

Compute Frequency Curve for All Distributions
lmomTLgld

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

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

Morph an L-moment Object
quagld

Quantile Function of the Generalized Lambda Distribution
lmom.test.nor

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

Cumulative Distribution Function of the Distributions
lmrdia

L-moment Ratio Diagram Components
par2qua2

Equivalent Quantile Function of Two Distributions
lmom.test.gpa

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

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

L-moments of the Generalized Lambda Distribution
par2qua

Quantile Function of the Distributions
is.gum

Is a Distribution Parameter Object Typed as Gumbel
pargpaRC

Estimate the Parameters of the Generalized Pareto Distribution with Right-Tail Censoring
is.gpa

Is a Distribution Parameter Object Typed as Generalized Pareto
lmoms

The Sample L-moments and L-moment Ratios
lmom.test.gno

Test L-moment and Parameter Algorithms of the Generalized Normal Distribution
lmom.test.all

Test All lmom.CCC.test Functions
lmomrevgum

L-moments of the Reverse Gumbel Distribution
pargam

Estimate the Parameters of the Gamma Distribution
lmomgam

L-moments of the Gamma Distribution
lmom2pwm

L-moments to Probability-Weighted Moments
lmompe3

L-moments of the Pearson Type III Distribution
parexp

Estimate the Parameters of the Exponential Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
Bpwm2ApwmRC

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

Trimmed L-moments of the Generalized Pareto Distribution
cdfwak

Cumulative Distribution Function of the Wakeby Distribution
lmomkap

L-moments of the Kappa Distribution
check.pdf

Check and Potentially Graph Probability Density Functions
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
nonexceeds

Common Nonexceedance Probabilities
parnor

Estimate the Parameters of the Normal Distribution
parwak

Estimate the Parameters of the Wakeby Distribution
plotlmrdia

Plot L-moment Ratio Diagram
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
parTLgld

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

Is a Distribution Parameter Object Typed as Generalized Extreme Value
quarevgum

Quantile Function of the Reverse Gumbel Distribution
lmom.test.wei

Test L-moment and Parameter Algorithms of the Weibull Distribution
harmonic.mean

The Harmonic Mean with Zero-Value Correction
pdfwei

Probability Density Function of the Weibull Distribution
quanor

Quantile Function of the Normal Distribution
lmomwei

L-moments of the Weibull Distribution
is.wei

Is a Distribution Parameter Object Typed as Weibull
quagum

Quantile Function of the Gumbel Distribution
quape3

Quantile Function of the Pearson Type III Distribution
pwm.pp

Plotting-Position Sample Probability-Weighted Moments
lmomgpa

L-moments of the Generalized Pareto Distribution
pdfglo

Probability Density Function of the Generalized Logistic Distribution
par2cdf2

Equivalent Cumulative Distribution Function of Two Distributions
parcau

Estimate the Parameters of the Cauchy Distribution
pwm2lmom

Probability-Weighted Moments to L-moments
par2pdf

Probability Density Function of the Distributions
lmomwak

L-moments of the Wakeby Distribution
quawei

Quantile Function of the Weibull Distribution
parTLgpa

Estimate the Parameters of the Generalized Pareto Distribution using Trimmed L-moments
lmom.references

Useful References Related to L-moments
parwei

Estimate the Parameters of the Weibull Distribution
pdfkap

Probability Density Function of the Kappa Distribution
pwm.ub

Unbiased Sample Probability-Weighted Moments
pdfgev

Probability Density Function of the Generalized Extreme Value Distribution
lmom.test.gev

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

Estimate the Parameters of the Generalized Lambda Distribution
theoLmoms

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

Estimate the Parameters of the Generalized Pareto Distribution
quaexp

Quantile Function of the Exponential Distribution
prob2T

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

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

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

Quantile Function of the Distributions
pdfgam

Probability Density Function of the Gamma Distribution
quagev

Quantile Function of the Generalized Extreme Value Distribution
pwm

Unbiased Sample Probability-Weighted Moments
pdfcau

Probability Density Function of the Cauchy Distribution
quagam

Quantile Function of the Gamma Distribution
quacau

Quantile Function of the Cauchy Distribution
pdfgpa

Probability Density Function of the Generalized Pareto Distribution
qua2ci

Estimate Confidence Interval for a Single Quantile of a Parent Distribution
pdfgno

Probability Density Function of the Generalized Normal Distribution
pdfwak

Probability Density Function of the Wakeby Distribution
quaglo

Quantile Function of the Generalized Logistic Distribution
pwm.gev

Generalized Extreme Value Plotting-Position Probability-Weighted Moments
quakap

Quantile Function of the Kappa Distribution
pdfgld

Probability Density Function of the Generalized Lambda Distribution
lmom.ub

Unbiased Sample L-moments by Direct Sample Estimators
parrevgum

Estimate the Parameters of the Reverse Gumbel Distribution
pmoms

The Sample Product Moments: Mean, Standard Deviation, Skew, and Excess Kurtosis
gen.freq.curves

Plot Randomly Generated Frequency Curves from a Parent Distribution
pdfgum

Probability Density Function of the Gumbel Distribution
rlmomco

Random Deviates of a Distribution
lmom.test.pe3

Test L-moment and Parameter Algorithms of the Pearson Type III Distribution
qua.ostat

Compute the Quantiles of the Distribution of an Order Statistic
quawak

Quantile Function of the Wakeby Distribution
theoTLmoms

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

L-moments of the Generalized Extreme Value Distribution
lmomgum

L-moments of the Gumbel Distribution
parkap

Estimate the Parameters of the Kappa Distribution
vec2par

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

Probability Density Function of the Pearson Type III Distribution
vec2pwm

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

Plotting-Position Formula
z.par2cdf

Cumulative Distribution Function of Blipped Distributions
z.par2qua

Quantile Function of the Blipped Distributions
cdfwei

Cumulative Distribution Function of the Weibull Distribution
are.parcau.valid

Are the Distribution Parameters Consistent with the Cauchy Distribution
lmomgpaRC

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

Estimate the Parameters of the Generalized Normal Distribution
vec2TLmom

Convert a Vector of TL-moments to a TL-moment Object
Lcomoment.coefficients

L-comoment Coefficient Matrix
are.pargev.valid

Are the Distribution Parameters Consistent with the Generalized Extreme Value Distribution
are.pargpa.valid

Are the Distribution Parameters Consistent with the Generalized Pareto Distribution
are.parwei.valid

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

Is a Distribution Parameter Object Typed as Generalized Logistic
is.pe3

Is a Distribution Parameter Object Typed as Pearson Type III
lmomcau

Trimmed L-moments of the Cauchy Distribution
par2cdf

Cumulative Distribution Function of the Distributions
vec2lmom

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