Expand description
The data-bound conditional-independence test contract.
Every test implements CITest, operating on a shared Dataset and
referring to the variables under test (x, y) and the conditioning set
(z) by column index. Configuration lives on the test struct; the data
lives on the Dataset. The provided CITest::test validates the query
via validate_query before delegating to the required
CITest::test_impl. The default CITest::is_independent turns a
numeric CIResult into a boolean using the test’s IndependenceRule.
Re-exports§
pub use crate::dataset::ColumnKind as DataType;
Structs§
- CIResult
- The numeric outcome of a conditional-independence test.
- Test
Meta - Static description of a test: its name, supported data types, whether it is
symmetric in
x/y, and its independence rule.
Enums§
- Independence
Rule - How a p-value is turned into an independence decision at level
alpha.
Traits§
Functions§
- validate_
query - Validate a
(x, y, z)query againstdatabefore running a test.