Description Usage Format Details See Also Examples
freq
is a list of named numeric variables
containing 11 frequencies:
1 |
An object of class list
of length 11.
the population size N
the number of cases for which cond.true
the number of cases for which cond.false
the number of cases for which dec.pos
the number of cases for which dec.neg
the number of cases for which dec.cor
the number of cases for which dec.err
the number of true positives, or hits hi
the number of false negatives, or misses mi
the number of false positives, or false alarms fa
the number of true negatives, or correct rejections cr
These frequencies are computed from basic parameters
(contained in num
) and computed by using
comp_freq
.
The list freq
is the frequency counterpart
to the list containing probability information prob
.
Natural frequencies are always expressed in
relation to the current population of
size N
.
Key relationships:
to probabilities:
A population of N
individuals can be split into 2 subsets
in 2 different ways:
by condition:
The frequency cond.true
depends on the prevalence prev
and
the frequency cond.false
depends on the prevalence's complement (1 - prev)
.
by decision:
The frequency dec.pos
depends on the proportion of positive decisions ppod
and
the frequency dec.neg
depends on the proportion of negative decisions (1 - ppod)
.
The population size N
is a free parameter (independent of the
essential probabilities prev
, sens
, and spec
).
If N
is unknown, a suitable minimum value can be computed by comp_min_N
.
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)
Visualizations of the current frequency information
are provided by plot_tree
and
plot_mosaic
.
comp_freq
computes current frequency information;
num
contains basic numeric variables;
init_num
initializes basic numeric variables;
prob
contains current probability information;
num
contains basic numeric parameters;
init_num
initializes basic numeric parameters;
txt
contains current text information;
init_txt
initializes text information;
pal
contains current color information;
init_pal
initializes color information.
Other lists containing current scenario information: accu
,
num
, pal
, prob
,
txt
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.