GetWeightForNumbersOfCorrectandIncorrectPredictions: get weight for numbers of correct and incorrect predictions

Description Usage Arguments Value

View source: R/GetWeightForNumbersOfCorrectandIncorrectPredictions.r

Description

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

Usage

1
2
3
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


CausalR documentation built on Nov. 8, 2020, 5:25 p.m.