powered by
Given a scalar eta, this calculates the cumulant and two derivatives for the Bernoulli family. Also checks that the data are entered correctly.
eta
bernoulli.glmm()
The family name, as a string.
The link function (canonical link is required), as a string.
The cumulant function.
The first derivative of the cumulant function.
The second derivative of the cumulant function.
A function to check that all data are either 0 or 1.
Christina Knudson
glmm
eta<--3:3 bernoulli.glmm()$family.glmm bernoulli.glmm()$cum(eta) bernoulli.glmm()$cp(1) bernoulli.glmm()$cpp(2)
Run the code above in your browser using DataLab