comp_FOR {riskyr} | R Documentation |
Compute a decision's false omission rate (FOR) from probabilities.
Description
comp_FOR
computes the false omission rate FOR
from 3 essential probabilities
prev
, sens
, and spec
.
Usage
comp_FOR(prev, sens, spec)
Arguments
prev |
The condition's prevalence |
sens |
The decision's sensitivity |
spec |
The decision's specificity value |
Details
comp_FOR
uses probabilities (not frequencies)
and does not round results.
Value
The false omission rate FOR
as a probability.
A warning is provided for NaN values.
See Also
comp_spec
and comp_NPV
compute related probabilities;
is_extreme_prob_set
verifies extreme cases;
comp_complement
computes a probability's complement;
is_complement
verifies probability complements;
comp_prob
computes current probability information;
prob
contains current probability information;
is_prob
verifies probabilities.
Other functions computing probabilities:
comp_FDR()
,
comp_NPV()
,
comp_PPV()
,
comp_accu_freq()
,
comp_accu_prob()
,
comp_acc()
,
comp_comp_pair()
,
comp_complement()
,
comp_complete_prob_set()
,
comp_err()
,
comp_fart()
,
comp_mirt()
,
comp_ppod()
,
comp_prob_freq()
,
comp_prob()
,
comp_sens()
,
comp_spec()
Examples
# (1) Ways to work:
comp_FOR(.50, .500, .500) # => FOR = 0.5 = (1 - NPV)
comp_FOR(.50, .333, .666) # => FOR = 0.5004 = (1 - NPV)