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



An object of class numeric of length 1.


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.


  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:

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