pub fn benford_chi_squared(observed_counts: &[u32; 9], total: u32) -> f64
Calculate chi-squared statistic for Benford’s Law compliance.