pub fn calculate_p_value(chi_square: f64, degrees_of_freedom: i32) -> f64
Calculate p-value from chi-square statistic and degrees of freedom This is a simplified approximation - in production, use a proper statistics library