Special models for categorical variables