dec.err: Number of individuals for which the decision is erroneous.

Description Usage Format Details References See Also Examples

Description

dec.err is a frequency that describes the number of individuals in the current population N for which the decision is incorrect or erroneous (i.e., cases in which the decision does not correspond to the condition).

Usage

1

Format

An object of class numeric of length 1.

Details

Key relationships:

  1. to probabilities: The frequency of dec.err individuals depends on the population size N and is equal to the sum of false negatives mi and false positives fa.

  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)

    • dec.cor = hi + cr

    • dec.err = mi + fa

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

Current frequency information is computed by comp_freq and contained in a list freq.

References

Consult Wikipedia: Confusion matrix for additional information.

See Also

is_freq verifies frequencies; 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.

Other frequencies: N, cond.false, cond.true, cr, dec.cor, dec.neg, dec.pos, fa, hi, mi

Examples

1
2
3
dec.err <- 1000 * .50   # => sets dec.err to 50% of 1000 = 500 cases.
is_freq(dec.err)        # => TRUE
is_prob(dec.err)        # => FALSE, as dec.err is no probability (but acc, bacc/wacc ARE)

riskyr documentation built on Feb. 19, 2018, 5 p.m.