Compute Odds From Probabilities

Share:

Description

Compute odds from probabilities. The function is vectorized and can handle a vector of probabilities.

Usage

1

Arguments

p

vector of probabilities. May not be larger than 1 or smaller than zero.

Examples

1
get_odds(.8) # 4