binomial.glmm {glmm} | R Documentation |
Functions for the Binomial family.
Description
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()
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. |
Note
This function is to be used by the glmm
command.
Author(s)
Christina Knudson
See Also
Examples
eta<--3:3
ntrials <- 1
binomial.glmm()$family.glmm
binomial.glmm()$cum(eta, ntrials)
binomial.glmm()$cp(1, ntrials)
binomial.glmm()$cpp(2, ntrials)
[Package glmm version 1.4.4 Index]