Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdfgdd
, pdfgdd
, quagdd
, and lmomgdd
) require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the are.pargdd.valid
function.
are.pargdd.valid(para, nowarn=FALSE)
If the parameters are gdd
consistent.
If the parameters are not gdd
consistent.
A distribution parameter list returned by pargdd
or vec2par
.
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.
W.H. Asquith
Klar, B., 2015, A note on gamma difference distributions: Journal of Statistical Computation and Simulation v. 85, no. 18, pp. 1--8, tools:::Rd_expr_doi("10.1080/00949655.2014.996566").
is.gdd
, pargdd