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