Hello Statalisters,
I wish to display the means of a continuous variable for different values of a single group variable, so that the subgroups are ordered on the x axis on a descending/ascending order. I already used the command "grmeanby", which resulted in the following graph:

The command was: grmeanby subclass, summarize(dist)
Basically, I want the means to be displayed on the x axis and the y axis to be gone, so that the names for the different values of "subclass" are aligned horizontally over a single line displaying the range for "dist". I would much appreciate it if somebody could help with this.
Also, sorry for not posting my code in the right way, I am not using my own computer at the moment and do not want to install things because of this.
Regards,
Dominik
I wish to display the means of a continuous variable for different values of a single group variable, so that the subgroups are ordered on the x axis on a descending/ascending order. I already used the command "grmeanby", which resulted in the following graph:
The command was: grmeanby subclass, summarize(dist)
Basically, I want the means to be displayed on the x axis and the y axis to be gone, so that the names for the different values of "subclass" are aligned horizontally over a single line displaying the range for "dist". I would much appreciate it if somebody could help with this.
Also, sorry for not posting my code in the right way, I am not using my own computer at the moment and do not want to install things because of this.
Regards,
Dominik
Comment