statistics computation

categorical data