get_hessian {aghq}R Documentation

Obtain the Hessian from an aghq object

Description

Quick helper method to retrieve the Hessian from an aghq object. Just calls aghq::get_opt_results.

Usage

get_hessian(obj, ...)

Arguments

obj

Object of class aghq returned by aghq::aghq.

...

Not used

Value

A numeric matrix of dimension dim(theta) x dim(theta) containing the negative Hessian of the log-posterior evaluated at the mode.

See Also

Other quadrature: aghq(), get_log_normconst(), get_mode(), get_nodesandweights(), get_numquadpoints(), get_opt_results(), get_param_dim(), laplace_approximation(), marginal_laplace_tmb(), marginal_laplace(), nested_quadrature(), normalize_logpost(), optimize_theta(), plot.aghq(), print.aghqsummary(), print.aghq(), print.laplacesummary(), print.laplace(), print.marginallaplacesummary(), summary.aghq(), summary.laplace(), summary.marginallaplace()


[Package aghq version 0.4.1 Index]