spec {riskyr}R Documentation

The specificity of a decision process or diagnostic procedure.

Description

spec defines a decision's specificity value (or correct rejection rate): The conditional probability of the decision being negative if the condition is FALSE.

Usage

spec

Format

An object of class numeric of length 1.

Details

Understanding or obtaining the specificity value spec:

References

Consult Wikipedia for additional information.

See Also

comp_spec computes spec as the complement of fart; prob contains current probability information; comp_prob computes current probability information; num contains basic numeric parameters; init_num initializes basic numeric parameters; comp_freq computes current frequency information; is_prob verifies probabilities.

Other probabilities: FDR, FOR, NPV, PPV, acc, err, fart, mirt, ppod, prev, sens

Other essential parameters: cr, fa, hi, mi, prev, sens

Examples

spec <- .75     # sets a specificity value of 75%
spec <- 75/100  # (decision = negative) for 75 out of 100 people with (condition = FALSE)
is_prob(spec)   # TRUE


[Package riskyr version 0.4.0 Index]