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   "J�erg Eulenberger" <[email protected]>
To   [email protected]
Subject   Re: st: RE: Bar graph (percentages stack) with 2 binary variables
Date   Thu, 10 Apr 2008 18:30:29 +0200

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/



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