Summary.quantities#
- Summary.quantities: dict[str, dict[str, ndarray]]#
Dict of summarizing quantities.
Let
summarybe aSummaryinstance. The hierarchy is:q = summary.quantities["quantity_name"]["parameter_name"]
Available quantity names are
"mean","sd","var","quantile","hdi","ess_bulk","ess_tail","rhat","mcse_mean", and"mcse_sd", depending on thewhichargument. Note thatwhichuses"quantiles"to request quantiles, whilequantitiesstores the result under"quantile".The extracted object is an
np.ndarray. Ifper_chain=True, the arrays for the"quantile"and"hdi"quantities have the following dimensions:First index refers to the chain
Second index refers to the quantile/interval
Third and subsequent indices refer to individual parameters.
If
per_chain=True, the arrays for the other quantities have the dimensions:First index refers to the chain
Second and subsequent indices refer to individual parameters.
If
per_chain=False, the first index is removed for all quantities.