[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
David Airey <david.airey@vanderbilt.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Graph bar using the over option |

Date |
Wed, 25 Mar 2009 08:17:54 -0500 |

.

On Mar 25, 2009, at 6:58 AM, Kate McAllister wrote:

This is probably a really simple thing, but I've looked for ananswer andI can't find one.I want to create a bar graph displaying several variables over 3differenttime periods. If I type:graph hbar (sum) variable1 variable2 variable3 variable4,over(timeperiod)then I get a graph that displays all the variable values fortimeperiod1clustered together, then all the variable values for timeperiod2,and thenfor timeperiod3.What I actually want is a graph the displays the variable1 valuesover thethree time periods, THEN the variable2 values over the three timeperiods,then the variable3 values... and so on, all on one graph. What am I doing wrong? Many thanks K * * 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/

**Follow-Ups**:**Re: st: Graph bar using the over option***From:*"Kate McAllister" <k.mcallister@ucl.ac.uk>

**References**:**st: Graph bar using the over option***From:*"Kate McAllister" <k.mcallister@ucl.ac.uk>

- Prev by Date:
**st: AW: Bootstrap Estimates Stata V10** - Next by Date:
**st: Expanding observations and duplicating some values** - Previous by thread:
**st: Graph bar using the over option** - Next by thread:
**Re: st: Graph bar using the over option** - Index(es):

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