| dec_pos {riskyr} | R Documentation |
Number of individuals for which the decision is positive.
Description
dec_pos is a frequency that describes the
number of individuals in the current population N
for which the decision is positive (i.e., called or predicted cases).
Usage
dec_pos
Format
An object of class numeric of length 1.
Details
Key relationships:
to probabilities: The frequency of
dec_posindividuals depends on the population sizeNand the decision's proportion of positive decisionsppodand is split further into two subsets ofhiby the positive predictive valuePPVandfaby the false detection rateFDR = 1 - PPV.Perspectives:
by condition:
The frequency
dec_posis determined by the population sizeNtimes the proportion of positive decisionsppod:by decision:
a. The frequency
hiis determined bydec_postimes the positive predictive valuePPV(aka.precision):b. The frequency
fais determined bydec_postimes the false detection rateFDR = (1 - PPV):
to other frequencies: In a population of size
Nthe following relationships hold:
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_err,
dec_neg,
fa,
hi,
mi
Examples
dec_pos <- 1000 * .33 # => sets dec_pos to 33% of 1000 = 330 cases.
is_freq(dec_pos) # => TRUE
is_prob(dec_pos) # => FALSE, as dec_pos is no probability (but ppod and PPV are)