get_odds_ratio {dropR}R Documentation

Compute Odds Ratio

Description

Computes odds ratio given two probabilities. In this package, the function can be used to compare the percentages of remaining participants between two conditions at a time.

Usage

get_odds_ratio(a, b)

Arguments

a

numeric probability value between 0 and 1.

b

numeric probability value between 0 and 1.

Value

Returns numerical vector of the same length as original input reflecting the Odds Ratio (OR).

See Also

get_odds(), as this is the basis for calculation.

Examples

get_odds_ratio(0.7, 0.6)


[Package dropR version 1.0.3 Index]