View source: R/calibrate.set.R
calibrate.set | R Documentation |
Calculates and returns the calibrated set of ideal' LRs from the observed LRs using the penalised adjacent violators algorithm. This is very much a rewrite of Nico Brummer's
optloglr()' function for Matlab.
calibrate.set(
LR.ss,
LR.ds,
method = c("raw", "laplace"),
ties = c("none", "primary", "secondary", "tertiary")
)
LR.ss |
a vector of likelihood ratios for the comparisons of items known to be from the same source |
LR.ds |
a vector of likelihood ratios for the comparisons of items known to be from different sources |
method |
the method used to perform the calculation, either |
ties |
method to solve ties in the predictors list, either |
This is an internal function, and is not meant to be called directly. However it has been exported just in case.
a list
with two items:
calibrated LRs for the comparison for same set
calibrated LRs for the comparison for different set
David Lucy
Ramos, D. & Gonzalez-Rodriguez, J. (2008) Cross-entropy analysis of the information in forensic speaker recognition; IEEE Odyssey.
de Leeuw, J. & Hornik, K. & Mair, P., (2009), Isotone Optimization in R: Pool-Adjacent-Violators Algorithm (PAVA) and Active Set Methods, https://www.jstatsoft.org/article/view/v032i05
isotone::gpava()
, calc.ece()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.