Find the approximate maximum likelihood estimate, and estimate the variance of the estimate

1 | ```
optimize_glmm(lfun, p_beta, p_theta, prev_fit = NULL, verbose = 1L)
``` |

`lfun` |
the approximated loglikelihood function |

`p_beta` |
the number of covariates |

`p_theta` |
the number of random effects |

`prev_fit` |
a |

`verbose` |
controls how much detail to print out while fitting the model. For verbose = 0, print nothing. For verbose = 1 (the default), print output approximately once a second during model fitting. For verbose = 2, print out the parameter value and log-likelihood at every stage of optimization. |

A list, containing the parameter estimate and variance matrix

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

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