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

From |
"Nick Cox" <n.j.cox@durham.ac.uk> |

To |
<statalist@hsphsun2.harvard.edu> |

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

Date |
Thu, 10 Apr 2008 17:37:32 +0100 |

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 n.j.cox@durham.ac.uk 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/

**References**:**Re: st: RE: Bar graph (percentages stack) with 2 binary variables***From:*"Jöerg Eulenberger" <eulengott@gmx.de>

- Prev by Date:
**Re: st: RE: Bar graph (percentages stack) with 2 binary variables** - Next by Date:
**Re: st: RE: Bar graph (percentages stack) with 2 binary variables** - Previous by thread:
**Re: st: RE: Bar graph (percentages stack) with 2 binary variables** - Next by thread:
**Re: st: RE: Bar graph (percentages stack) with 2 binary variables** - Index(es):

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