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
Many thanks in advance.
0 Response to how to show mean in each year for categorical data
Post a Comment