An internal function only (doesn't do error checking or take care of boundary cases).
The log-likelihood (log-PMF) calculation for the Extended Beta-Binomial proposed by Prentice (1986).
Takes in a vectorized argument because we apply() it in run_BB_GBJ().
Usage
ebb_loglik(x, d)
Value
log( Pr(V=x[1]) ) where V~EBB(mu,gamma; d)
Arguments
x
A vector of length 3 with (1) value of outcome (2) mu parameter (3) gamma parameter