Learn R Programming

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

lmomco (version 2.2.4)

L-Moments, Censored L-Moments, Trimmed L-Moments, L-Comoments, and Many Distributions

Description

Extensive functions for the theory of L-moments (LMs) in addition to probability-weighted moments (PWMs), and parameter (p) estimation for numerous familiar and not-so-familiar distributions. Estimation of LMs for the same distributions is provided as are L-moment ratio diagrams. Estimation of LMs for right-tail and left-tail censoring by known or unknown threshold and also by indicator variable is available. Asymmetric trimmed LMs (TL-moments, TLMs) are supported as are numerical integrations to dynamically compute trajectories of select TLM ratios for TL-moment ratio diagram construction. LMs of residual (resid.) and reversed (rev.) resid. life are implemented along with 13 operators on quantile functions that are useful in reliability, lifetime, and survival analysis. Exact analytical bootstrap estimates of order statistics, LMs, and variances-covariances of LMs are provided. The Harri-Coble Tau34-squared Test for Normality is available. Distribution support with "L" (LMs), "TL" (TLMs) and added (+) support for right-tail censoring (RC) encompasses: Asymmetric (Asy.) Exponential (Exp.) Power [L], Asy. Triangular [L], Cauchy [TL], Eta-Mu [L], Exp. [L], Gamma [L], Generalized (Gen.) Exp. Poisson [L], Gen. Extreme Value [L], Gen. Lambda [L,TL], Gen. Logistic [L), Gen. Normal [L], Gen. Pareto [L+RC, TL], Govindarajulu [L], Gumbel [L], Kappa [L], Kappa-Mu [L], Kumaraswamy [L], Laplace [L], Linear Mean Residual Quantile Function [L], Normal [L], 3-p log-Normal [L], Pearson Type III [L], Rayleigh [L], Rev. Gumbel [L+RC], Rice/Rician (L), Slash [TL], 3-p Student t [L], Truncated Exponential [L], Wakeby [L], and Weibull [L]. LMs have multivariate analogs; the sample L-comoments (LCMs) are implemented and might have considerable application with copulas because LCMs measure asymmetric association and higher comoments or comovements of variables.

Copy Link

Version

Install

install.packages('lmomco')

Monthly Downloads

5,044

Version

2.2.4

License

GPL

Maintainer

William Asquith

Last Published

July 8th, 2016

Functions in lmomco (2.2.4)

are.paraep4.valid

Are the Distribution Parameters Consistent with the 4-Parameter Asymmetric Exponential Power Distribution
are.lmom.valid

Are the L-moments valid
add.lmomco.axis

Add an lmomco Axis to a Plot
add.log.axis

Add a Polished log Axis to a Plot
are.par.valid

Are the Distribution Parameters Consistent with the Distribution
amarilloprecip

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

Are the Distribution Parameters Consistent with the Eta-Mu Distribution
are.parcau.valid

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

Are the Distribution Parameters Consistent with the Generalized Exponential Poisson Distribution
are.parexp.valid

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

Are the Distribution Parameters Consistent with the Kappa-Mu Distribution
are.pargum.valid

Are the Distribution Parameters Consistent with the Gumbel Distribution
are.pargno.valid

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

Are the Distribution Parameters Consistent with the Kumaraswamy Distribution
are.pargov.valid

Are the Distribution Parameters Consistent with the Govindarajulu Distribution
are.parlap.valid

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

Are the Distribution Parameters Consistent with the Generalized Logistic Distribution
are.pargev.valid

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

Are the Distribution Parameters Consistent with the Kappa Distribution
are.pargpa.valid

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

Are the Distribution Parameters Consistent with the Rice Distribution
are.parnor.valid

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

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

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

Are the Distribution Parameters Consistent with the Linear Mean Residual Quantile Function Distribution
are.parpe3.valid

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

Are the Distribution Parameters Consistent with the Slash Distribution
are.partexp.valid

Are the Distribution Parameters Consistent with the Truncated Exponential Distribution
are.parst3.valid

Are the Distribution Parameters Consistent with the 3-Parameter Student t Distribution
are.parln3.valid

Are the Distribution Parameters Consistent with the 3-Parameter Log-Normal Distribution
are.partri.valid

Are the Distribution Parameters Consistent with the Asymmetric Triangular Distribution
canyonprecip

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

Are the Distribution Parameters Consistent with the Weibull Distribution
cdf2lmoms

Compute L-moments from Cumulative Distribution Function
cdfgov

Cumulative Distribution Function of the Govindarajulu Distribution
cdfwak

Cumulative Distribution Function of the Wakeby Distribution
cdflmrq

Cumulative Distribution Function of the Linear Mean Residual Quantile Function Distribution
are.parwak.valid

