stanbkt.plot.plot_dist#

stanbkt.plot.plot_dist(fit, params=None, *, ci_prob=None, ci_kind=None, col_wrap=3)#

Plot posterior distributions for selected fit parameters.

Parameters:
  • fit (Any) – CmdStanPy fit object for one KC.

  • params (Sequence[str] | None) – Parameter names to plot. If None, all posterior parameters are plotted.

  • ci_prob (float | None) – Probability mass to display in the credible interval.

  • ci_kind (str | None) – Credible interval type passed to ArviZ, such as "hdi" or "eti".

  • col_wrap (int) – Number of columns before wrapping to a new row.

Returns:

ArviZ plot object for the requested posterior parameters.

Return type:

Any