Closed nehill197 closed 1 year ago
Beta-binomial deviance sometimes negative because saturated log-likelihood is smaller than the model log-likelihood.
dev_beta_binom(x = 1, size = 5, prob = 0.3, theta = 0.5)
perhaps worth seeing whether the other re-parameterization method has the same issues?
alpha = prob * theta and beta = (1 - prob) * theta
that one is used in the brms package
done
Beta-binomial deviance sometimes negative because saturated log-likelihood is smaller than the model log-likelihood.