Are the Distribution Parameters Consistent with the Wakeby Distribution
cdfgld

Cumulative Distribution Function of the Generalized Lambda Distribution
cdfst3

Cumulative Distribution Function of the 3-Parameter Student t Distribution
dist.list

List of Distribution Names
dat2bernquaf

Equivalent Nonexceedance Probability for a Given Value through Observed Data to Empirical Quantiles through Bernstein or Kantorovich Polynomials
check.fs

Check Vector of Nonexceedance Probabilities
clearforkporosity

Porosity Data
DrillBitLifetime

Lifetime of Drill Bits
dlmomco

Probability Density Function of the Distributions
claudeprecip

Annual Maximum Precipitation Data for Claude, Texas
fliplmoms

Flip L-moments by Flip Attribute in L-moment Vector
check.pdf

Check and Potentially Graph Probability Density Functions
freq.curve.all

Compute Frequency Curve for Almost All Distributions
IRSrefunds.by.state

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

Annual Maximum Precipitation Data for Hereford, Texas
is.gam

Is a Distribution Parameter Object Typed as Gamma
is.emu

Is a Distribution Parameter Object Typed as Eta-Mu
is.gep

Is a Distribution Parameter Object Typed as Generalized Extreme Value
genci.simple

Generate (Estimate) Confidence Intervals for Quantiles of a Parent Distribution
is.exp

Is a Distribution Parameter Object Typed as Exponential
gen.freq.curves

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

Is a Distribution Parameter Object Typed as 4-Parameter Asymmetric Exponential Power
is.cau

Is a Distribution Parameter Object Typed as Cauchy
is.wak

Is a Distribution Parameter Object Typed as Wakeby
is.kap

Is a Distribution Parameter Object Typed as Kappa
is.gum

Is a Distribution Parameter Object Typed as Gumbel
is.wei

Is a Distribution Parameter Object Typed as Weibull
par2lmom

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

Cumulative Distribution Function of the Distributions
is.gev

Is a Distribution Parameter Object Typed as Generalized Extreme Value
is.ln3

Is a Distribution Parameter Object Typed as 3-Parameter Log-Normal
is.gld

Is a Distribution Parameter Object Typed as Generalized Lambda
is.nor

Is a Distribution Parameter Object Typed as Normal
lmomcau

Trimmed L-moments of the Cauchy Distribution
lmomco-package

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

L-moments of the Exponential Distribution
lmomgam

L-moments of the Gamma Distribution
lmomsla

Trimmed L-moments of the Slash Distribution
lmoms

The Sample L-moments and L-moment Ratios
is.revgum

Is a Distribution Parameter Object Typed as Reverse Gumbel
is.gpa

Is a Distribution Parameter Object Typed as Generalized Pareto
is.gov

Is a Distribution Parameter Object Typed as Govindarajulu
is.rice

Is a Distribution Parameter Object Typed as Rice
lcomoms2

The Sample L-comoments for Two Variables
Lcomoment.correlation

L-correlation Matrix (L-correlation through Sample L-comoments)
lmomgum

L-moments of the Gumbel Distribution
lmomwei

L-moments of the Weibull Distribution
lmorph

Morph an L-moment Object
lmomkap

L-moments of the Kappa Distribution
is.st3

Is a Distribution Parameter Object Typed as 3-Parameter Student t Distribution
is.sla

Is a Distribution Parameter Object Typed as Slash
is.tri

Is a Distribution Parameter Object Typed as Asymmetric Triangular
is.texp

Is a Distribution Parameter Object Typed as Truncated Exponential
lmomRCmark

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

L-moments of the Rice Distribution
lmomwak

L-moments of the Wakeby Distribution
paremu

Estimate the Parameters of the Eta-Mu Distribution
parexp

Estimate the Parameters of the Exponential Distribution
lmomsRCmark

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

Estimate the Parameters of the Generalized Exponential Poisson Distribution
pargam

Estimate the Parameters of the Gamma Distribution
pargno

Estimate the Parameters of the Generalized Normal Distribution
pargpa

Estimate the Parameters of the Generalized Pareto Distribution
plotradarlmr

Plot L-moment Radar Plot (Chart) Graphic
pp.f

Quantile Function of the Ranks of Plotting Positions
quasla

Quantile Function of the Slash Distribution
is.pe3

Is a Distribution Parameter Object Typed as Pearson Type III
is.kur

Is a Distribution Parameter Object Typed as Kumaraswamy
is.kmu

Is a Distribution Parameter Object Typed as Kappa-Mu
quarice

Quantile Function of the Rice Distribution
qlmomco

Quantile Function of the Distributions
qua2ci.cov

Estimate a Confidence Interval for Quantiles of a Parent Distribution using Sample Variance-Covariances of L-moments
is.ray

