Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: marginsplot error, with continuous variable and factor variables


From   vwiggins@stata.com (Vince Wiggins, StataCorp)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: marginsplot error, with continuous variable and factor variables
Date   Mon, 27 Aug 2012 13:55:09 -0500

I can now close the thread on -marginsplot- exiting with the error 

    _marg_save has a problem.  Margins not uniquely identified.
    r(9999);

as reported by Carla Valle-Painter <Carla.Valle-Painter@cic.gc.ca>.

Carla had inadvertently repeated the same specification twice in an
-at()- option, e.g., -... rep78=3 rep78=3 ...-.  -margins- currently
creates a separate (but equal) line in the results table for each
specification.  The lines are not unique, and that caused -marginsplot-
to complain and exit.  The two programs should work together better.
We will change -margins- to not produce duplicate lines. In the
interim, the workaround is to simply not ask for the same thing twice.

 
-- Vince 
   vwiggins@stata.com
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index