Calculate the log likelihood of the data given the parameters diagnoses and attendances lhoods are negative binomial p_symp lhood is betabinomial

compare(pars, transform)

Arguments

pars

A named vector of parameters

transform

the transform function to use in the comparison

Value

a single log likelihood