powered by
postSim: A function for simulating posterior odds
postSim( datasim, Prior = 0.01, PriorModel = c("prelim", "uniform")[1], eps = 0.05, erRs = 0.01, epc = Cmodel(), erRc = Cmodel(), MPc = 1, epa = 0.05, erRa = 0.01, MPa = 10, MPr = 2 )
A value of posterior odds.
Output from simLRgen function.
Prior probability for H1
Prior odds model: "prelim" is based on preliminary data, and "uniform" uses only the prior probability of H1
epsilon parameter sex
error parameter sex
epsilon parameter hair color
error parameter hair color
Missing person hair color
epsilon parameter age
error parameter age
Missing person age
Missing person age error range
library(forrel) x = linearPed(2) plot(x) x = setMarkers(x, locusAttributes = NorwegianFrequencies[1:5]) x = profileSim(x, N = 1, ids = 2) datasim = simLRgen(x, missing = 5, 10, 123) postSim(datasim)
Run the code above in your browser using DataLab