are.partexp.valid {lmomco} | R Documentation |
Are the Distribution Parameters Consistent with the Truncated Exponential Distribution
Description
Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdftexp
, pdftexp
, quatexp
, and lmomtexp
) require consistent parameters to return the cumulative probability (nonexceedance), density, quantile, and L-moments of the distribution, respectively. These functions internally use the are.partexp.valid
function.
Usage
are.partexp.valid(para, nowarn=FALSE)
Arguments
para |
A distribution parameter list returned by |
nowarn |
A logical switch on warning suppression. If |
Value
TRUE |
If the parameters are |
FALSE |
If the parameters are not |
Note
This function calls is.texp
to verify consistency between the distribution parameter object and the intent of the user.
Author(s)
W.H. Asquith
References
Vogel, R.M., Hosking, J.R.M., Elphick, C.S., Roberts, D.L., and Reed, J.M., 2008, Goodness of fit of probability distributions for sightings as species approach extinction: Bulletin of Mathematical Biology, DOI 10.1007/s11538-008-9377-3, 19 p.
See Also
Examples
para <- partexp(lmoms(c(90,134,100,114,177,378)))
if(are.partexp.valid(para)) Q <- quatexp(0.5,para)