Description Usage Arguments Value
View source: R/GetApproximateMaximumDValueFromThreeByTwoContingencyTable.r
Computes an approximate maximum D value (or weight) for a superfamily (3x2 table). The result is only approximate as only the first valid D value that is return. This has been done to speed up the overall algorithm.
1 2 | GetApproximateMaximumDValueFromThreeByTwoContingencyTable(threeByTwoContingencyTable,
predictionListStats, logOfFactorialOfPredictionListStats, returnlog = FALSE)
|
threeByTwoContingencyTable |
approximate values of n++, n+-, n-+, n–, n0+ and n0-, these values are calculated to optimise the D-value (see page 6 of Assessing statistical significance of causal graphs) |
predictionListStats |
a vector containing the values q+, q- and q0 (the number of positive/negative/non-significant (or contradictory) predictions) |
logOfFactorialOfPredictionListStats |
a vector containing the log of the factorial value for each entry in predictionListStats |
returnlog |
return the result as a log, default is FALSE |
an approximate maximum D value or weight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.