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:
Array
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
Related Posts with Displaying mean values for groups on a line
"Command ysca is unrecognized" - from help graph_combineHi, I am currently looking at the graph_combine help file to solve the problem that I have posted h…
How to extract numbers from string with combination of text and number?How do I extract 801011001, 801011002, 801011003, etc from the variable 'parm'. Example dataset is b…
--collect export-- takes a really long timeHi, I like the idea of the new -collect- functions, but in my first application it take >5 minute…
Help choosing Fixed effect vs Random effect for a binary panel data regressionHello everyone, I am working on a binary panel data regression. I did the Hausman test to see if I…
Missing values have been mergedHello, I have an issue with merging that I find rather cryptic. I have several waves of household d…
Subscribe to:
Post Comments (Atom)
0 Response to Displaying mean values for groups on a line
Post a Comment