Learn R Programming

CausalR (version 1.4.3)

GetWeightForNumbersOfCorrectandIncorrectPredictions: get weight for numbers of correct and incorrect predictions

Description

Gets the weight based on the values of n++, n+-, n-+ and n--.

Usage

GetWeightForNumbersOfCorrectandIncorrectPredictions(n_pp, n_pm, n_mp, n_mm, predictionDataStats, experimentalDataStats, logOfFactorialOfPredictionListStats, returnlog = FALSE)

Arguments

n_pp
the contingency table entry n++
n_pm
the contingency table entry n+-
n_mp
the contingency table entry n-+
n_mm
the contingency table entry n--
predictionDataStats
prediction data statistics
experimentalDataStats
experimental data statistics
logOfFactorialOfPredictionListStats
log of factorial of prediction list stats
returnlog
true if the result should be returned as a log

Value

none