LocScalePTM.plot()

LocScalePTM.plot()#

LocScalePTM.plot(samples, grid=None, ci_quantiles=(0.05, 0.95), hdi_prob=None, show_n_samples=50, seed=1, show=True)[source]#

Produce a set of diagnostic plots (qq, trafo, pdf, cdf).

Parameters:
  • samples (dict[str, Any]) – Posterior samples dict used to build the distributions.

  • grid (Any | None) – Plotting options forwarded to individual plot functions. (default: None)

  • ci_quantiles (tuple[float, float] | None) – Plotting options forwarded to individual plot functions. (default: (0.05, 0.95))

  • hdi_prob (float | None) – Plotting options forwarded to individual plot functions. (default: None)

  • show_n_samples (int | None) – Controls subsampled trajectories overlay. (default: 50)

  • seed (int | Any) – Controls subsampled trajectories overlay. (default: 1)

  • show (bool) – If True, call .show() on each plot before returning. (default: True)

Return type:

tuple[ggplot, ggplot, ggplot, ggplot]

Returns:

tuple – Tuple of ggplot objects in order: (qq, trafo, pdf, cdf).