setDCF: This function allows to specify the Decision Cost Function

Description Usage Arguments Details Author(s) See Also Examples

Description

The decision cost function is typically specified for a particular evaluation, and does not change all the time. Hence we keep the parameters as globals in an environment .sretoolsEnv. This function allows to change the parameters.

Usage

1
setDCF(evaluation, prior=0.5, cfa=1, cmiss=1)

Arguments

evaluation

A stirng indicating the evaluation, “nist” or “evalita”

prior

the target prior

cfa

the cost of a false alarm

cmiss

the cost of a miss

Details

By specifiying evaluation the whole cost function can be set immediately.

Alternatively one or more parameters prior, cfa or cmiss can be specified.

Author(s)

David A. van Leeuwen

See Also

det.sre

Examples

1
2
data(ru.2009)
summary(det(ru.2009))

davidavdav/sretools.R documentation built on May 14, 2019, 10:37 p.m.