Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
"Martin Weiss" <martin.weiss1@gmx.de> |

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

Subject |
st: AW: RE: RE: RE: AW: Graph Box Question |

Date |
Sun, 8 Aug 2010 19:26:44 +0200 |

<> As Nick says, everything rides on the question whether you want the graphs in one panel, or whether they might be -graph combine-d later - in which case Nick`s suggestion of -if-s and -over-s is back in business... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Reg Jordan Gesendet: Sonntag, 8. August 2010 19:13 An: statalist@hsphsun2.harvard.edu Betreff: st: RE: RE: RE: AW: Graph Box Question I have measurement values at specified locations over the years 2000 - 2009. These measurement values were generated using three different analytical methods. Method 800: 2000 - 2004; Method 802: 2005 - 2007; Method 811: 2000 - 2009. I have been trying to examine the data for different methods during the time periods in which the methods were used. I have tried various combinations of -if-s and -over-s without success. Hence the SOS. To answer your question: brick wall. reg -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox Sent: Sunday, August 08, 2010 12:59 PM To: statalist@hsphsun2.harvard.edu Subject: st: RE: RE: AW: Graph Box Question What roadblock did you meet? Some combination of -if- and -over()- would seem sufficient for either problem. Nick n.j.cox@durham.ac.uk Reg Jordan Thanks so much, Martin. Your suggestion did the trick. Much appreciated. Martin Weiss One idea would be to separate beforehand: ************* sysuse nlswork,clear separate hours, by(inrange(year, 70,72)) gen(firstsepa) separate hours, by(inlist(year, 70,73,76)) gen(secondsepa) label variable firstsepa1 `"Variable for Hours in Years 1970-1972"' label variable secondsepa1`"Variable for Hours in Years 1970, 1973, 1976"' graph box firstsepa1 secondsepa1, legend(rows(2)) ************* Reg Jordan I have data collected during the years 2000 -2009. I want to boxplot one of the data variables, but I've hit a roadblock attempting to plot only that variable for certain years. How would I boxplot data for: (1) years 2000 - 2003, and (2) for years, say, 2000, 2003, and 2007? Thanks for your assistance. * * 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/ * * 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**:**st: RE: AW: RE: RE: RE: AW: Graph Box Question***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**References**:**st: Graph Box Question***From:*"Reg Jordan" <drreg@earthlink.net>

**st: AW: Graph Box Question***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**st: RE: AW: Graph Box Question***From:*"Reg Jordan" <drreg@earthlink.net>

**st: RE: RE: AW: Graph Box Question***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**st: RE: RE: RE: AW: Graph Box Question***From:*"Reg Jordan" <drreg@earthlink.net>

- Prev by Date:
**st: RE: AW: RE: RE: AW: Graph Box Question** - Next by Date:
**st: RE: AW: RE: RE: RE: AW: Graph Box Question** - Previous by thread:
**st: RE: RE: RE: AW: Graph Box Question** - Next by thread:
**st: RE: AW: RE: RE: RE: AW: Graph Box Question** - Index(es):