Learn R Programming

mispitools (version 1.2.0)

LRsex: Likelihood ratio for sex variable

Description

Likelihood ratio for sex variable

Usage

LRsex(
  MPs = "F",
  eps = 0.05,
  erRs = eps,
  nsims = 1000,
  Ps = c(0.5, 0.5),
  H = 1,
  LR = FALSE,
  seed = 1234
)

Value

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

Arguments

MPs

MP sex

eps

epsilon paramenter.

erRs

error rate in the database.

nsims

number of simulations performed.

Ps

Sex probabilities in the population.

H

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

LR

compute LR values

seed

For reproducible simulations

Examples

Run this code
LRsex() 

Run the code above in your browser using DataLab