Learn R Programming

lmomco (version 2.4.14)

flo2f: Conversion of Conditional Nonexceedance Probability to Annual Nonexceedance Probability

Description

This function converts the conditional cumulative distribution function of \(P(x)\) to a cumulative distribution function \(F(x)\) based on the probability level of the left-hand threshold. It is recommended that this threshold (as expressed as a probability) be that value returned from x2xlo in attribute pp. The conversion is simple $$ F(x) = pp + (1 - pp)P(x)\mathrm{,} $$ where the term \(pp\) corresponds to the estimated probability or plotting position of the left-hand threshold.

This function is particularly useful for applications in which zero values in the data set require truncation so that logarithms of the data may be used. But also this function contributes to the isolation of the right-hand tail of the distribution for analysis by conditionally trimming out the left-hand tail at the analyst's discretion.

Usage

flo2f(f, pp=NA, xlo=NULL)

Value

A vector of converted nonexceedance probabilities.

Arguments

f

A vector of nonexceedance probabilities.

pp

The plotting position of the left-hand threshold and recommended to come from x2xlo.

xlo

An optional result from x2xlo from which the pp will be take instead of from the argument pp.

Author

W.H. Asquith

See Also

x2xlo, f2flo

Examples

Run this code
flo2f(f2flo(.73,pp=.1),pp=.1)
# Also see examples for x2xlo().

Run the code above in your browser using DataLab