Learn R Programming

CausalR (version 1.4.3)

GetMaxDValueForAFamily: get maximun D value for a family

Description

Computes the maximum D value for a particular family - denoted as D_fam on page 6 of Assessing Statistical Signifcance of Causal Graphs

Usage

GetMaxDValueForAFamily(r_p, r_m, c_p, predictionListStats, experimentalDataStats, logOfFactorialOfPredictionListStats, returnlog = FALSE)

Arguments

r_p
row sum r+
r_m
row sum r-
c_p
column sum c+
predictionListStats
approximate values of n++, n+-, n-+ and n--
experimentalDataStats
a vector containing the values q+, q- and q0: number of positive, negative, non-significant/contradictory predictions
logOfFactorialOfPredictionListStats
a vector containing the values n+, n- and n0: number of positive, negative, non-significant/contradictory observations
returnlog
return result as log, default value is FALSE

Value

the maximum DFam Value

References

L Chindelevitch et al. Assessing statistical significance in causal graphs. BMC Bioinformatics, 13(35), 2012.