checkGH {mlt.docreg}R 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.


[Package mlt.docreg version 1.1-8 Index]