I don't understand your data structure. It sounds from your description
as if you have data on several people, each of whom has a gender when in France
and a gender when in Germany. That does not sound likely.
Please indicate your data structure with a (small) sample from your data or similar
to your data.
Also, I can not comment on code that you do not show!
Nick
[email protected]
J�erg Eulenberger
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%)).
Nick Cox schrieb:
> -catplot- from SSC can calculate percents and stack.
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/