Learn R Programming

lmomco (version 2.4.14)

parpdq4: Estimate the Parameters of the Polynomial Density-Quantile4 Distribution

Description

This function estimates the parameters of the Polynomial Density-Quantile4 distribution given the L-moments of the data in an L-moment object such as that returned by lmoms. The relations between the distribution parameters and L-moments are seen under lmompdq4.

Usage

parpdq4(lmom, checklmom=TRUE, snapt4uplimit=TRUE)

Value

An R

list is returned.

type

The type of distribution: pdq4.

para

The parameters of the distribution.

ifail

A numeric field connected to the ifailtext; a value of 0 indicates fully successful operation of the function.

ifailtext

A message, instead of a warning, about the internal operations or operational limits of the function.

source

The source of the parameters: “parpdq4”.

Arguments

lmom

An L-moment object created by lmoms or vec2lmom.

checklmom

Should the lmom be checked for validity using the are.lmom.valid function. Normally this should be left as the default and it is unlikely that the L-moments will not be viable. However, for some circumstances or large simulation exercises then one might want to bypass this check.

snapt4uplimit

A logical controlling the behavior of the function for \(\tau_4\) exceeding an operational upper margin and whether the incoming \(\tau_4\) can be snapped down to this margin (see Note).

Author

W.H. Asquith

References

Hosking, J.R.M., 2007, Distributions with maximum entropy subject to constraints on their L-moments or expected order statistics: Journal of Statistical Planning and Inference, v. 137, no. 9, pp. 2870--2891, tools:::Rd_expr_doi("10.1016/j.jspi.2006.10.010").

See Also

lmompdq4, cdfpdq4, pdfpdq4, quapdq4