ROC and AUC in R @statquest
ROC and AUC in R  @statquest
Uploaded December 2018 | Updated September 2026, 1 week ago
This tutorial walks you through, step-by-step, how to draw ROC curves and calculate AUC in R. We start with basic ROC graph, learn how to extract thresholds for decision making, calculate AUC and partial AUC and how to layer multiple ROC curves on the same graph.

You can get a copy of the code from the StatQuest GitHub, here:
github.com/StatQuest/roc_and_auc_demo/blob/master/roc_and_auc_demo.R

NOTE: This StatQuest builds on the example in the original ROC and AUC StatQuest:
youtu.be/xugjARegisk

Also, if you're curious, here are some links to StatQuests about...
...Logistic Regression
youtu.be/yIYKR4sgzI8

...and Random Forests...
youtu.be/J4Wdy0Wc_xQ

For a complete index of all the StatQuest videos, check out:
statquest.org/video-index

If you'd like to support StatQuest, please consider...

Patreon: patreon.com/statquest
...or...
YouTube Membership: youtube.com/channel/UCtYLUTtgS3k1Fg4y5tAhLbw/join

...buying one of my books, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...
statquest.org/statquest-store

...or just donating to StatQuest!
paypal.me/statquest

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
twitter.com/joshuastarmer

#statquest #ROC #AUC
ROC and AUC in RType 2 ErrorsCovariance, Clearly Explained!!!The Golden Play Button, Clearly Explained!!!’Human Stories in AI: Brian Risk@devra.aiGradient Descent, Step-by-StepWhy Dividing By N Underestimates the VarianceThe AI Buzz, Episode #4: ChatGPT + Bing and How to start an AI company in 3 easy steps.Happy DaysLive 2020-04-06!!! Naive Bayes: GaussianStochastic Gradient Descent, Clearly Explained!!!Machine Learning Fundamentals: Sensitivity and Specificity
StatQuest with Josh Starmer |

ROC and AUC in R

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER