View source: R/logistic.calibrate.get.model.R
logistic.calibrate.get.model | R Documentation |
Compute and returns the logistic regression for a dataset
logistic.calibrate.get.model(LR.ss, LR.ds)
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 |
a list
with multiple items:
coefficients of the fitted model
prior odds for the input data
Marco De Donno
logistic.apply.calibration()
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.