Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <njcoxstata@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: FW: Why does this simple code only work some of the time? |
Date | Tue, 11 Dec 2012 12:02:36 +0000 |
This may be a side-effect of using an accented character in the variable name. I agree that you would want that to have no effect, but it's the only detail you are giving that sounds in any sense unusual. Try set trace on set tracedepth 1 before running this command and set trace off to tell us where the error occurs. Nick On Tue, Dec 11, 2012 at 11:33 AM, André Gyllenram <a_gyllenram@hotmail.com> wrote: > I have this simple code: > > egen test=total(aktievärde), by (lopnr_personnr datum isin) > > It works for some data sets, but usually I get this message: > > _000001 not found. > > If i write egen test=total(aktievärde) i get the same message. * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/