paraep4
are consistent with the corresponding distribution,
otherwise a list would not have been returned. However, other
functions (cdfaep4
, quaaep4
, and
lmomaep4
require consistent parameters to return the cumulative
probability (nonexceedance), quantile, and L-moments of the distribution,
respectively. These functions internally use the are.paraep4.valid
function.are.paraep4.valid(para,nowarn=FALSE)
paraep4
.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 aaep4
consistent.aep4
consistent.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.
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.
is.aep4
para <- vec2par(c(0,1, 0.5, 4), type="aep4")
if(are.paraep4.valid(para)) Q <- quaaep4(0.5,para)
Run the code above in your browser using DataLab