Package 'mlt.docreg'

Title: Most Likely Transformations: Documentation and Regression Tests
Description: Additional documentation, a package vignette and regression tests for package mlt.
Authors: Torsten Hothorn [aut, cre]
Maintainer: Torsten Hothorn <[email protected]>
License: GPL-2
Version: 1.1-9
Built: 2024-11-01 13:29:55 UTC
Source: https://github.com/r-forge/ctm

Help Index


Check Gradient and Hessian

Description

Check analytic gradient and hessian against their numerical approximation

Usage

checkGH(object, tol)

Arguments

object

an object of class mlt as returned by mlt

tol

tolerance, passed to all.equal.

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.