This function calculates the Gini-Simpson diversity index for a sample of trapezoidal fuzzy numbers contained in a matrix F. The function first checks if the input matrix F is given in the correct form (tested by checkingTra).
Usage
GSI(F)
Arguments
F
matrix of dimension n x 4 containing n trapezoidal fuzzy numbers characterized by their four values inf0,inf1,sup1,sup0. The function implicitly checks if the matrix is in the correct form (tested by checkingTra).
Value
The function returns the Gini-Simpson diversity index, which is a real number.
Details
See examples
References
[1] De la Rosa de Saa, S.; Gil, M.A.; Gonzalez-Rodriguez, G.; Lopez, M.T.; Lubiano M.A.: Fuzzy rating scale-based questionnaires and their statistical analysis, IEEE Trans. Fuzzy Syst. 23(1), pp. 111-126 (2015)