checkGH: Check Gradient and Hessian

View source: R/checkGH.R

checkGHR Documentation

Check Gradient and Hessian

Description

Check analytic gradient and hessian against their numerical approximation

Usage

checkGH(object)

Arguments

object

an object of class mlt as returned by mlt

Details

Computes the gradient and hessian analytically and numerically and compares the two. Warnings are suppressed for the numerical approximations as they are not aware of model constraints which might get violated.


mlt.docreg documentation built on Aug. 28, 2023, 5:06 p.m.