CalibrationResult

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class CalibrationResult(hl_statistic: float, hl_p_value: float, spiegelhalter_z: float, spiegelhalter_p_value: float)[source]

Bases: object

The two calibration test outcomes reported together for a model.

hl_statistic: float

Hosmer-Lemeshow chi-square statistic.

hl_p_value: float

calibration not rejected).

Type:

Hosmer-Lemeshow p-value (high

spiegelhalter_z: float

Spiegelhalter Z statistic.

spiegelhalter_p_value: float

calibration not rejected).

Type:

Spiegelhalter two-sided p-value (high

__init__(hl_statistic: float, hl_p_value: float, spiegelhalter_z: float, spiegelhalter_p_value: float) → None