I would like to illustrate the responses of a survey question that allowed for choosing multiple response options. Each response option was covered by the dummy variables x1, x2, ..., xn
graph bar (mean) x1 x2 x3
worked.
But I would like to display the bars in order of descending mean values of the variables.How can I do this?
Related Posts with graph bar: sorting in case of displaying several variables
From SAS to Stata: sampling weight for nonlinear models (menl)?Hello all, I am trying to replicate code from SAS to Stata, and I am also struggling with specifyin…
tostring does not return correct valuesDear Statalisters, I've imported a large .txt file to Stata using import delimited. The file has a …
Isolating highest value of a variable using collapse command I am working with a dataset of national election data from 2020. It includes the total votes receiv…
Dealing with Product wise and Year wise firm dataI am working on a data that consists the following variables - firms, years and the product codes of…
Global macro with adjusted logistic regression with factor variablesI want to use global macro in crude and adjusted logistic regression. webuse bpwide generate bp = (…
Subscribe to:
Post Comments (Atom)
0 Response to graph bar: sorting in case of displaying several variables
Post a Comment