are.parlmrq.valid: Are the Distribution Parameters Consistent with the Linear Mean Residual Quantile Function Distribution
Description
Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdflmrq, pdflmrq, qualmrq, and lmomlmrq) require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the are.parlmrq.valid function. The constraints on the parameters are listed under qualmrq. The documentation for qualmrq provides the conditions for valid parameters.
Usage
are.parlmrq.valid(para, nowarn=FALSE)
Value
TRUE
If the parameters are lmrq consistent.
FALSE
If the parameters are not lmrq consistent.
Arguments
para
A distribution parameter list returned by parlmrq or vec2par.
nowarn
A logical switch on warning suppression. If TRUE then options(warn=-1) is made and restored on return. This switch is to permit calls in which warnings are not desired as the user knows how to handle the returned value---say in an optimization algorithm.
Author
W.H. Asquith
References
Midhu, N.N., Sankaran, P.G., and Nair, N.U., 2013, A class of distributions with linear mean residual quantile function and it's generalizations: Statistical Methodology, v. 15, pp. 1--24.