FindMaximumDValue: find maximum D value

Description Usage Arguments Value

View source: R/FindMaximumDValue.r

Description

computes the maximum possible D-value for given values q+, q-, q0 and n+, n-, n0.

Usage

1
2
FindMaximumDValue(predictionListStats, experimentalDataStats,
  logOfFactorialOfPredictionListStats, returnlog = FALSE)

Arguments

predictionListStats

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

experimentalDataStats

A vector containing the observed values n+, n- and n0: numbers of positive, negative and non-significant/contradictory observations

logOfFactorialOfPredictionListStats

a vector containing the log of the factorial value for each entry in predictionListStats

returnlog

should the result be returned as a log; default FALSE

Value

the maximum possible D value


CausalR documentation built on Nov. 17, 2017, 9:19 a.m.