Given a scalar eta and the number of trials, this calculates the cumulant and two derivatives for the Bernoulli family. Also checks that the data are entered correctly.
Usage
binomial.glmm()
Arguments
Value
family.glmm
The family name, as a string.
link
The link function (canonical link is required), as a string.
cum
The cumulant function.
cp
The first derivative of the cumulant function.
cpp
The second derivative of the cumulant function.
checkData
A function to check that all data are nonnegative.