ebb_loglik | R Documentation |
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().
ebb_loglik(x, d)
x |
A vector of length 3 with (1) value of outcome (2) mu parameter (3) gamma parameter |
d |
The number of test stsatistics in the set |
log( Pr(V=x[1]) ) where V~EBB(mu,gamma; d)
ebb_loglik(x=c(1, 0.5, 0.1), d=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.