Learn R Programming

lmomco (version 1.7.3)

lmom.test.all: Test All lmom.CCC.test Functions

Description

This function is a dispatcher on top of lmom.CCC.test functions, where CCC represents distribution: exp, gam, gev, glo, gno, gpa, gum, kap, nor, pe3, revgum, wak, and wei. The motivation for the function is provide an example and builtin tool to assess the performance of the algorithms implements the L-moments for the supported univariate distributions functions. This function is to broadly call each supported distribution in the library through (1) computation of the L-moments of the data, (2) computation of the corresponding parameters of the distribution, and (3) return computation of the of the theoretical L-moments of the distribution. The differences between the sample and theoretical L-moments are produced by lmom.diff. Further the median quantile of the distribution is computed through the quantile function, and in turn, the median nonexceedance probability is computed through the cumulative distribution function.

Usage

lmom.test.all(data)

Arguments

data
A vector of data.

Value

  • This is a high level function and is not intended to return anything other than output to the user.

See Also

lmom.diff, lmom.test.exp, lmom.test.gam, lmom.test.gev, lmom.test.glo, lmom.test.gno, lmom.test.gpa, lmom.test.gum, lmom.test.kap, lmom.test.nor, lmom.test.pe3, lmom.test.revgum, lmom.test.wak, and lmom.test.wei.

Examples

Run this code
lmom.test.all(c(123,34,4,654,37,78))

Run the code above in your browser using DataLab