Description Usage Arguments Details Value Author(s) References See Also Examples

Computes the likelihood ratio for the given hypotheses and finally calculates a p-value corresponding to the likelihood ratio. The p-value is the probability of observing a likelihood ratio at least as large as the one observed, given that the defense hypothesis is true.

1 |

`sampleData` |
Data frame or matrix with sample profile. Each column represent an allele, each row represent a marker. Only autosomal markers. Marker names that correspond with markers in allele frequency database must be given as row names. |

`victimData` |
Data frame or matrix with victim profile. Each column represent an allele, each row represent a marker. Only autosomal markers. Markers must be in the same order as for sampleData. |

`suspectData` |
Data frame or matrix with suspect profile. Each column represent an allele, each row represent a marker. Only autosomal markers. Markers must be in the same order as for victimData and sampleData. |

`db` |
Data frame with allele frequencies. Data for the various markers are stacked. First column contains marker names, each name repeated as many times as there are alleles for the marker. Second column contains the allele names and third column contains the frequencies. |

`hp` |
Prosecution hypothesis. A character vector of all contributors under $H_p$, where S denotes suspect, V victim and U unknown. E.g. if the hypothesis is that the sample is a mixture of the suspect, the victim and one unknown, this is specified with the vector c('S','V,'U'). |

`hd` |
Defense hypothesis. A character vector of all contributors under $H_d$, specified like hp. E.g. if the hypothesis is that the sample is a mixture of the suspect, and two unknowns, this is specified with the vector c('S','U,'U'). |

`prD` |
Probability of drop-out. A number between 0 and 1. |

`prC` |
Probability of drop-in. A number between 0 and 1. |

The function is a wrapper for pvalue.machine. Likelihood ratios are computed with the LR function in forensim. Use pvalue.machine for a more generic function that is independent of LR model.

`LR` |
Likelihood ratio |

`pvalue` |
P-value corresponding to the likelihood ratio |

Guro Dorum <[email protected]>

Dorum et al. Exact computation of the distribution of likelihood ratios with forensic applications. FSI: Genetics, 9, 2014, doi: http://dx.doi.org/10.1016/j.fsigen.2013.11.008

1 2 3 |

euroMix documentation built on May 29, 2017, 7:21 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.