Other utils#

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(rv[, formatting, include_params])

Make a human-readable string representation of a RandomVariable 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.