a number (or vector if input is InSilicoVA fitted object) of CSMF accuracy as 1 - sum(abs(CSMF - CSMF_true)) / (2 * (1 - min(CSMF_true))).
Arguments
csmf
a CSMF vector from getCSMF or a InSilicoVA fitted object.
truth
a CSMF vector of the true CSMF.
undet
name of the category denoting undetermined causes. Default to be NULL. If undetermined cause is present, it will be removed and the rest of the CSMF will be re-normalized to sum to 1.
See Also
Other output extraction:
getCCC(),
getCSMF(),
getIndivProb(),
getTopCOD()