bets.inference function

Likelihood inference