CalculateWeightGivenValuesInThreeByThreeContingencyTable: calculate weight given values in three-by-three contingency table
Description
Given the values in the three by three contingency table and the values of the number of positive/negative/non-significant predictions (q+, q-, q0) this function calculates the D-value (or weight).