Describe the bug
The odds ratio formula shown in the docs does not seem to be correct. Additionally, please explain the motivation for using Math.max().
Observed formula
$oddsRatio = (1.0 * a * d) / Math.max(1.0 * b * c, 1)$
Expected formula
Plus (+) 1 instead of times () 1 (<- which does not make a difference).
$`oddsRatio = (1.0 + a d) / Math.max(1.0 + b * c, 1)`$
Describe the bug The odds ratio formula shown in the docs does not seem to be correct. Additionally, please explain the motivation for using Math.max().
Observed formula $
oddsRatio = (1.0 * a * d) / Math.max(1.0 * b * c, 1)
$Expected formula Plus (+) 1 instead of times () 1 (<- which does not make a difference). $`oddsRatio = (1.0 + a d) / Math.max(1.0 + b * c, 1)`$