Learn R Programming

CausalR (version 1.4.3)

FindMaximumDValue: find maximum D value

Description

computes the maximum possible D-value for given values q+, q-, q0 and n+, n-, n0.

Usage

FindMaximumDValue(predictionListStats, experimentalDataStats, logOfFactorialOfPredictionListStats, returnlog = FALSE)

Arguments

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

Value

the maximum possible D value