Learn R Programming

comparison (version 1.0.8)

logistic.calibrate.get.model: 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)

Value

a list with multiple items:

coefficients

coefficients of the fitted model

prior.odds

prior odds for the input data

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

Author

Marco De Donno

See Also

logistic.apply.calibration()

Examples

Run this code
# 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) 

Run the code above in your browser using DataLab