FindMaximumDValue {CausalR} | R Documentation |
computes the maximum possible D-value for given values q+, q-, q0 and n+, n-, n0.
FindMaximumDValue(predictionListStats, experimentalDataStats, logOfFactorialOfPredictionListStats, returnlog = FALSE)
predictionListStats |
a vector containing the predicted values q+, q- and q0: numbers of positive, negative and non-significant/contradictory predictions |
experimentalDataStats |
A vector containing the observed values n+, n- and n0: numbers of positive, negative and non-significant/contradictory observations |
logOfFactorialOfPredictionListStats |
a vector containing the log of the factorial value for each entry in predictionListStats |
returnlog |
should the result be returned as a log; default FALSE |
the maximum possible D value