cleverly.estimators.dose_response.DoseResponseSupportReport#

class cleverly.estimators.dose_response.DoseResponseSupportReport(pairs: tuple[PairSupport, ...], support_floor: float, quadrature_shift: float, backend: str | None = None)[source]#

The support of every declared pair: the fit’s stored records, restated.

No pair passes or fails: the Kish floor is provisional (roadmap X95), and a pair below it already carries the experimental low_dose_support_plugin interval.

Parameters:
pairstuple of PairSupport

One record per reported estimate, in report order.

support_floorfloat

The declaration’s Kish floor.

quadrature_shiftfloat

The largest change of an estimate, in standard errors, when the quadrature nodes are doubled.

backendstr or None

The dataframe library to_frame() returns by default.

Methods#

DoseResponseSupportReport.to_frame(backend: str | None = None) → Any[source]#

One row per pair: its rows, Kish size, smallest density and largest covariate.

Parameters:
backendstr or None

The dataframe library, or None for the fit’s.

Returns:
DataFrame

Columns name, bandwidth, dose, stratum, rows, kish, min_density, max_covariate and below_floor.

Attributes#

DoseResponseSupportReport.backend: str | None = None#
DoseResponseSupportReport.below_floor#

The number of pairs whose Kish size is below the floor.

DoseResponseSupportReport.min_kish#

The smallest Kish effective size of any pair.

DoseResponseSupportReport.pairs: tuple[PairSupport, ...]#
DoseResponseSupportReport.support_floor: float#
DoseResponseSupportReport.quadrature_shift: float#