cat_analysis function

Categorical variable analysis