are.paraep4.valid {lmomco} | R Documentation |
Are the Distribution Parameters Consistent with the 4-Parameter Asymmetric Exponential Power Distribution
Description
Is the distribution parameter object consistent with the corresponding distribution? The distribution functions (cdfaep4
, pdfaep4
, quaaep4
, and
lmomaep4
) require consistent parameters to return the cumulative
probability (nonexceedance), density, quantile, and L-moments of the distribution,
respectively. These functions internally use the are.paraep4.valid
function.
Usage
are.paraep4.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.aep4
to verify consistency between
the distribution parameter object and the intent of the user.
Author(s)
W.H. Asquith
References
Asquith, W.H., 2014, Parameter estimation for the 4-parameter asymmetric exponential power distribution by the method of L-moments using R: Computational Statistics and Data Analysis, v. 71, pp. 955–970.
Delicado, P., and Goria, M.N., 2008, A small sample comparison of maximum likelihood, moments and L-moments methods for the asymmetric exponential power distribution: Computational Statistics and Data Analysis, v. 52, no. 3, pp. 1661–1673.
See Also
Examples
para <- vec2par(c(0,1, 0.5, 4), type="aep4")
if(are.paraep4.valid(para)) Q <- quaaep4(0.5,para)