This article explains multiple ways to calculate AUC mathematically along with step by step implementation guide in Python, SAS and R.
The Complete Guide to AUC and Average Precision: Simulations and Visualizations – Glass Box
Area Under the Curve (AUC): A Robust Performance Measure of Classification Models, by Orkun Orulluoğlu
The Complete Guide to AUC and Average Precision: Simulations and Visualizations – Glass Box
ROC curves and Area Under the Curve explained (video)
A Comprehensive Guide to ROC-AUC
PHAR 4634 - Chapter 4 Page 10
GraphPad Prism 10 Curve Fitting Guide - Interpreting Logistic ROC Curves
Methods to determine area under curve
Calculating AUC: the area under a ROC Curve (Revolutions)