Compute a single L-moment from a cumulative distribution function. This function is sequentially called by cdf2lmoms
to mimic the output structure for multiple L-moments seen by other L-moment computation functions in lmomco.
For
cdf2lmom(r, para, fdepth=0, silent=TRUE, ...)
The order of the L-moment.
The parameters from lmom2par
or similar.
The depth of the nonexceedance/exceedance probabilities to determine the lower and upper integration limits for the integration involving par2qua
function. The default of 0 implies the quantile for
A logical to be passed into cdf2lmom
and then onto the try
functions encompassing the integrate
function calls.
The value for the requested L-moment is returned (
Asquith, W.H., 2011, Distributional analysis with L-moment statistics using the R environment for statistical computing: Createspace Independent Publishing Platform, ISBN 978--146350841--8.
Hosking, J.R.M., 1996, Some theoretical results concerning L-moments: Research Report RC14492, IBM Research Division, T.J. Watson Research Center, Yorktown Heights, New York.
Jones, M.C., 2004, On some expressions for variance, covariance, skewness and L-moments: Journal of Statistical Planning and Inference, v. 126, pp. 97--106.
# NOT RUN {
para <- vec2par(c(.9,.4), type="nor")
cdf2lmom(4, para) # summarize the value
# }
Run the code above in your browser using DataLab