Wolfram Computation Meets Knowledge

Specificity

Specificity (also called the true negative rate) measures the proportion of negatives that are correctly identified as such (i.e. the percentage of healthy people who are correctly identified as not having the condition).

The specificity equals the true negatives divided by the sum of the false positives and the true negatives.

Formula

QuantityVariable["spec", "Unitless"] == QuantityVariable["tn", "Unitless"]/(QuantityVariable["fp", "Unitless"] + QuantityVariable["tn", "Unitless"])

symbol description physical quantity
spec specificity "Unitless"
tn true negatives "Unitless"
fp false positives "Unitless"

Forms

Examples

Get the resource:

In[1]:=
ResourceObject["Specificity"]
Out[1]=

Get the formula:

In[2]:=
FormulaData[ResourceObject["Specificity"]]
Out[2]=

Use some values:

In[3]:=
FormulaData[
 ResourceObject[
  "Specificity"], {QuantityVariable["spec","Unitless"] -> 0.8571`}]
Out[3]=

Publisher Information