View source: R/belief_trajectory.R
| binary_belief_trajectory | R Documentation |
For the two-hypothesis forensic case, computes the trajectory of
P(H_1) as markers are added sequentially.
binary_belief_trajectory(per_marker_lrs, prior_odds = 1)
per_marker_lrs |
Named numeric vector. Per-marker likelihood ratios
|
prior_odds |
Numeric scalar. Prior odds for |
A data frame with one row per step (including the prior at step 0) and the following columns:
stepInteger, 0 for prior, 1 to K for markers.
markerCharacter, "Prior" or the marker name.
log10_lrPer-step \log_{10} \mathrm{LR}_k.
cum_log10_lrCumulative \log_{10} \mathrm{LR} up to
and including step step.
posterior_h1P(H_1) at step step.
posterior_h2P(H_2) at step step.
Marsico, F. L. & Egeland, T. (in preparation). Belief dynamics during the investigative process.
belief_trajectory for the general multi-hypothesis
case, concentration_index for fragility diagnostics.
lrs <- c(D3S1358 = 5.2, TH01 = 1.8, D21S11 = 12.0, D18S51 = 3.1)
binary_belief_trajectory(lrs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.