Learn R Programming

lmomco (version 2.4.14)

pars2x: Estimate Quantiles from an Ensemble of Parameters

Description

This function acts as a frontend to estimate quantiles from an ensemble of parameters from the methods of L-moments (lmr2par), maximum likelihood (MLE, mle2par), and maximum product of spacings (MPS, mps2par) for nonexceedance probabilities. The mean, standard deviation, and number of unique quantiles for each nonexceedance probability are computed too. The unique quantiles are used because the MLE and MPS methods could fall back to L-moments or other and thus it should be considered that one of the methods might have failed.

Usage

pars2x(f, paras, na.rm=FALSE, ...)

Value

A data.frame having, if at least one of the parameter estimation methods is not NULL, the following columns in addition to attributes that are demonstrated in the Examples section:

lmr

Quantiles based on parameters from method of L-moments.

mle

Quantiles based on parameters from MLE.

mps

Quantiles based on parameters from MPS.

f

The nonexceedance probabilities.

mean

The mean of the unique quantiles (usually three) seen for each probability. Results can be affected by na.rm.

sd

The standard deviation of the unique quantiles (usually three) seen for each probability. Results can be affected by na.rm.

n

The number of unique quantiles (usually three) seen for each probability and quantiles computed as NA are not counted.

Arguments

f

Nonexceedance probability (\(0 \le F \le 1\)).

paras

An ensemble of parameters from x2pars.

na.rm

A logical to pass to the mean and standard deviation computations.

...

The additional arguments, if ever used.

Author

W.H. Asquith

See Also

x2pars