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: NOTE: This StatQuest builds on the example in the original ROC and AUC StatQuest: Also, if you're curious, here are some links to StatQuests about... ...Logistic Regression ...and Random Forests... ⭐ NOTE: When I code, I use Kite, a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I love it!
Hide player controls
Hide resume playing