An introduction to categorical data analysis