Chi-Square and g-square test of independence, residual analysis and measures of categorical association
