View source: R/exclusionPower.R
exclusionPower | R Documentation |
Calculates the exclusion power
1-2\left(\sum_{i=1}^{n_l}p_i^2\right)^2-4\sum_{i=1}^{n_l}p_i^4
at each locus for a set of allele frequencies.
exclusionPower(Freqs)
Freqs |
A list containing two vectors and a list, called loci, counts, and freqs. The elements of loci are the loci present in the multiplex. The elements are freqs a vectors of allele frequencies for the locus. The elements of counts are irrelevant here. |
The exclusion power for each locus.
James M. Curran
NRC II, Evaluation of Forensic Evidence, (1996), p.96, National Academy Press.
data(USCaucs)
ep(USCaucs)
## get the multiplex wide exclusion power
1 - prod(1-ep(USCaucs))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.