cleverly.effect_curves.CurveBand#
- class cleverly.effect_curves.CurveBand(grid: dict[str, ndarray], estimate: NDArray[float64], lower: NDArray[float64], upper: NDArray[float64], critical_value: float, alpha: float, n_replicates: int, kind: str, support: Support | None = None)[source]#
A simultaneous band of the projection curve over a declared finite grid.
- Parameters:
- grid
dictofstrtondarray The modifier values of each grid point.
- estimate
ndarray The curve at each point.
- lower
ndarray The lower end of the band.
- upper
ndarray The upper end of the band.
- critical_value
float The multiplier quantile of the max-t statistic.
- alpha
float The joint level is
1 - alpha.- n_replicates
int Multiplier draws.
- kind
str The multiplier distribution.
- support
SupportorNone,defaultNone The band’s own support (
cleverly._support.band_support()):supportedonly where the coefficients’ row licenses the simultaneous band for this multiplier, the identity scale, the normal reference and at least the row’s draws.Nonefor a band built outside a fit, byProjectionCurve.band().
- grid
Methods#
Attributes#
- CurveBand.estimate: NDArray[float64]#
- CurveBand.lower: NDArray[float64]#
- CurveBand.upper: NDArray[float64]#