• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • My Store
  • Glossary
  • Home
  • About Me
  • Contact Me

Statistics By Jim

Making statistics intuitive

  • Graphs
  • Basics
  • Hypothesis Testing
  • Regression
  • ANOVA
  • Probability
  • Time Series
  • Fun
  • Calculators

ROC Curve

By Jim Frost

« Back to Glossary Index

An ROC curve (receiver operating characteristic curve) is a graph that shows the performance of a binary classification model by plotting the true positive rate against the false positive rate at various threshold settings. Analysts commonly use it in conjunction with logistic regression, machine learning classifiers, and diagnostic test evaluation. The curve illustrates the trade-off between sensitivity (true positive rate) and specificity (1 – false positive rate). A model with a curve closer to the top-left corner generally performs better.

To determine the false positive rate, the ROC curve examines how often the model incorrectly classifies a negative case as positive. This is assessed at different thresholds—cutoff values used to decide whether a prediction is labeled as positive or negative. At each possible decision threshold, it calculates the percentage of actual negatives that were mistakenly labeled as positives. By comparing this with the true positive rate across different thresholds, the ROC curve helps identify where the model performs best without too many false alarms.

For example, in a medical test that assigns a risk score from 0 to 1, setting the threshold at 0.5 might mean anyone with a score above 0.5 is classified as “positive.” By shifting the threshold up or down, you change how sensitive or specific the test is. The ROC curve compares the true and false positive rates across these different thresholds to help identify the best threshold value for deciding whether a test result should be considered positive or negative. A high area under the curve (AUC) indicates that the test has strong overall accuracy.

ROC curve example.

ROC Curve by Davide Chicco and Giuseppe Jurman, “The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification”, BioData Mining 16, 4 (2023). https://doi.org/10.1186/s13040-023-00322-4, CC BY 4.0, Link

Related

Synonyms:
Receiver Operating Characteristic Curve
Related Articles:
  • Logistic Regression Overview with Example
  • Logistic Regression Overview with Example
« Back to Glossary Index

Primary Sidebar

Meet Jim

I’ll help you intuitively understand statistics by focusing on concepts and using plain English so you can concentrate on understanding your results.

Read More...

Buy My Introduction to Statistics Book!

Cover of my Introduction to Statistics: An Intuitive Guide ebook.

Buy My Hypothesis Testing Book!

Cover image of my Hypothesis Testing: An Intuitive Guide ebook.

Buy My Regression Book!

Cover for my ebook, Regression Analysis: An Intuitive Guide for Using and Interpreting Linear Models.

Subscribe by Email

Enter your email address to receive notifications of new posts by email.

    I won't send you spam. Unsubscribe at any time.

    Buy My Thinking Analytically Book!

    Cover for my book, Thinking Analytically: An Guide for Making Data-Driven Decisions.

    Top Posts

    • F-table
    • Cronbach’s Alpha: Definition, Calculations & Example
    • Z-table
    • How To Interpret R-squared in Regression Analysis
    • Multicollinearity in Regression Analysis: Problems, Detection, and Solutions
    • How to Interpret P-values and Coefficients in Regression Analysis
    • Box Plot Explained with Examples
    • Interpreting Correlation Coefficients
    • Cohens D: Definition, Using & Examples
    • T-Distribution Table of Critical Values

    Recent Posts

    • Data Collection Methods: Step-By-Step Guide with Examples
    • ANOVA Calculator
    • Positive Predictive Value: Meaning, Formula, and Interpretation
    • Median Absolute Deviation Calculator
    • Median Absolute Deviation: Definition, Finding & Formula
    • Outlier Calculator

    Recent Comments

    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Skata na fas on Comparing Regression Lines with Hypothesis Tests
    • Jim Frost on Pareto Chart: Making, Reading & Examples

    Copyright © 2026 · Jim Frost · Privacy Policy