Other utils#

compute_log_likelihood(idata, *[, ...])

Compute elemwise log_likelihood of model given InferenceData with posterior group

find_constrained_prior(distribution, lower, ...)

Find optimal parameters to get mass % of probability of a distribution between lower and upper.

DictToArrayBijection()

Map between a `dict`s of variables to an array space.

Printing#

str_for_dist(dist[, formatting, include_params])

Make a human-readable string representation of a Distribution in a model, either LaTeX or plain, optionally with distribution parameter values included.

str_for_model(model[, formatting, ...])

Make a human-readable string representation of Model, listing all random variables and their distributions, optionally including parameter values.

str_for_potential_or_deterministic(var[, ...])

Make a human-readable string representation of a Deterministic or Potential in a model, either LaTeX or plain, optionally with distribution parameter values included.