What type of data should a chi-squared test be applied to?