cond.true is a frequency that describes the
number of individuals in the current population
for which the condition is
TRUE (i.e., actually true cases).
An object of class
numeric of length 1.
The frequency of
cond.true individuals depends on the population size
the condition's prevalence
prev and is split further into two subsets of
hi by the sensitivity
mi by the miss rate
cond.true is determined by the population size
N times the prevalence
cond.true = N x prev
a. The frequency
hi is determined by
cond.true times the sensitivity
(aka. hit rate
hi = cond.true x sens
b. The frequency
mi is determined by
cond.true times the miss rate
mirt = (1 - sens):
mi = cond.true x mirt = cond.true x (1 - sens)
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)
Current frequency information is computed by
comp_freq and contained in a list
Consult Wikipedia: Confusion matrix for additional information.
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.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.