posterior: Posterior prosecution probabilities and odds

View source: R/posterior.R

posteriorR Documentation

Posterior prosecution probabilities and odds

Description

This function takes as input a value of the Log-Likelihood Ratio and returns a table that shows the impact on some simulated prior probabilities for the prosecution hypothesis.

Usage

posterior(LLR)

Arguments

LLR

One single numeric value corresponding to a Log-Likelihood Ratio (base 10).

Value

A data frame containing some simulated prior probabilities/odds for the prosecution and the resulting posterior probabilities/odds after the LLR.

Examples

posterior(LLR = 0)
posterior(LLR = 1.8)
posterior(LLR = -0.5)
posterior(LLR = 4)


idiolect documentation built on Sept. 11, 2024, 5:34 p.m.