exclusionPower: Calculate the exclusion power of a multiplex by locus

View source: R/exclusionPower.R

exclusionPowerR Documentation

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)

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.

Value

The exclusion power for each locus.

Author(s)

James M. Curran

References

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

Examples


data(USCaucs)
ep(USCaucs)

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


relSim documentation built on Aug. 29, 2023, 9:07 a.m.