GeneralConfusionMatrixPearson Property |
Namespace: Accord.Statistics.Analysis
Pearson's C measures the degree of association between the two variables. However, C suffers from the disadvantage that it does not reach a maximum of 1 or the minimum of -1; the highest it can reach in a 2 x 2 table is .707; the maximum it can reach in a 4 × 4 table is 0.870. It can reach values closer to 1 in contingency tables with more categories. It should, therefore, not be used to compare associations among tables with different numbers of categories. For a improved version of C, see Sakoda.
References: http://en.wikipedia.org/wiki/Contingency_table