culebra.tools.TestOutcome class

class TestOutcome(test: str, data: str, column: str, alpha: float, batches: list, pvalue: np.ndarray)

Create new instance of TestOutcome(test, data, column, alpha, batches, pvalue)

Attributes

TestOutcome.test: str

Name of the test.

TestOutcome.data: str

Key for the dataframe containing the data

TestOutcome.column: str

Column key in the dataframe

TestOutcome.alpha: float

Significance level.

TestOutcome.batches: list

Labels of all the analyzed batches.

TestOutcome.pvalue: ndarray

p-value(s) returned by the test.

Properties

property TestOutcome.success: ndarray

Return a boolean array showing where the null hypothesis is met.

Dunder methods

TestOutcome.__str__() str

Pretty print of the success and p-values returned by a test.

TestOutcome.__repr__() str

Print all the input parameters and outputs returned by a test.