Description Usage Arguments Value
View source: R/GetApproximateMaximumDValueFromTwoByTwoContingencyTable.r
Computes an approximate maximum D value (or weight). The calculation is approximate since only the first valid D value that is round. This has been done to speed up the overall algorithm - to get the exact answer use GetMaximumDValueFromTwoByTwoContingencyTable.
1 2 3 | GetApproximateMaximumDValueFromTwoByTwoContingencyTable(n_pp, n_pm, n_mp, n_mm,
predictionListStats, experimentalDataStats,
logOfFactorialOfPredictionListStats, returnlog = FALSE)
|
n_pp |
the count n++ from the prediction-observation contingency matrix |
n_pm |
the count n+- from the prediction-observation contingency matrix |
n_mp |
the count n-+ from the prediction-observation contingency matrix |
n_mm |
the count n– from the prediction-observation contingency matrix |
predictionListStats |
a vector containing the values q+, q- and q0: the number of positive, negative, non-significant/contradictory predictions |
experimentalDataStats |
a vector containing the values n+, n- and n0: the number of positive, negative, non-significant/contradictory observations |
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 |
the maximum D value or weight
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.