Approximate the posterior distribution using a multivariate normal centred at the MAP estimate with covariance equal to the inverse of the negative Hessian of the log-joint density.
Value
A list with components:
- mean
Named numeric vector of posterior means (constrained).
- mean_unconstrained
Posterior means in unconstrained space.
- covariance
Posterior covariance matrix (unconstrained space).
- sd
Named numeric vector of posterior standard deviations (unconstrained).
- log_evidence
Approximate log marginal likelihood.
- map
The MAP fit used.
