Summary.quantities

Summary.quantities#

Summary.quantities: dict[str, dict[str, ndarray]]#

Dict of summarizing quantities.

Built up in hierarchies as. Let summary be a Summary instance. The hierarchy is:

q = summary.quantities["quantity_name"]["parameter_name"]

The extracted object is an np.ndarray. If per_chain=True, the arrays for the "quantile" and "hdi" quantities have the following dimensions:

  1. First index refers to the chain

  2. Second index refers to the quantile/interval

  3. Third and subsequent indices refer to individual parameters.

If per_chain=True, the arrays for the other quantiles have the dimensions:

  1. First index refers to the chain

  2. Second and subsequent indices refer to individual parameters.

If per_chain=False, the first index is removed for all quantities.