Learn R Programming

lmomco (version 2.3.1)

riglmomco: Income Gap Ratio Quantile Function for the Distributions

Description

This function computes the Income Gap Ratio for quantile function \(x(F)\) (par2qua, qlmomco). The function is defined by Nair et al. (2013, p. 230) as $$G(u) = 1 - \frac{{}_\mathrm{r}\lambda_1(u)}{x(u)}\mbox{,}$$ where \(G(u)\) is the income gap quantile for nonexceedance probability \(u\), \(x(u)\) is a constant for \(x(F = u)\) is the quantile for \(u\), and \({}_\mathrm{r}\lambda_1(u)\) is the 1st reversed residual life L-moment (rreslife.lmoms).

Usage

riglmomco(f, para)

Arguments

f

Nonexceedance probability (\(0 \le F \le 1\)).

para

The parameters from lmom2par or vec2par.

Value

Income gap ratio quantile value for \(F\).

References

Nair, N.U., Sankaran, P.G., and Balakrishnan, N., 2013, Quantile-based reliability analysis: Springer, New York.

See Also

qlmomco, rreslife.lmoms

Examples

Run this code
# NOT RUN {
# Let us parametize some "income" distribution.
A <- vec2par(c(123, 264, 2.11), type="gov")
riglmomco(0.5, A)
# }
# NOT RUN {
F <- nonexceeds(f01=TRUE)
plot(F, riglmomco(F,A), type="l",
     xlab="NONEXCEEDANCE PROBABILITY", ylab="INCOME GAP RATIO")
# }

Run the code above in your browser using DataLab