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:
Can you please advise?
Many thanks in advance.
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.
Comment