multivar_kernel_LR: Calculates likelihood ratio based on MVKD

View source: R/multivar_kernel_LR.r

multivar_kernel_LRR Documentation

Calculates likelihood ratio based on MVKD

Description

This function is in part an adaptation of Morrison, G.S. (2007). Matlab implementation of Aitken & Lucy\'s (2004) forensic likelihood-ratio software using multivariate-kernel-density estimation. [Software]. (http://geoff-morrison.net/#MVKD) For details of how MVKD works, see Aitken, C.G.G. & Lucy, D. (2004). Evaluation of trace evidence in the form of multivariate data. Applied Statistics, 54, 109-122.

Usage

multivar_kernel_LR(sus_data, off_data, bg, bg_stat = NULL)

Arguments

sus_data

A matrix containing all suspect data to be compared

off_data

A matrix containing all offender data to be compared

bg

A data frame that contains all data in the background model. The first column identifies the speaker.

bg_stat

(Optional) Data frame of pre-calculated means and covariance matrices. Avoid providing your own bg_stat at all cost, because it will be generated within if left blank. It exists primarily for use in conjunction with MVKD_loop(), which will generate it in prior to save computation time.

Value

Numeric. The log-likelihood ratio.


justinjhlo/fvclrr documentation built on June 27, 2022, 11:19 a.m.