bernoulli.glmm | R Documentation |

Given a scalar `eta`

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

bernoulli.glmm()

`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. |

This function is to be used by the `glmm`

command.

Christina Knudson

`glmm`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.