Dear researchers,

I have a panel dataset for the period from 2012-2020. The dependent variable is categorical variable ranked from 1 to 5. I want to show the mean value for each category in each year. I have used the below code but it shows me the percentage, I need to show the mean:

Code:
by  year , sort: fre IR_w
Can you please advise?

Many thanks in advance.