A n length vector of observation weight terms. This is currently designed to be either the exposure for a Poisson model or the number of trials for a Logistic model.
log
Boolean flag. If TRUE returns the log dist.
Value
A function to calculate (log) likelihood for a given set of parameters under a Binomial model.