GetMaxDValueForAFamily: get maximun D value for a family

Description Usage Arguments Value References

View source: R/GetMaxDValueForAFamily.r

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

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


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