posterior_covariance

pmrf.stats.linearization.posterior_covariance(linearizations: Sequence[Linearization], model: PyTree, space: Literal['raw', 'declared', 'physical'] = 'declared', prior_precision: Literal['moment_matched', 'hessian'] = 'moment_matched') → Array

The linearised posterior covariance of a model’s free parameters.

See posterior_covariance_factor() for the factorisation, the choice of prior_precision and its assumptions. The result has shape (p, p) in the linearisations’ theta_names order.