powered by
Likelihood ratio for color variable
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 )
A value of Likelihood ratio based on preliminary investigation data. In this case, hair color.
MP hair color
epsilon paramenter.
error rate in the database.
number of simulations performed.
hair color probabilities.
hypothesis tested, H1: UHR is MP, H2: UHR is no MP
Query color tested.
compute LR values
For reproducible simulations
LRcol()
Run the code above in your browser using DataLab