pub fn intrinsic_dependence_bytes(data: &[u8], max_order: i64) -> f64Expand description
Primitive 6: Intrinsic Dependence (Redundancy Ratio).
Measures how much structure is intrinsic to the sample, relative to its own marginal entropy baseline.
R = (H_marginal - H_rate) / H_marginal
Clamped to [0,1].
Interpretation:
R → 0: Data is close to i.i.d./max-entropy (little intrinsic structure; highly extrinsically explainable by priors).R → 1: Data is highly predictable from its own past (strong intrinsic dependence; e.g., periodic strings like 010101…).