Bookmark and Share

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, is already up and running.

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

AW: Re: st: Re: Scatterplot of mean values

From   "Martin Weiss" <>
To   <>
Subject   AW: Re: st: Re: Scatterplot of mean values
Date   Wed, 31 Mar 2010 18:24:56 +0200


You can form groups of "rep78" and "foreign" beforehand via -egen, group()-,
and subsequently operate on the resulting variable instead...


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Fernando Terrés
Gesendet: Mittwoch, 31. März 2010 18:10
Betreff: Re: Re: st: Re: Scatterplot of mean values

Lastly, following any of these approaches, could it be possible to 
represent in the same plot the mean values over several categories?
Let us say:
mean(mpg) mean(weight), by(rep78) || mean(mpg) mean(weight), by(foreign)
Many thanks for your answers

Fernando Terres
Lecturer. PhD candidate
Universitat Politecnica de Catalunya
Diagonal, 647 - 10
08028 Barcelona (Spain)
*   For searches and help try:

*   For searches and help try:

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