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 you

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!

Team dCode likes feedback and relevant comments; to get an answer give an email (not published). It is thanks to you that dCode has the best Sensitivity and Specificity tool. Thank you.

# Sensitivity and Specificity

## Sensitivity and Specificity Calculator

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.

### 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.

In computer science one uses rather the values of precision and recall.

## Source code

dCode retains ownership of the source code of the script Sensitivity and Specificity online. Except explicit open source licence (indicated Creative Commons / free), any algorithm, applet, snippet, software (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt, encrypt, decipher, cipher, decode, code, translate) written in any informatic langauge (PHP, Java, C#, Python, Javascript, Matlab, etc.) which dCode owns rights will not be released for free. To download the online Sensitivity and Specificity script for offline use on PC, iPhone or Android, ask for price quote on contact page !