Independence Test is a method to judge the correlation between of items of row and and items of column.
Contingency Table
If there is no correlation all values should be equal. Independence test use this idea.
There are some indexes. Calculation is below.
NEXT Data Mining