cdfkap: Cumulative Distribution Function of the Kappa Distribution In lmomco: L-Moments, Censored L-Moments, Trimmed L-Moments, L-Comoments, and Many Distributions

Description

This function computes the cumulative probability or nonexceedance probability of the Kappa of the distribution computed by parkap. The cumulative distribution function is

F(x) = ≤ft(1-h≤ft(1-\frac{κ(x-ξ)}{α}\right)^{1/κ}\right)^{1/h} \mbox{,}

where F(x) is the nonexceedance probability for quantile x, ξ is a location parameter, α is a scale parameter, κ is a shape parameter, and h is another shape parameter.

Usage

 1 cdfkap(x, para) 

Arguments

 x A real value vector. para The parameters from parkap or vec2par.

Value

Nonexceedance probability (F) for x.

W.H. Asquith

References

Hosking, J.R.M., 1994, The four-parameter kappa distribution: IBM Journal of Reserach and Development, v. 38, no. 3, pp. 251–258.

Hosking, J.R.M., and Wallis, J.R., 1997, Regional frequency analysis—An approach based on L-moments: Cambridge University Press.

pdfkap, quakap, lmomkap, parkap

Examples

 1 2  lmr <- lmoms(c(123,34,4,654,37,78,21,32,231,23)) cdfkap(50,parkap(lmr)) 

Example output

[1] 0.5762814


lmomco documentation built on March 18, 2018, 1:45 p.m.