Module statistics

Source

Functionsยง

calculate_chi_square
Calculate chi-square statistic
calculate_mad
Calculate Mean Absolute Deviation (MAD)
calculate_p_value
Calculate p-value from chi-square statistic and degrees of freedom This is a simplified approximation - in production, use a proper statistics library