getHessian: getHessian

View source: R/getFunctions.R

getHessianR Documentation

getHessian

Description

numerically approximate the Hessian. Hessians of parameters based on "pml" are based on full likelihoods.

Usage

getHessian(coco.object, ncores = parallel::detectCores() - 1, 
eps = .Machine$double.eps^(1/4))

Arguments

coco.object

(S4) a fitted coco object.

ncores

(integer) number of cores used for the computation.

eps

(numeric) ...

Value

(numeric matrix) a symmetric matrix pxp of the approximated (observed) Hessian

Author(s)

Federico Blasi


cocons documentation built on April 4, 2025, 3:21 a.m.