Marked Independence Test

See [RR25] §5 and §D for details.

class mCIT

Bases: ITestMarkedCI

(Regime-)marked independence test (mCIT).

__init__(cit: ITestCI, homogeneity_test: ITestHomogeneity | None, weak_test: ITestWeakRegime | None = None, homogeneity_first: bool = True, robust_conditional_testing: IProvideHyperparamsForRobustCIT | bool | None = True)

Constructor of mCIT from underlying tests.

Parameters:
marked_independence(data: CIT_DataPatterned) Result

Implements functionality of interface ITestMarkedCI.

Test marked conditional independence on the supplied data.

Parameters:

data (CIT_DataPatterned) – The data associated to the test to perform.

Returns:

The structured mCIT output.

Return type:

ITestMarkedCI.Result