Is a Distribution Parameter Object Typed as Rayleigh
lmom2par

Convert L-moments to the Parameters of a Distribution
lmom2vec

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

L-moments of the Normal Distribution
nonexceeds

Some Common or Useful Nonexceedance Probabilities
lmompe3

L-moments of the Pearson Type III Distribution
lmrdia

L-moment Ratio Diagram Components
parwak

Estimate the Parameters of the Wakeby Distribution
parst3

Estimate the Parameters of the 3-Parameter Student t Distribution
quagld

Quantile Function of the Generalized Lambda Distribution
quagam

Quantile Function of the Gamma Distribution
tlmrgpa

Compute Select TL-moment ratios of the Generalized Pareto
slmomco

Reversed Cumulative Distribution Function (Survival Function) of the Distributions
supdist

The Support of a Distribution based on the Parameters
tuliaprecip

Annual Maximum Precipitation Data for Tulia, Texas
tulia6Eprecip

Annual Maximum Precipitation Data for Tulia 6E, Texas
tlmrgum

Compute Select TL-moment ratios of the Gumbel Distribution
par2vec

Convert a Parameter Object to a Vector of Parameters
parcau

Estimate the Parameters of the Cauchy Distribution
parlmrq

Estimate the Parameters of the Linear Mean Residual Quantile Function Distribution
parkur

Estimate the Parameters of the Kumaraswamy Distribution
pwmLC

Sample Probability-Weighted Moments for Left-Tail Censoring
pwm2vec

Convert Probability-Weighted Moment object to a Vector
quanor

Quantile Function of the Normal Distribution
tlmrglo

Compute Select TL-moment ratios of the Generalized Logistic Distribution
quape3

Quantile Function of the Pearson Type III Distribution
tlmrgno

Compute Select TL-moment ratios of the Generalized Normal Distribution
USGSsta08190000peaks

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

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

Annual Maximum Precipitation Data for Vega, Texas
x2xlo

Conversion of a Vector through a Left-Hand Threshold to Setup Conditional Probability Computations
is.gno

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

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

Is a Distribution Parameter Object Typed as Linear Mean Residual Quantile Function
is.lap

Is a Distribution Parameter Object Typed as Laplace
lmomcoBook

Show the Errata for Asquith (2011) Book
parglo

Estimate the Parameters of the Generalized Logistic Distribution
lmomcoNews

Show the NEWS file
pargev

Estimate the Parameters of the Generalized Extreme Value Distribution
pargum

Estimate the Parameters of the Gumbel Distribution
pargpaRC

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

Estimate the Parameters of the Pearson Type III Distribution
parsla

Estimate the Parameters of the Slash Distribution
qua2ci.simple

Estimate a Confidence Interval for a Single Quantile of a Parent Distribution by a Simple Algorithm
tlmrexp

Compute Select TL-moment ratios of the Exponential Distribution
quaemu

Quantile Function of the Eta-Mu Distribution
tlmrgev

Compute Select TL-moment ratios of the Generalized Extreme Value Distribution
USGSsta05405000peaks

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

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

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

Annual Peak Streamflow Data for U.S. Geological Survey Streamflow-Gaging Station 14321000
parnor

Estimate the Parameters of the Normal Distribution
parln3

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

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

Cumulative Distribution Function of the Distributions
plotlmrdia

Plot L-moment Ratio Diagram
TX38lgtrmFlow

First six L-moments of logarithms of annual mean streamflow and variances for 35 selected long-term U.S. Geological Survey streamflow-gaging stations in Texas
tlmrcau

Compute Select TL-moment ratios of the Cauchy Distribution
vec2par

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

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

Annual Peak Streamflow Data for U.S. Geological Survey Streamflow-Gaging Station 01515000
tlmrnor

Compute Select TL-moment ratios of the Normal Distribution
tlmrln3

Compute Select TL-moment ratios of the 3-Parameter Log-Normal Distribution
vec2TLmom

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

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

Estimate the Parameters of the Kappa Distribution
par2qua

Quantile Function of the Distributions
pp.median

Quantile Function of the Ranks of Plotting Positions
parkmu

Estimate the Parameters of the Kappa-Mu Distribution
par2pdf

Probability Density Function of the Distributions
prettydist

A Pretty List of Distribution Names
quagno

Quantile Function of the Generalized Normal Distribution
quakmu

Quantile Function of the Kappa-Mu Distribution
quast3

Quantile Function of the 3-Parameter Student t Distribution
tlmrpe3

Compute Select TL-moment ratios of the Pearson Type III
rlmomco

Random Variates of a Distribution
USGSsta06766000dvs

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

Compute Select TL-moment ratios of the Rayleigh Distribution
USGSsta08151500peaks

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