LRcol: Likelihood ratio for color variable

View source: R/LRcol.R

LRcolR Documentation

Likelihood ratio for color variable

Description

Likelihood ratio for color variable

Usage

LRcol(
  MPc = 1,
  epc = Cmodel(),
  erRc = epc,
  nsims = 1000,
  Pc = c(0.3, 0.2, 0.25, 0.15, 0.1),
  H = 1,
  Qprop = MPc,
  LR = FALSE,
  seed = 1234
)

Arguments

MPc

MP hair color

epc

epsilon paramenter.

erRc

error rate in the database.

nsims

number of simulations performed.

Pc

hair color probabilities.

H

hypothesis tested, H1: UHR is MP, H2: UHR is no MP

Qprop

Query color tested.

LR

compute LR values

seed

For reproducible simulations

Value

A value of Likelihood ratio based on preliminary investigation data. In this case, hair color.

Examples

LRcol() 

mispitools documentation built on Sept. 11, 2024, 8:29 p.m.