Last chance! 50% off unlimited learning
Sale ends in
parrevgum
are consistent with the corresponding distribution,
otherwise a list would not have been returned. However, other
functions (cdfrevgum
, quarevgum
, and
lmomrevgum
require consistent parameters to return the cumulative
probability (nonexceedance), quantile, and L-moments of the distribution,
respectively. These functions internally use the are.parrevgum.valid
function.are.parrevgum.valid(para,nowarn=FALSE)
parrevgum
.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 arevgum
consistent.revgum
consistent.is.revgum
para <- vec2par(c(.9252, .1636, .7),type='revgum')
if(are.parrevgum.valid(para)) Q <- quarevgum(0.5,para)
Run the code above in your browser using DataLab