larch.numba.Model.maximize_loglike

larch.numba.Model.maximize_loglike

Model.maximize_loglike()

Maximize the log likelihood.

Parameters
  • method (str, optional) – The optimization method to use. See scipy.optimize for most possibilities, or use ‘BHHH’. Defaults to SLSQP if there are any constraints or finite parameter bounds, otherwise defaults to BHHH.

  • quiet (bool, default False) – Whether to suppress the dashboard.

  • options (dict, optional) – These options are passed through to the scipy.optimize.minimize function.

  • maxiter (int, optional) – Maximum number of iterations. This argument is just added to options for most methods.

Returns

dictx – A dictionary of results, including final log likelihood, elapsed time, and other statistics. The exact items included in output will vary by estimation method.