SarabiaE is used to calculate y values at given x values using the Sarabia equation. The equation describes the y coordinates of the Lorenz curve.
UTF-8
SarabiaE(P, x)
Arguments
P: the parameters of the Sarabia equation.
x: the given x values ranging between 0 and 1.
Details
y=(1−λ+η)x+λxa1+1−η[1−(1−x)a2+1].
Here, x and y represent the independent and dependent variables, respectively; and λ, η, a1 and a2 are constants to be estimated, where a1≥0, a2+1≥0, ηa2+λ≤1, λ≥0, and ηa2≥0. There are four elements in P, representing the values of λ, η, a1 and a2, respectively.
Returns
The y values predicted by the Sarabia equation.
Note
The numerical range of x should range between 0 and 1.
References
Sarabia, J.-M. (1997) A hierarchy of Lorenz curves based on the generalized Tukey's lambda distribution. Econometric Reviews 16, 305−320. tools:::Rd_expr_doi("10.1080/07474939708800389")
Sitthiyot, T., Holasut, K. (2023) A universal model for the Lorenz curve with novel applications for datasets containing zeros and/or exhibiting extreme inequality. Scientific Reports