Learn R Programming

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

lmomco (version 0.6)

L-moments, L-comoments, Trimmed L-moments, and 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. Numerous additional features are added to aid in extension of the breadth 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) include the Cauchy(TL), Exponential(L), Gamma(L), Generalized Extreme Value(L), Generalized Lambda(L/TL), Generalized Logistic (L), Generalized Normal(L), Generalized Pareto(L/TL), Gumbel(L), Normal(L), Kappa(L), Pearson Type III(L), and Wakeby(L).

Copy Link

Version

Install

install.packages('lmomco')

Monthly Downloads

2,915

Version

0.6

License

GPL

Maintainer

William Asquith

Last Published

May 4th, 2024

Functions in lmomco (0.6)

Lcomoment.Lk12

Compute a Single Sample L-comoment
freq.curve.gev

Frequency Curve of the Generalized Extreme Value Distribution
check.fs

Check Vector of Nonexceedance Probabilities
freq.curve.wak

Frequency Curve of the Wakeby Distribution
is.exp

Is a Distribution Parameter Object Typed as Exponential
TLmom

A Sample Trimmed L-moment
freq.curve.nor

Frequency Curve of the Normal Distribution
cdfpe3

Cumulative Distribution Function of the Pearson Type III Distribution
Lcomoment.correlation

L-correlation Matrix (L-correlation throught sample L-comoments)
is.glo

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

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

Is a Distribution Parameter Object Typed as Generalized Pareto
are.parpe3.valid

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

Are the Distribution Parameters Consistent with the Exponential Distribution
cdfkap

Cumulative Distribution Function of the Kappa Distribution
freq.curve.all

Compute Frequency Curve for All Distributions
freq.curve.pe3

Frequency Curve of the Pearson Type III Distribution
freq.curve.gld

Frequency Curve of the Generalized Lambda Distribution
lmomwak

L-moments of the Wakeby Distribution
lmomexp

L-moments of the Exponential Distribution
lmomgld

L-moments of the Generalized Lambda Distribution
cdfgpa

Cumulative Distribution Function of the Generalized Pareto Distribution
pwm.ub

Unbiased Sample Probability-Weighted Moments
are.pargld.valid

Are the Distribution Parameters Consistent with the Generalized Lambda Distribution
lmom.test.exp

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

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

Test L-moment and Parameter Algorithms of the Generalized Pareto Distribution
freq.curve.cau

Frequency Curve of the Cauchy Distribution
are.parnor.valid

Are the Distribution Parameters Consistent with the Normal Distribution
is.gld

Is a Distribution Parameter Object Typed as Generalized Lambda
are.pargam.valid

Are the Distribution Parameters Consistent with the Gamma Distribution
par2lmom

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

Is a Distribution Parameter Object Typed as Generalized Normal
is.gev

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

Test L-moment and Parameter Algorithms of the Generalized Normal Distribution
are.parwak.valid

Are the Distribution Parameters Consistent with the Wakeby Distribution
lmomcau

Trimmed L-moments of the Cauchy Distribution
Lcomoment.Wk

Weighting Coefficient for Sample L-comoment
freq.curve.glo

Frequency Curve of the Generalized Logistic Distribution
cdfgum

Cumulative Distribution Function of the Gumbel Distribution
lmomTLgld

Trimmed L-moments (t=1) of the Generalized Lambda Distribution
freq.curve.gno

Frequency Curve of the Generalized Normal Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
are.pargno.valid

Are the Distribution Parameters Consistent with the Generalized Normal Distribution
lmom2pwm

L-moments to Probability-Weighted Moments
cdfglo

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

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

Cumulative Distribution Function of the Wakeby Distribution
quagam

Quantile Function of the Gamma Distribution
cdfgno

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

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

Estimate the Parameters of the Generalized Pareto Distribution using Trimmed L-moments
freq.curve.exp

Frequency Curve of the Exponential Distribution
quacau

Quantile Function of the Cauchy Distribution
lmompe3

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

Are the Distribution Parameters Consistent with the Cauchy Distribution
are.lmom.valid

Are the L-moments valid
parcau

Estimate the Parameters of the Cauchy Distribution
lmom.test.glo

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

Estimate the Parameters of the Generalized Lambda Distribution
freq.curve.kap

