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: margins with post option
From 
 
Richard Williams <[email protected]> 
To 
 
[email protected] 
Subject 
 
Re: st: margins with post option 
Date 
 
Tue, 22 Feb 2011 18:13:41 -0500 
At 05:51 PM 2/22/2011, Cohen, Elan wrote:
I'm using -margins, post- as indicated in:
http://www.ats.ucla.edu/stat/stata/seminars/interaction_sem/interaction_sem.htm
However, after the initial -margins, post- command is issued, Stata 
will not let me rerun another -margins, post- giving me the 
following error: "margins cannot work with its own posted results".
My model takes a very long time to run, so I'd like to avoid using 
-eret clear- and rerunning the model.  Is there a way to clear what 
margins posted without erasing the model results?
Thanks,
- Elan
Perhaps you want -estimates store- after the estimation command, and 
then -estimates restore- after the -margins- command? See the help 
for details. In general, just make sure you store any results that 
you want to get back later.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam
*
*   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/