DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


Declaration: AdjustedRandIx (ContTab: TInt2DArray): double;
The function AdjustedRandIx calculates adjusted Rand index (a measure of similarity of two clusterings) of the two variables described by their contingency table ContTab. Note: Though the Rand index is limited to the interval [0,1] the adjusted Rand index may become negative if the calculated Rand index is less than the expected index.