SHE is used to calculate y values at given x values using the Sitthiyot-Holasut equation. The equation describes the y coordinates of the Lorenz curve.
UTF-8
SHE(P, x)
Arguments
P: the parameters of the Sitthiyot-Holasut equation.
Here, x and y represent the independent and dependent variables, respectively; and δ, ρ, ω and P are constants to be estimated, where 0≤δ<1, 0≤ρ≤1, 0≤ω≤1, and P≥1. There are four elements in P, representing the values of δ, ρ, ω and P, respectively.
Returns
The y values predicted by the Sitthiyot-Holasut equation.
Note
The numerical range of x should range between 0 and 1. When x<δ, the x value is assigned to be δ.
References
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