Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Bar graph (percentages stack) with 2 binary variables


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: RE: Bar graph (percentages stack) with 2 binary variables
Date   Thu, 10 Apr 2008 17:43:06 +0100 (BST)

That coding will make your analysis unnecesarily hard, make a variable
men (0 women, 1 man) and a variable germany (0 france, 1 germany)

-- Maarten

--- "J�erg Eulenberger" <[email protected]> wrote:

> Thanks for the Tip, but i can�t plot the Bar that i want.
> I have two variables. Variable 1 is Gender in Germany (1= man,
> 0=woman). Variable 2 is Gender in France (1= man, 0=woman).
> I want an bar graph were the first bar is Germany an the second bar
> is France. The Bar should be stacked up to 100%(sample size) and show
> the allocation of Sample. (red=man (45%), blue=woman(55%)).
> 
> J�rg
> 
> 
> 
> Nick Cox schrieb:
> > -catplot- from SSC can calculate percents and stack. 
> >
> > Nick
> > [email protected] 
> >
> > J�erg Eulenberger
> >
> > I search an plot typ like "profileplot"* *only for stacked Bar
> charts. I have two binary variables with values 0 and 1. I want a
> Graph with two bars(one for each variables) and each  bar with the
> option: percentages stack.  
> >
> > *
> > *   For searches and help try:
> > *   http://www.stata.com/support/faqs/res/findit.html
> > *   http://www.stata.com/support/statalist/faq
> > *   http://www.ats.ucla.edu/stat/stata/
> >
> >
> 
> 
> -- 
> GMX startet ShortView.de. Hier findest Du Leute mit Deinen
> Interessen!
> Jetzt dabei sein: http://www.shortview.de/?mc=sv_ext_mf@gmx
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Yahoo! For Good helps you make a difference  

http://uk.promotions.yahoo.com/forgood/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index