Calculate Youden Index from sensitivity and specificity, derive it from a confusion matrix, or find the cutoff threshold that maximizes J.

J gives sensitivity and specificity equal weight. Maximizing it among entered thresholds does not establish a clinically appropriate cutoff; consider validation, prevalence and error consequences.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Youden J from ratesFinds the Youden index at one thresholdRequires the sensitivity and the specificity, as proportions or percentages
Sensitivity from JFinds the sensitivity that a J value and a specificity implyRequires the Youden J and the specificity
Specificity from JFinds the specificity that a J value and a sensitivity implyRequires the Youden J and the sensitivity
J from confusion countsFinds J, sensitivity and specificity from a 2 ร— 2 tableRequires the counts of true positives, false positives, false negatives and true negatives
Best cutoff โ€” rate rowsFinds the threshold with the largest J among the thresholds enteredRequires one row per threshold with the threshold, its sensitivity and its specificity
Best cutoff โ€” count rowsFinds the threshold with the largest J from counts at each thresholdRequires one row per threshold with the threshold and its true positive, false positive, false negative and true negative counts

Results can be shown as a proportion or a percent. The two cutoff functions take up to 500 comma-separated rows, and the example presets fill in sample values.

Youden Index Formula

J = Se + Sp โˆ’ 1 [1]
JYouden index, from โˆ’1 to 1
SeSensitivity, the true positive rate
SpSpecificity, the true negative rate

Youden J from rates

A sensitivity of 0.85 and a specificity of 0.75 give J = 0.85 + 0.75 โˆ’ 1 = 0.6, or 60%. J is 1 when both rates are perfect. It is 0 when the sensitivity equals the false positive rate, which is what a test that cannot tell the two groups apart gives at that threshold. A negative J means the test separates the groups in the wrong direction. The same value comes from sensitivity minus the false positive rate.

Sensitivity from J

Se = J + 1 โˆ’ Sp

J = 0.6 with a specificity of 0.75 gives a sensitivity of 0.85. A combination that would put the sensitivity outside 0 to 1, such as J = 0.9 with a specificity of 0.05, is rejected.

Specificity from J

Sp = J + 1 โˆ’ Se

J = 0.6 with a sensitivity of 0.85 gives a specificity of 0.75.

J from confusion counts

Se = TP รท (TP + FN)

Specificity is Sp = TN รท (TN + FP). With 80 true positives, 10 false positives, 20 false negatives and 90 true negatives, the sensitivity is 80 รท 100 = 0.8, the specificity is 90 รท 100 = 0.9 and J = 0.7.

Best cutoff โ€” rate rows

J is worked out for every row and the largest one is picked. The cut-point with the largest J is called the optimal cut-point when sensitivity and specificity are given equal weight [1]. In the eight-row proportion example, the threshold 0.40 has a sensitivity of 0.86 and a specificity of 0.84, so J = 0.70, the largest of the eight. When rows tie, the one with the higher sensitivity is picked, then the lower threshold.

Best cutoff โ€” count rows

The counts in each row are turned into a sensitivity and a specificity first. In the five-row example, threshold 5 has 80 true positives and 40 false negatives, a sensitivity of 0.6667, and 160 true negatives and 20 false positives, a specificity of 0.8889. Its J of 0.5556 is the largest of the five.

Limits of This Estimate

  • J gives a missed case and a false alarm the same weight [1]. A cutoff for use on patients also depends on how common the condition is and on what each kind of error costs, so the largest J does not settle it.
  • The cutoff functions compare only the rows entered. They do not fit a ROC curve, and they give no confidence interval.
  • J at one threshold describes that threshold only. A J of 0 there does not show the test fails at every threshold.

Sources