Hello everyone!
I was wodering if any of you could perhaps help me to make a bar graph for five categorical variables. Each of them has 600 observations and the possible values are the following: "correct", "incorrect", "refused to answer".
I need to have vertical bars, one for each variable, that show the percentage of each category.
Any suggestions?
I have tried the following command:
. graph bar (percent), over(f_skill_el_?) stack
But it seems like I am including too many variables
I have also tried using commands such as catplot but I think the maximum number of variables is 3.
I was wodering if any of you could perhaps help me to make a bar graph for five categorical variables. Each of them has 600 observations and the possible values are the following: "correct", "incorrect", "refused to answer".
I need to have vertical bars, one for each variable, that show the percentage of each category.
Any suggestions?
I have tried the following command:
. graph bar (percent), over(f_skill_el_?) stack
But it seems like I am including too many variables
I have also tried using commands such as catplot but I think the maximum number of variables is 3.
Comment