Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: running marginsplots without rerunning margins again
From
Scott Merryman <[email protected]>
To
[email protected]
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
<[email protected]> 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/