fart: The false alarm rate (or false positive rate) of a decision...

Description Usage Format Details References See Also Examples

Description

fart defines a decision's false alarm rate (or the rate of false positives): The conditional probability of the decision being positive if the condition is FALSE.

Usage

1

Format

An object of class numeric of length 1.

Details

Understanding or obtaining the false alarm rate fart:

References

Consult Wikipedia for additional information.

See Also

comp_fart computes fart as the complement of spec prob contains current probability information; comp_prob computes current probability information; num contains basic numeric parameters; init_num initializes basic numeric parameters; comp_freq computes current frequency information; is_prob verifies probabilities.

Other probabilities: FDR, FOR, NPV, PPV, acc, err, mirt, ppod, prev, sens, spec

Examples

1
2
3
fart <- .25     # sets a false alarm rate of 25%
fart <- 25/100  # (decision = positive) for 25 out of 100 people with (condition = FALSE)
is_prob(fart)   # TRUE

riskyr documentation built on Jan. 3, 2019, 1:06 a.m.