connect.evidence.evidence.StatisticTestEvidence
- class connect.evidence.evidence.StatisticTestEvidence(statistic_type, test_statistic, significance_threshold, p_value, significant, additional_labels=None, **metadata)
Bases:
connect.evidence.evidence.EvidenceEvidence for Statistical Test:value result type
- Parameters
statistic_type (string) – Short identifier for statistical test.
value (float) – Test calculation result
p_value (float) – p_value associated to the calculation
significance_threshold (float) – p_value threshold to consider test significant, e.g., 0.01
additional_labels (dict, opional) – Extra info to be added to the label section.
metadata (dict, optional) – Arbitrary keyword arguments to append to metric as metadata. These will be displayed in the governance app
- __init__(statistic_type, test_statistic, significance_threshold, p_value, significant, additional_labels=None, **metadata)
Methods
Attributes
base_labelAdds data reflecting additional structure of child classes
Adds evidence type specific label
- struct()
Structure of evidence
- property data
Adds data reflecting additional structure of child classes
- property label
Adds evidence type specific label