Click or drag to resize
Accord.NET (logo)

GeneralConfusionMatrixPearson Property

Pearson's contingency coefficient C.

Namespace:  Accord.Statistics.Analysis
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
public double Pearson { get; }
Request Example View Source

Property Value

Type: Double

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.


See Also