Find the approximate maximum likelihood estimate, and estimate the variance of the estimate
optimize_glmm(lfun, p_beta, p_theta, prev_fit = NULL, verbose = 1L)
the approximated loglikelihood function
the number of covariates
the number of random effects
a glmmFit
object, the result of a previous model fit.
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