cas how to get table with median mean and mode