logistic.calibrate.get.model {comparison}R Documentation

Compute and returns the logistic regression for a dataset

Description

Compute and returns the logistic regression for a dataset

Usage

logistic.calibrate.get.model(LR.ss, LR.ds)

Arguments

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

Value

a list with multiple items:

coefficients

coefficients of the fitted model

prior.odds

prior odds for the input data

Author(s)

Marco De Donno

See Also

logistic.apply.calibration()

Examples

# the list of LRs for the same source proposition
LR.same = c(0.5, 2, 4, 6, 8, 10)
# the list of LRs for the different source proposition
LR.different = c(0.2, 0.4, 0.6, 0.8, 1.1)
# compute the logistic calibration on the data
logistic.calibrate.get.model(LR.same, LR.different) 


[Package comparison version 1.0.8 Index]