Sensitivity vs Specificity
Trade-off curve as the decision threshold moves.
Rendering…
Make it your own.
{
"data": [
{ "type":"scatter","mode":"lines+markers","name":"Sensitivity",
"x":[0.05,0.15,0.25,0.35,0.45,0.55,0.65,0.75,0.85,0.95],
"y":[0.99,0.97,0.94,0.90,0.84,0.76,0.66,0.52,0.34,0.15],
"line":{"color":"#3666ff"} },
{ "type":"scatter","mode":"lines+markers","name":"Specificity",
"x":[0.05,0.15,0.25,0.35,0.45,0.55,0.65,0.75,0.85,0.95],
"y":[0.20,0.36,0.50,0.62,0.74,0.83,0.90,0.95,0.98,0.995],
"line":{"color":"#16a34a"} },
{ "type":"scatter","mode":"markers","name":"Youden's J max",
"x":[0.55],"y":[0.83],"marker":{"size":12,"color":"#dc2626"} }
],
"layout":{
"title":"Sensitivity vs Specificity by threshold",
"xaxis":{"title":"Decision threshold","range":[0,1]},
"yaxis":{"title":"Rate","range":[0,1.02]}
}
}