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
Program Graph: Allowing for Varying Number of VariablesDear Statalisters, I would like to write a program that automatically plots the means of variables …
Multiple imputation using endogenous covariatesHallo, my topic is rather of econometric nature than a pure Stata question: When applying regressio…
Dropping observations of a string variable that contain numbersHi, I want to analyse a very large dataset for which I want to look into the different categories of…
Fixed Effects Regression with Panel Data N>TI am doing a fixed effects regression with 5465 N and 5 T on Stata. I have used the fixed effects re…
Why is Stata calculating percentiles in the way it does, and who has said that this is the way to calculate percentiles?The definition of a percentile I have been taught, is (1) Q(p) = F^(-1)(p) = inf{x: F(x)>=p}, 0&…
Subscribe to:
Post Comments (Atom)
0 Response to Displaying mean values for groups on a line
Post a Comment