statable Statistics for study and research

Matthews correlation coefficient (MCC)

A performance measure for a four-fold table of prediction and reality. It is the correlation (phi) between the two and lies between -1 and 1. Unlike accuracy it takes all four cells into account and stays informative with very unequal groups.

Example: Of 200 cases: 40 true positive, 10 false negative, 20 false positive, 130 true negative. MCC = (40 · 130 - 20 · 10)/√(60 · 50 · 150 · 140) = 0.63.

Caution: The value is a single number for the whole table and does not show whether errors are mostly false positive or false negative.

Related

Open in Statable