Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Model Evaluation›Matthews Correlation Coefficient
MCDMClassification Metric

Matthews Correlation Coefficient

Matthews Correlation Coefficient (MCC) · Also known as: Phi Coefficient, Binary Classification Correlation

The Matthews Correlation Coefficient (MCC) is a correlation measure between predicted and actual binary classifications. It ranges from -1 to 1 and is considered one of the most reliable single-score metrics for evaluating binary classifiers, especially on imbalanced datasets.

ScholarGate
  1. MCDM
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Matthews Correlation Coefficient
Balanced AccuracyF1-ScorePrecisionRecall (Sensitivity)Youdens J StatisticConfusion MatrixSpecificity

When to use it

Use MCC as the primary metric for binary classification on imbalanced datasets. MCC is insensitive to class imbalance and does not reward predicting the majority class. It is particularly useful when you need a single score that accounts for all types of predictions and errors.

Strengths & limitations

Strengths
  • Symmetric metric treating both classes equally regardless of imbalance.
  • High only when the model performs well on both positive and negative classes.
  • Insensitive to class imbalance, making it ideal for imbalanced datasets.
  • Accounts for all four elements of the confusion matrix.
Limitations
  • Not interpretable as a probability, which can confuse some practitioners.
  • Can be undefined (denominator = 0) on edge cases with perfect or zero predictions for one class.
  • Less intuitive than metrics like precision or recall for practitioners unfamiliar with correlation statistics.
  • Less commonly reported than F1-score or balanced accuracy, making comparison with other studies challenging.

Frequently asked

How does MCC compare to F1-score for imbalanced datasets?

Both are robust to imbalance, but they emphasize different aspects. MCC is a symmetric correlation treating both classes equally. F1-score focuses on the positive class only. For binary imbalanced problems, MCC is often preferred because it ensures performance on both classes. For problems where the positive class is the only concern (e.g., fraud detection), F1-score may be preferable.

What does negative MCC mean?

Negative MCC indicates systematic inverse predictions: the model tends to predict positive when cases are actually negative and vice versa. An MCC of -1 would mean perfect but inverted predictions. Negative MCC is worse than random (MCC = 0) and indicates a fundamentally broken classifier.

Can MCC be computed for multi-class problems?

The original MCC formula applies to binary classification. For multi-class problems, you can compute per-class MCC (treating each class as positive vs. all others) or use extensions like the multi-class MCC, but these are less common and require careful interpretation.

Sources

  1. Matthews, B. W. (1975). Comparison of predicted and observed secondary structure of T4 phage lysozyme. Biochimica et Biophysica Acta (BBA)-Protein Structure, 405(2), 442-451. DOI: 10.1016/0005-2795(75)90109-9 ↗
  2. Powers, D. M. (2011). Evaluation: From Precision, Recall and F-Measure to ROC, Informedness, Markedness and Correlation. Journal of Machine Learning Technologies, 2(1), 37-63. link ↗

How to cite this page

ScholarGate. (2026, June 3). Matthews Correlation Coefficient (MCC). ScholarGate. https://scholargate.app/en/model-evaluation/matthews-correlation-coefficient

Related methods

Balanced AccuracyF1-ScorePrecisionRecall (Sensitivity)Youdens J Statistic

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Balanced AccuracyModel Evaluation↔ compare
  • F1-ScoreModel Evaluation↔ compare
  • PrecisionModel Evaluation↔ compare
  • Recall (Sensitivity)Model Evaluation↔ compare
  • Youdens J StatisticModel Evaluation↔ compare
Compare side by side →

Referenced by

Balanced AccuracyConfusion MatrixPrecisionRecall (Sensitivity)Specificity

Similar methods

AccuracyF1-ScoreBalanced AccuracyConfusion MatrixMacro-averaged F1F-beta ScoreSpecificityPrecision

Related reference concepts

Performance MetricsCorrelation and CovarianceAssociation MeasuresSensitivityModel Evaluation and SelectionSpecificity

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Matthews Correlation Coefficient (Matthews Correlation Coefficient (MCC)). Retrieved 2026-07-21 from https://scholargate.app/en/model-evaluation/matthews-correlation-coefficient · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Brian W. Matthews
Subfamily
Classification Metric
Year
1975
Type
Evaluation metric
Related methods
Balanced AccuracyF1-ScorePrecisionRecall (Sensitivity)Youdens J Statistic
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account