LRdate {mispitools} | R Documentation |
Likelihood ratio for birth date in missing person searches
Description
Likelihood ratio for birth date in missing person searches
Usage
LRdate(
ABD = "1976-05-31",
DBD = "1976-07-15",
PrelimData,
alpha = c(1, 4, 60, 11, 6, 4, 4),
cuts = c(-120, -30, 30, 120, 240, 360),
draw = 500,
type = 1,
seed = 123
)
Arguments
ABD |
Actual birth date of the missing person. |
DBD |
Declared birth date of the person of interest. |
PrelimData |
Used when type = 2, is the dataframe with the DBD of the persons of interest in the database. |
alpha |
A vector containing the alpha values for the dirichlet. It should contain the number of categories of differences between DBD and ABD. |
cuts |
Value of differences between DBD and ABD used for category definition. |
draw |
Number of simulations for Dirichlet distribution computation. |
type |
Type of scenario, type 1 is an "open search", where it is unknown if the missing person is in the database. Type 2 refers to a scenario where the missing person is in the database. |
seed |
Seed for simulations. |
Value
A value of Likelihood ratio based on preliminary investigation data. In this case, birth date.
Examples
library(DirichletReg)
LRdate(ABD = "1976-05-31", DBD = "1976-07-15",
PrelimData, alpha = c(1, 4, 60, 11, 6, 4, 4),
cuts = c(-120, -30, 30, 120, 240, 360),
type = 1, seed = 123)