It is up to the user to make sure that (when object
is of class "mleBb"
) object
and x
are
“mutually compatible”, i.e. are appropriately paired up.
Note that this function calculates the hessian of the
negative log likelihood of the distribution in question,
as minimised by optim()
. Hence its inverse
is an estimate of the covariance matrix of the parameter estimates.
(Do not take the negative of this hessian before inverting
it to get the desired covariance matrix!)
This function is mainly present to investigate possible differences
between the numerical approximation to the hessian, which is what
optim()
uses in its maximisation procedure, and the analytic
form of the hessian.