Conditional Independence Tests

Testers

class conditional_independence.ci_tests.ci_tester.CI_Tester[source]
class conditional_independence.ci_tests.ci_tester.MemoizedCI_Tester(ci_test: CI_Test, suffstat: Dict, track_times=False, detailed=False, **kwargs)[source]
class conditional_independence.ci_tests.ci_tester.PlainCI_Tester(ci_test: CI_Test, suffstat: Dict, **kwargs)[source]

Parametric Tests

partial_correlation_suffstat(samples[, invert])

Return the sufficient statistics for partial correlation testing.

partial_correlation_test(suffstat, i, j[, …])

Test the null hypothesis that i and j are conditionally independent given cond_set.

compute_partial_correlation(suffstat, i, j)

Compute the partial correlation between i and j given cond_set.

Non-Parametric Tests

hsic_test(suffstat, i, j[, cond_set, alpha])

Test for (conditional) independence using the Hilbert-Schmidt Information Criterion.

kci_test(suffstat, i, j[, cond_set, width, …])

TODO