powered by
Likelihood ratio for sex variable
LRsex( MPs = "F", eps = 0.05, erRs = eps, nsims = 1000, Ps = c(0.5, 0.5), H = 1, LR = FALSE, seed = 1234 )
A value of Likelihood ratio based on preliminary investigation data. In this case, sex.
MP sex
epsilon paramenter.
error rate in the database.
number of simulations performed.
Sex probabilities in the population.
hypothesis tested, H1: UHR is MP, H2: UHR is no MP
compute LR values
For reproducible simulations
LRsex()
Run the code above in your browser using DataLab