Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Scott Merryman <scott.merryman@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: running marginsplots without rerunning margins again |
Date | Thu, 11 Aug 2011 09:14:29 -0500 |
On Thu, Aug 11, 2011 at 9:16 AM, Richard Williams <richardwilliams.ndu@gmail.com> wrote: > At 08:02 AM 8/11/2011, Doug Hess wrote: >> >> Thanks to Richard and Scott. Scott's suggestion worked >> perfectly...once I figured out that "foo" wasn't a command >> abbreviation. >> >> I'm not familiar with starting a command with the underscore (as in - >> _retrun hold foo - ), what is that underscore doing? >> >> Likewise, I'm not familar with the colon after a command line (as in - >> estimates esample: - ), what does that colon do there? >> >> Thanks again. >> >> -Doug > > That is actually the command's name, _return. Type > > help _return > > I'm not sure why and when Stata chooses to start a command with _, but I > think they tend to be programmer commands that would not normally be used > interactively. As for the colon, type > > help estimates_save > > It has to do with setting e(sample) correctly. > To ensure that the e(sample) is set correctly, if the regression command was -regress bpsystol agegrp##sex if region ==4- then the estimates esample should be: -estimates esample: bpsystol agegrp sex if region ==4- Scott * * 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/