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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: meansdplot with if statement


From   Cathy Antonakos <cathya@umich.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: meansdplot with if statement
Date   Thu, 27 Sep 2012 16:13:59 -0400

Does the -meansdplot- command recognize an if statement? I issued the
following commands and obtained the same graph for all 3 groups. Maybe
there is an alternative way to do this, but the help suggests that if
is operational. Thanks in advance!

. meansdplot var1 var2 if group == 1
. meansdplot var1 var2 if group == 2
. meansdplot var1 var2 if group == 3

Cathy
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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