Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | David Muller <davidmull@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: margins with post option |
Date | Wed, 23 Feb 2011 10:08:30 +1100 |
Hi Elan, Have you looked into -estimates store- and -estimates restore-? If you store the results from your model you can recall them at any time. Hope this helps. David On Wed, Feb 23, 2011 at 9:51 AM, Cohen, Elan <cohened@upmc.edu> 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 > > > -- > Elan D Cohen, MS > Center for Research on Health Care Data Center > University of Pittsburgh > cohened@upmc.edu > > * > * 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/ > * * 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/