clvkit.clv.ParameterUncertainty#

class ParameterUncertainty(data, *, model_name, n_replicates, confidence, seed)[source]#

Bases: object

Per-parameter estimate, bootstrap standard error, and percentile interval.

Rich by default like every clvkit result — it draws itself — but to_pandas() is the universal escape hatch. Indexed by parameter name, in the model’s own order, with columns estimate, se, ci_low, ci_high.

Parameters:
to_pandas()[source]#

The four columns, indexed by parameter name.

Return type:

DataFrame

to_json()[source]#

Parameter-keyed JSON, the same shape as to_pandas().

Return type:

str

plot(ax=None, **kwargs)[source]#

Draw each estimate with its bootstrap interval.

Parameters:

ax (Axes | None)

Return type:

Axes