Learn R Programming

relSim (version 1.0.0)

exclusionPower: Calculate the exclusion power of a multiplex by locus

Description

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.

Usage

exclusionPower(Freqs)

Value

The exclusion power for each locus.

Arguments

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.

Author

James M. Curran

References

NRC II, Evaluation of Forensic Evidence, (1996), p.96, National Academy Press.

Examples

Run this code

data(USCaucs)
ep(USCaucs)

## get the multiplex wide exclusion power
1 - prod(1-ep(USCaucs))

Run the code above in your browser using DataLab