Search for a tool
Sensitivity and Specificity

Tool for statistical calculation of Sensitivity and Specificity. Sensitivity and Specificity are two criteria of statistical measures evaluating probabilities of presence or absence of phenomena.

Results

Sensitivity and Specificity -

Tag(s) : Data Processing

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Feedback and suggestions are welcome so that dCode offers the best 'Sensitivity and Specificity' tool for free! Thank you!

# Sensitivity and Specificity

## Sensitivity and Specificity Calculator

### Calcul of Predictive Values, False Rates, etc.

⮞ Go to: Confusion Matrix

### How to calculate Sensitivity?

Statistically, sensitivity is the ratio of the number of true positives to the total number of positives (including those declared false by mistake).

$$\text {Sensitivity} = \frac {\text {True positives}} {\text {True positives} + \text {False negative}}$$

Example: A set of individuals: A,B,C,D,E (5 elements, all sick), with as declared as sick A,B,C (3 elements) and 'D,E 'declared not sick by mistake. Sensitivity is $$S = \frac{3}{5} = 60 \%$$

### How to calculate Specificity?

Specificity is the ratio of the number of true negatives to the total number of negative elements (including those declared true by mistake).

$$\text {Specificity} = \frac {\text {True negatives}} {\text {True negatives} + \text {False positives}$$

Example: A set of of individuals: A,B,C,D,E (5 elements, all healthy), with as declared healthy A,B (2 elements) and C,D,E declared sick by mistake. Specificity is $$S = \frac{2}{5} = 40 \%$$

### When to use sensitivity and specificity?

The most common use of sensitivity and specificity is for diagnostic tests of disease (which have an error rate), it is then possible to determine their quality: the more sensibility and specificity are strong (close to 1 or 100%), more they are reliable.

The calculation of predictive value involves both sensitivity and specificity values.

In computer science, prefer to use the values of precision and recall.

For the calculation of other values, see the confusion matrix.

## Source code

dCode retains ownership of the "Sensitivity and Specificity" source code. Except explicit open source licence (indicated Creative Commons / free), the "Sensitivity and Specificity" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Sensitivity and Specificity" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Sensitivity and Specificity" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Sensitivity and Specificity" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Sensitivity and Specificity on dCode.fr [online website], retrieved on 2024-09-10, https://www.dcode.fr/sensibility-specificity

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!