Frequency Curve of the Kappa Distribution
are.parglo.valid

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

Is a Distribution Parameter Object Typed as Cauchy
TLmoms

The Sample Trimmed L-moments and L-moment Ratios
is.wak

Is a Distribution Parameter Object Typed as Wakeby
pargpa

Estimate the Parameters of the Generalized Pareto Distribution
are.par.valid

Are the Distribution Parameters Consistent with the Distribution
lmom.test.gev

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

L-moments of the Generalized Pareto Distribution
lmomnor

L-moments of the Normal Distribution
quagld

Quantile Function of the Generalized Lambda Distribution
cdfgam

Cumulative Distribution Function of the Gamma Distribution
pwm2lmom

Probability-Weighted Moments to L-moments
lmom.test.kap

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

Quantile Function of the Distributions
lmomglo

L-moments of the Generalized Logistic Distribution
are.pargum.valid

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

Compute Sample L-comoment Matrix
lmom2par

Convert L-moments to the the Parameters of a Distribution
are.parkap.valid

Are the Distribution Parameters Consistent with the Kappa Distribution
lmomgno

L-moments of the Generalized Normal Distribution
is.kap

Is a Distribution Parameter Object Typed as Kappa
is.nor

Is a Distribution Parameter Object Typed as Normal
lmrdia

L-moment Ratio Diagram Components
lmom.test.gum

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

Estimate the Parameters of the Pearson Type III Distribution
lmom.ub

Unbiased Sample L-moments by Direct Sample Estimators
quape3

Quantile Function of the Pearson Type III Distribution
lmom.references

Useful References Related to L-moments
plotlmrdia

Plot L-moment Ratio Diagram
pwm.gev

Generalized Extreme Value Plotting Position Probability-Weighted Moments
cdfgev

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

Is a Distribution Parameter Object Typed as Pearson Type III
lmomTLgpa

Trimmed L-moments of the Generalized Pareto Distribution
lmomgam

L-moments of the Gamma Distribution
quagev

Quantile Function of the Generalized Extreme Value Distribution
lmomkap

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

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

Cumulative Distribution Function of the Exponential Distribution
quagum

Quantile Function of the Gumbel Distribution
is.gum

Is a Distribution Parameter Object Typed as Gumbel
lmomgev

L-moments of the Generalized Extreme Value Distribution
lmomgum

L-moments of the Gumbel Distribution
parwak

Estimate the Parameters of the Wakeby Distribution
nonexceeds

Common Nonexceedance Probabilities
parexp

Estimate the Parameters of the Exponential Distribution
pargno

Estimate the Parameters of the Generalized Normal Distribution
cdfnor

Cumulative Distribution Function of the Normal Distribution
theoLmoms

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

Estimate the Parameters of the Gamma Distribution
parglo

Estimate the Parameters of the Generalized Logistic Distribution
parTLgld

Estimate the Parameters of the Generalized Lambda Distribution using Trimmed L-moments (t=1)
freq.curve.gpa

Frequency Curve of the Generalized Pareto Distribution
quanor

Quantile Function of the Normal Distribution
quaexp

Quantile Function of the Exponential Distribution
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
is.gam

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

Test All lmom.CCC.test Functions
parkap

Estimate the Parameters of the Kappa Distribution
freq.curve.gum

Frequency Curve of the Gumbel Distribution
par2cdf

Cumulative Distribution Function of the Distributions
quakap

Quantile Function of the Kappa Distribution
vec2par

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

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

Quantile Function of the Wakeby Distribution
vec2lmom

Convert a Vector of L-moments to a L-moment Object
pwm.pp

Plotting-Position Sample Probability-Weighted Moments
vec2pwm

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

Quantile Function of the Generalized Normal Distribution
Lcomoment.coefficients

L-comoment Coefficient Matrix
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
Introduction

Introduction to R library lmoments
freq.curve.gam

Frequency Curve of the Gamma Distribution
lmom.diff

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

Test L-moment and Parameter Algorithms of the Gamma Distribution
lmom.test.nor

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

Quantile Function of the Generalized Logistic Distribution
parnor

Estimate the Parameters of the Normal Distribution
quagpa

Quantile Function of the Generalized Pareto Distribution
vec2TLmom

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