[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: graph: cross-plot of means
--- Nick Winter <email@example.com> wrote:
> > -----Original Message-----
> > From: Kurmas Akdogan [mailto:firstname.lastname@example.org]
> > Sent: Tuesday, June 18, 2002 10:40 AM
> > To: email@example.com
> > Subject: st: graph: cross-plot of means
> > Hi everybody,
> > I want to make a cross-plot of 'means' of two variables (say A and B)
> > against a time variable (from 1993 to 2000).
> > Y axis: means of A from 1993 to 2000
> > X axis: means of B from 1993 to 2000
> > I use stata 6.0.
> > Thanks
> I'm not entirely sure what you want here - is it eight points, one for
> each year, of the mean of A against the mean of B? If so, then this
> should do it:
> . collapse A B , by(year)
> . gr A B
> You can trace out the time path of the points by sorting in date order
> and the connecting the dots:
> . sort year
> . graph A B , c(l)
> If that's not what you want, maybe you could clarify?
> --Nick Winter
Thank you Nick, that was what I was searching for... Eight points, one for
each year. Thanks...
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
* For searches and help try: