checkGH: Check Gradient and Hessian

Description Usage Arguments Details

View source: R/checkGH.R

Description

Check analytic gradient and hessian against their numerical approximation

Usage

1
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 Feb. 14, 2020, 1:07 a.m.