Usage
expectedUtility(dataset, label = "", bootModelCorClusters, columnsToRemove = c("Utp", "Lfp", "deltaPlus", "pi1Hat"), Utp, Lfp, deltaPlus, guarantee = 1e-09)
Arguments
dataset
A data frame or list from a call to
fit2clusters
, the posterior probabilities for each
observation, their variance estimates. See Details.
label
A text string describing the method being
studied, to label the return value. This is handy for
using rbind
to combine results for different
methods.
bootModelCorClusters
Source for mixture model
estimates. If missing, extracted from calling frame.
columnsToRemove
Names of columns to remove from
return value.
Utp
Utility of a true positive.
Lfp
Loss of a false positive.
deltaPlus
Parameter defined as Pr("+" | "+" or
"0")
guarantee
Minimum value for posterior
probability.