hi: Frequency of hits or true positives (TP).

hiR Documentation

Frequency of hits or true positives (TP).

Description

hi is the frequency of hits or true positives (TP) in a population of N individuals.

Usage

hi

Format

An object of class numeric of length 1.

Details

Definition: hi is the frequency of individuals for which Condition = TRUE and Decision = TRUE (positive).

hi is a measure of correct classifications, not an individual case.

Relationships:

  1. to probabilities: The frequency hi depends on the sensitivity sens (aka. hit rate or true positive rate, TPR) and is conditional on the prevalence prev.

  2. to other frequencies: In a population of size N the following relationships hold:

    • N = cond_true + cond_false (by condition)

    • N = dec_pos + dec_neg (by decision)

    • N = dec_cor + dec_err (by correspondence of decision to condition)

    • N = hi + mi + fa + cr (by condition x decision)

See Also

sens is the probability of hits or hit rate HR; num contains basic numeric parameters; init_num initializes basic numeric parameters; freq contains current frequency information; comp_freq computes current frequency information; prob contains current probability information; comp_prob computes current probability information; is_freq verifies frequencies.

Other frequencies: N, cond_false, cond_true, cr, dec_cor, dec_err, dec_neg, dec_pos, fa, mi

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


riskyr documentation built on Aug. 15, 2022, 9:09 a.m.