CalculateWeightGivenValuesInThreeByThreeContingencyTable: calculate weight given values in three-by-three contingency...

Description Usage Arguments Value

View source: R/CalculateWeightGivenValuesInThreeByThreeContingencyTable.r

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).

Usage

1
2
  CalculateWeightGivenValuesInThreeByThreeContingencyTable(threeByThreeContingencyTable,
  logOfFactorialOfPredictionListStats, returnlog = FALSE)

Arguments

threeByThreeContingencyTable

a 3x3 contingency table

logOfFactorialOfPredictionListStats

log of Factorial of prediction statistics

returnlog

should the result be returned as a log value. Default is FALSE.

Value

a D-value (or weight)


CausalR documentation built on May 31, 2017, 11:34 a.m.

Search within the CausalR package
Search all R packages, documentation and source code