bernoulli.glmm: Functions for the Bernoulli family.

Description Usage Value Note Author(s) See Also Examples

Description

Given a scalar eta, this calculates the cumulant and two derivatives for the Bernoulli family. Also checks that the data are entered correctly.

Usage

1

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 either 0 or 1.

Note

This function is to be used by the glmm command.

Author(s)

Christina Knudson

See Also

glmm

Examples

1
2
3
4
5
eta<--3:3
bernoulli.glmm()$family.glmm
bernoulli.glmm()$cum(eta)
bernoulli.glmm()$cp(1)
bernoulli.glmm()$cpp(2)


Search within the glmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.