FindApproximateValuesThatWillMaximiseDValue: find approximate values that will maximise D value

Description Usage Arguments Value References

View source: R/FindApproximateValuesThatWillMaximiseDValue.r

Description

Finds an approximate table values to maximise D. Given the values of q+, q-, q0, n+, n- and n0 this function will produce the approximate values of n++, n+-, n-+ and n– that will maximise the D value. See Assessing statistical significance of casual graphs, page 6. The values are approximate since they need to be rounded, although the direction of rounding is not clear at this stage.

Usage

1
2
FindApproximateValuesThatWillMaximiseDValue(predictionListStats,
  experimentalDataStats)

Arguments

predictionListStats

a vector containing the values q+, q- and q0: numbers of positive, negative and non-significant/contradictory predictions

experimentalDataStats

a vector containing the values n+, n- and n0: numbers of positive, negative and non-significant/contradictory predictions

Value

a 2x2 contingency table which approximately maximises D

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.