## Abstract

Relative risk regression using a log-link binomial generalized linear model (GLM) is an important tool for the analysis of binary outcomes. However, Fisher scoring, which is the standard method for fitting GLMs in statistical software, may have difficulties in converging to the maximum likelihood estimate due to implicit parameter constraints. logbin is an R package that implements several algorithms for fitting relative risk regression models, allowing stable maximum likelihood estimation while ensuring the required parameter constraints are obeyed. We describe the logbin package and examine its stability and speed for different computational algorithms. We also describe how the package may be used to include flexible semi-parametric terms in relative risk regression models.

Original language | English |
---|---|

Pages (from-to) | 1-22 |

Number of pages | 22 |

Journal | Journal of Statistical Software |

Volume | 86 |

Issue number | 9 |

DOIs | |

Publication status | Published - Aug 2018 |

### Bibliographical note

Version archived for private and non-commercial use with the permission of the author/s and according to publisher conditions. For further rights please contact the publisher.## Keywords

- EM algorithm
- Log-binomial model
- R
- Relative risk regression