> -----Ursprüngliche Nachricht-----
> Von: "Martin Weiss" <[email protected]>
> Gesendet: 11.05.09 23:48:03
> An: <[email protected]>
> Betreff: st: Re: multilevel graph about the distribution of means by country
Thanks, that works.
But, the gaps between the countries are very small, so I tried to enlarge them by -bargap()-.
Unfortunetly it seems that this option doesn't change anything.
I used the command: graph hbar (mean) JS, bargap(100) over(countries) ytitle("Job satisfaction") title("job satisfaction by countries")
> drop _all
> set obs 30
>
> //30 countries
> gen country=_n
> //100 observations per country
> expand 100
>
> //get data whose means interest you
> sort country
> gen x=runiform()*4+rnormal()
>
> //get graph
> graph hbar (mean) x, over(country)
>
> HTH
> Martin
> _______________
> ----- Original Message -----
> From: "Andi Kopf" <[email protected]>
> To: <[email protected]>
> Sent: Monday, May 11, 2009 7:34 PM
> Subject: st: multilevel graph about the distribution of means by country
>
>
> > Hi Everybody,
> > I have got some difficulties with drawing a graph about the distribution
> > of means of
> > a dependent ordinal variable in 30 countries.
> > I would like to have a graph which looks similar to a histogram. The
> > y-axis should be the dependent variable
> > and the x-axis should display the means of this variable for these
> > countries.
> > The graph should show how the means of the variable are distributed across
> > countries.
> >
> > Greetings, Andi
> > *
> > * For searches and help try:
> > * http://www.stata.com/help.cgi?search
> > * http://www.stata.com/support/statalist/faq
> > * http://www.ats.ucla.edu/stat/stata/
> >
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/