API reference

andrey.core.ci.make_indep_test#

andrey.core.ci.make_indep_test(name, data, *, categorical=None, **options)[source]#

Construct the registered indep_test name over data.

options are keyword settings for the test’s class, such as make_indep_test("cmiknn", data, k_cmi=5); a setting the test lacks raises TypeError. categorical, a boolean mask of the categorical columns, reaches the mixed tests (MIXED_INDEP_TESTS) only; another test given one raises ValueError. Raises NotImplementedError when name is not registered, listing what is available. A PartialCorrelationTest raises CopiedColumnsError, naming every group of copies(), when data holds columns that repeat others up to scale and shift: its tests cannot tell such columns apart.

Return type:

CITest