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
Transfer from Sandbox to General forum once one is happy with the postI'm trying to make effective use of the Sandbox before posting to the General Forum. Now that I'm ha…
Can the log-rank test be used to compare cumulative incidence curves where the temporal order of events is known but not the actual times?I'm using Stata 15 on 64-bit W10 and I used dataex to provide sample data below. I have about one h…
Can I run a xtologit on a 0.5-paced score as dependent variable?Hi everyone, I'm working on panel data with firm ID as panelvar and report_period as timevar. I've…
using lrtest to compare an empty, individual level and two-level xtmixed model after multiple imputationI am using Stata 14/IC - I have successfully conducted a multiple imputation using chained equations…
Collapsing a dataset with categorical variablesHi all, I have a dataset with indiviudal-level data that I would like to collapse into household-le…
Subscribe to:
Post Comments (Atom)
0 Response to Displaying mean values for groups on a line
Post a Comment