are.partexp.valid | R Documentation |
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.
are.partexp.valid(para, nowarn=FALSE)
para |
A distribution parameter list returned by |
nowarn |
A logical switch on warning suppression. If |
TRUE |
If the parameters are |
FALSE |
If the parameters are not |
This function calls is.texp
to verify consistency between the distribution parameter object and the intent of the user.
W.H. Asquith
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.
is.texp
, partexp
para <- partexp(lmoms(c(90,134,100,114,177,378)))
if(are.partexp.valid(para)) Q <- quatexp(0.5,para)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.