Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: margins with post option

From   Richard Williams <>
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:

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?


- 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:  Richard.A.Williams.5@ND.Edu

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index