Laplace Approximation
Stan provides a Laplace approximation algorithm which can be used to obtain samples from an approximated posterior. The Laplace approximation works in the unconstrained space, so that if there are constrained parameters, the normal approximation is centered at the mode in the unconstrained space and then the implemented method transforms the normal approximation sample to the constrained space before outputting them.
Given the estimate of the mode
Each draw is generated on the unconstrained scale by sampling
and defining draw
Finally, each
The one-time computation of the Cholesky factor incurs a high constant overhead of